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,972 @@
1
+ #--
2
+ #
3
+ #
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
+ # see the file "COPYING".
10
+ #
11
+ #++
12
+
13
+ require 'racc/iset'
14
+ require 'racc/statetransitiontable'
15
+ require 'racc/exception'
16
+ require 'forwardable'
17
+
18
+ module Racc
19
+
20
+ # A table of LALR states.
21
+ class States
22
+
23
+ include Enumerable
24
+
25
+ def initialize(grammar, debug_flags = DebugFlags.new)
26
+ @grammar = grammar
27
+ @symboltable = grammar.symboltable
28
+ @d_state = debug_flags.state
29
+ @d_la = debug_flags.la
30
+ @d_prec = debug_flags.prec
31
+ @states = []
32
+ @statecache = {}
33
+ @actions = ActionTable.new(@grammar, self)
34
+ @nfa_computed = false
35
+ @dfa_computed = false
36
+ end
37
+
38
+ attr_reader :grammar
39
+ attr_reader :actions
40
+
41
+ def size
42
+ @states.size
43
+ end
44
+
45
+ def inspect
46
+ '#<state table>'
47
+ end
48
+
49
+ alias to_s inspect
50
+
51
+ def [](i)
52
+ @states[i]
53
+ end
54
+
55
+ def each_state(&block)
56
+ @states.each(&block)
57
+ end
58
+
59
+ alias each each_state
60
+
61
+ def each_index(&block)
62
+ @states.each_index(&block)
63
+ end
64
+
65
+ extend Forwardable
66
+
67
+ def_delegator "@actions", :shift_n
68
+ def_delegator "@actions", :reduce_n
69
+ def_delegator "@actions", :nt_base
70
+
71
+ def should_report_srconflict?
72
+ srconflict_exist? and
73
+ (n_srconflicts() != @grammar.n_expected_srconflicts)
74
+ end
75
+
76
+ def srconflict_exist?
77
+ n_srconflicts() != 0
78
+ end
79
+
80
+ def n_srconflicts
81
+ @n_srconflicts ||= inject(0) {|sum, st| sum + st.n_srconflicts }
82
+ end
83
+
84
+ def rrconflict_exist?
85
+ n_rrconflicts() != 0
86
+ end
87
+
88
+ def n_rrconflicts
89
+ @n_rrconflicts ||= inject(0) {|sum, st| sum + st.n_rrconflicts }
90
+ end
91
+
92
+ def state_transition_table
93
+ @state_transition_table ||= StateTransitionTable.generate(self.dfa)
94
+ end
95
+
96
+ #
97
+ # NFA (Non-deterministic Finite Automaton) Computation
98
+ #
99
+
100
+ public
101
+
102
+ def nfa
103
+ return self if @nfa_computed
104
+ compute_nfa
105
+ @nfa_computed = true
106
+ self
107
+ end
108
+
109
+ private
110
+
111
+ def compute_nfa
112
+ @grammar.init
113
+ # add state 0
114
+ core_to_state [ @grammar[0].ptrs[0] ]
115
+ # generate LALR states
116
+ cur = 0
117
+ @gotos = []
118
+ while cur < @states.size
119
+ generate_states @states[cur] # state is added here
120
+ cur += 1
121
+ end
122
+ @actions.init
123
+ end
124
+
125
+ def generate_states(state)
126
+ puts "dstate: #{state}" if @d_state
127
+
128
+ table = {}
129
+ state.closure.each do |ptr|
130
+ if sym = ptr.dereference
131
+ addsym table, sym, ptr.next
132
+ end
133
+ end
134
+ table.each do |sym, core|
135
+ puts "dstate: sym=#{sym} ncore=#{core}" if @d_state
136
+
137
+ dest = core_to_state(core.to_a)
138
+ state.goto_table[sym] = dest
139
+ id = sym.nonterminal?() ? @gotos.size : nil
140
+ g = Goto.new(id, sym, state, dest)
141
+ @gotos.push g if sym.nonterminal?
142
+ state.gotos[sym] = g
143
+ puts "dstate: #{state.ident} --#{sym}--> #{dest.ident}" if @d_state
144
+
145
+ # check infinite recursion
146
+ if state.ident == dest.ident and state.closure.size == 1
147
+ raise CompileError,
148
+ sprintf("Infinite recursion: state %d, with rule %d",
149
+ state.ident, state.ptrs[0].rule.ident)
150
+ end
151
+ end
152
+ end
153
+
154
+ def addsym(table, sym, ptr)
155
+ unless s = table[sym]
156
+ table[sym] = s = ISet.new
157
+ end
158
+ s.add ptr
159
+ end
160
+
161
+ def core_to_state(core)
162
+ #
163
+ # convert CORE to a State object.
164
+ # If matching state does not exist, create it and add to the table.
165
+ #
166
+
167
+ k = fingerprint(core)
168
+ unless dest = @statecache[k]
169
+ # not registered yet
170
+ dest = State.new(@states.size, core)
171
+ @states.push dest
172
+
173
+ @statecache[k] = dest
174
+
175
+ puts "core_to_state: create state ID #{dest.ident}" if @d_state
176
+ else
177
+ if @d_state
178
+ puts "core_to_state: dest is cached ID #{dest.ident}"
179
+ puts "core_to_state: dest core #{dest.core.join(' ')}"
180
+ end
181
+ end
182
+
183
+ dest
184
+ end
185
+
186
+ def fingerprint(arr)
187
+ arr.map {|i| i.ident }.pack('L*')
188
+ end
189
+
190
+ #
191
+ # DFA (Deterministic Finite Automaton) Generation
192
+ #
193
+
194
+ public
195
+
196
+ def dfa
197
+ return self if @dfa_computed
198
+ nfa
199
+ compute_dfa
200
+ @dfa_computed = true
201
+ self
202
+ end
203
+
204
+ private
205
+
206
+ def compute_dfa
207
+ la = lookahead()
208
+ @states.each do |state|
209
+ state.la = la
210
+ resolve state
211
+ end
212
+ set_accept
213
+ @states.each do |state|
214
+ pack state
215
+ end
216
+ check_useless
217
+ end
218
+
219
+ def lookahead
220
+ #
221
+ # lookahead algorithm ver.3 -- from bison 1.26
222
+ #
223
+
224
+ gotos = @gotos
225
+ if @d_la
226
+ puts "\n--- goto ---"
227
+ gotos.each_with_index {|g, i| print i, ' '; p g }
228
+ end
229
+
230
+ ### initialize_LA()
231
+ ### set_goto_map()
232
+ la_rules = []
233
+ @states.each do |state|
234
+ state.check_la la_rules
235
+ end
236
+
237
+ ### initialize_F()
238
+ f = create_tmap(gotos.size)
239
+ reads = []
240
+ edge = []
241
+ gotos.each do |goto|
242
+ goto.to_state.goto_table.each do |t, st|
243
+ if t.terminal?
244
+ f[goto.ident] |= (1 << t.ident)
245
+ elsif t.nullable?
246
+ edge.push goto.to_state.gotos[t].ident
247
+ end
248
+ end
249
+ if edge.empty?
250
+ reads.push nil
251
+ else
252
+ reads.push edge
253
+ edge = []
254
+ end
255
+ end
256
+ digraph f, reads
257
+ if @d_la
258
+ puts "\n--- F1 (reads) ---"
259
+ print_tab gotos, reads, f
260
+ end
261
+
262
+ ### build_relations()
263
+ ### compute_FOLLOWS
264
+ path = nil
265
+ edge = []
266
+ lookback = Array.new(la_rules.size, nil)
267
+ includes = []
268
+ gotos.each do |goto|
269
+ goto.symbol.heads.each do |ptr|
270
+ path = record_path(goto.from_state, ptr.rule)
271
+ lastgoto = path.last
272
+ st = lastgoto ? lastgoto.to_state : goto.from_state
273
+ if st.conflict?
274
+ addrel lookback, st.rruleid(ptr.rule), goto
275
+ end
276
+ path.reverse_each do |g|
277
+ break if g.symbol.terminal?
278
+ edge.push g.ident
279
+ break unless g.symbol.nullable?
280
+ end
281
+ end
282
+ if edge.empty?
283
+ includes.push nil
284
+ else
285
+ includes.push edge
286
+ edge = []
287
+ end
288
+ end
289
+ includes = transpose(includes)
290
+ digraph f, includes
291
+ if @d_la
292
+ puts "\n--- F2 (includes) ---"
293
+ print_tab gotos, includes, f
294
+ end
295
+
296
+ ### compute_lookaheads
297
+ la = create_tmap(la_rules.size)
298
+ lookback.each_with_index do |arr, i|
299
+ if arr
300
+ arr.each do |g|
301
+ la[i] |= f[g.ident]
302
+ end
303
+ end
304
+ end
305
+ if @d_la
306
+ puts "\n--- LA (lookback) ---"
307
+ print_tab la_rules, lookback, la
308
+ end
309
+
310
+ la
311
+ end
312
+
313
+ def create_tmap(size)
314
+ Array.new(size, 0) # use Integer as bitmap
315
+ end
316
+
317
+ def addrel(tbl, i, item)
318
+ if a = tbl[i]
319
+ a.push item
320
+ else
321
+ tbl[i] = [item]
322
+ end
323
+ end
324
+
325
+ def record_path(begst, rule)
326
+ st = begst
327
+ path = []
328
+ rule.symbols.each do |t|
329
+ goto = st.gotos[t]
330
+ path.push goto
331
+ st = goto.to_state
332
+ end
333
+ path
334
+ end
335
+
336
+ def transpose(rel)
337
+ new = Array.new(rel.size, nil)
338
+ rel.each_with_index do |arr, idx|
339
+ if arr
340
+ arr.each do |i|
341
+ addrel new, i, idx
342
+ end
343
+ end
344
+ end
345
+ new
346
+ end
347
+
348
+ def digraph(map, relation)
349
+ n = relation.size
350
+ index = Array.new(n, nil)
351
+ vertices = []
352
+ @infinity = n + 2
353
+
354
+ index.each_index do |i|
355
+ if not index[i] and relation[i]
356
+ traverse i, index, vertices, map, relation
357
+ end
358
+ end
359
+ end
360
+
361
+ def traverse(i, index, vertices, map, relation)
362
+ vertices.push i
363
+ index[i] = height = vertices.size
364
+
365
+ if rp = relation[i]
366
+ rp.each do |proci|
367
+ unless index[proci]
368
+ traverse proci, index, vertices, map, relation
369
+ end
370
+ if index[i] > index[proci]
371
+ # circulative recursion !!!
372
+ index[i] = index[proci]
373
+ end
374
+ map[i] |= map[proci]
375
+ end
376
+ end
377
+
378
+ if index[i] == height
379
+ while true
380
+ proci = vertices.pop
381
+ index[proci] = @infinity
382
+ break if i == proci
383
+
384
+ map[proci] |= map[i]
385
+ end
386
+ end
387
+ end
388
+
389
+ # for debug
390
+ def print_atab(idx, tab)
391
+ tab.each_with_index do |i,ii|
392
+ printf '%-20s', idx[ii].inspect
393
+ p i
394
+ end
395
+ end
396
+
397
+ def print_tab(idx, rel, tab)
398
+ tab.each_with_index do |bin,i|
399
+ print i, ' ', idx[i].inspect, ' << '; p rel[i]
400
+ print ' '
401
+ each_t(@symboltable, bin) {|t| print ' ', t }
402
+ puts
403
+ end
404
+ end
405
+
406
+ # for debug
407
+ def print_tab_i(idx, rel, tab, i)
408
+ bin = tab[i]
409
+ print i, ' ', idx[i].inspect, ' << '; p rel[i]
410
+ print ' '
411
+ each_t(@symboltable, bin) {|t| print ' ', t }
412
+ end
413
+
414
+ # for debug
415
+ def printb(i)
416
+ each_t(@symboltable, i) do |t|
417
+ print t, ' '
418
+ end
419
+ puts
420
+ end
421
+
422
+ def each_t(tbl, set)
423
+ 0.upto( set.size ) do |i|
424
+ (0..7).each do |ii|
425
+ if set[idx = i * 8 + ii] == 1
426
+ yield tbl[idx]
427
+ end
428
+ end
429
+ end
430
+ end
431
+
432
+ #
433
+ # resolve
434
+ #
435
+
436
+ def resolve(state)
437
+ if state.conflict?
438
+ resolve_rr state, state.ritems
439
+ resolve_sr state, state.stokens
440
+ else
441
+ if state.rrules.empty?
442
+ # shift
443
+ state.stokens.each do |t|
444
+ state.action[t] = @actions.shift(state.goto_table[t])
445
+ end
446
+ else
447
+ # reduce
448
+ state.defact = @actions.reduce(state.rrules[0])
449
+ end
450
+ end
451
+ end
452
+
453
+ def resolve_rr(state, r)
454
+ r.each do |item|
455
+ item.each_la(@symboltable) do |t|
456
+ act = state.action[t]
457
+ if act
458
+ unless act.kind_of?(Reduce)
459
+ raise "racc: fatal: #{act.class} in action table"
460
+ end
461
+ # Cannot resolve R/R conflict (on t).
462
+ # Reduce with upper rule as default.
463
+ state.rr_conflict act.rule, item.rule, t
464
+ else
465
+ # No conflict.
466
+ state.action[t] = @actions.reduce(item.rule)
467
+ end
468
+ end
469
+ end
470
+ end
471
+
472
+ def resolve_sr(state, s)
473
+ s.each do |stok|
474
+ goto = state.goto_table[stok]
475
+ act = state.action[stok]
476
+
477
+ unless act
478
+ # no conflict
479
+ state.action[stok] = @actions.shift(goto)
480
+ else
481
+ unless act.kind_of?(Reduce)
482
+ puts 'DEBUG -------------------------------'
483
+ p stok
484
+ p act
485
+ state.action.each do |k,v|
486
+ print k.inspect, ' ', v.inspect, "\n"
487
+ end
488
+ raise "racc: fatal: #{act.class} in action table"
489
+ end
490
+
491
+ # conflict on stok
492
+
493
+ rtok = act.rule.precedence
494
+ case do_resolve_sr(stok, rtok)
495
+ when :Reduce
496
+ # action is already set
497
+
498
+ when :Shift
499
+ # overwrite
500
+ act.decref
501
+ state.action[stok] = @actions.shift(goto)
502
+
503
+ when :Error
504
+ act.decref
505
+ state.action[stok] = @actions.error
506
+
507
+ when :CantResolve
508
+ # shift as default
509
+ act.decref
510
+ state.action[stok] = @actions.shift(goto)
511
+ state.sr_conflict stok, act.rule
512
+ end
513
+ end
514
+ end
515
+ end
516
+
517
+ ASSOC = {
518
+ :Left => :Reduce,
519
+ :Right => :Shift,
520
+ :Nonassoc => :Error
521
+ }
522
+
523
+ def do_resolve_sr(stok, rtok)
524
+ puts "resolve_sr: s/r conflict: rtok=#{rtok}, stok=#{stok}" if @d_prec
525
+
526
+ unless rtok and rtok.precedence
527
+ puts "resolve_sr: no prec for #{rtok}(R)" if @d_prec
528
+ return :CantResolve
529
+ end
530
+ rprec = rtok.precedence
531
+
532
+ unless stok and stok.precedence
533
+ puts "resolve_sr: no prec for #{stok}(S)" if @d_prec
534
+ return :CantResolve
535
+ end
536
+ sprec = stok.precedence
537
+
538
+ ret = if rprec == sprec
539
+ ASSOC[rtok.assoc] or
540
+ raise "racc: fatal: #{rtok}.assoc is not Left/Right/Nonassoc"
541
+ else
542
+ (rprec > sprec) ? (:Reduce) : (:Shift)
543
+ end
544
+
545
+ puts "resolve_sr: resolved as #{ret.id2name}" if @d_prec
546
+ ret
547
+ end
548
+
549
+ #
550
+ # complete
551
+ #
552
+
553
+ def set_accept
554
+ anch = @symboltable.anchor
555
+ init_state = @states[0].goto_table[@grammar.start]
556
+ targ_state = init_state.action[anch].goto_state
557
+ acc_state = targ_state.action[anch].goto_state
558
+
559
+ acc_state.action.clear
560
+ acc_state.goto_table.clear
561
+ acc_state.defact = @actions.accept
562
+ end
563
+
564
+ def pack(state)
565
+ ### find most frequently used reduce rule
566
+ act = state.action
567
+ arr = Array.new(@grammar.size, 0)
568
+ act.each do |t, a|
569
+ arr[a.ruleid] += 1 if a.kind_of?(Reduce)
570
+ end
571
+ i = arr.max
572
+ s = (i > 0) ? arr.index(i) : nil
573
+
574
+ ### set & delete default action
575
+ if s
576
+ r = @actions.reduce(s)
577
+ if not state.defact or state.defact == r
578
+ act.delete_if {|t, a| a == r }
579
+ state.defact = r
580
+ end
581
+ else
582
+ state.defact ||= @actions.error
583
+ end
584
+ end
585
+
586
+ def check_useless
587
+ used = []
588
+ @actions.each_reduce do |act|
589
+ if not act or act.refn == 0
590
+ act.rule.useless = true
591
+ else
592
+ t = act.rule.target
593
+ used[t.ident] = t
594
+ end
595
+ end
596
+ @symboltable.nt_base.upto(@symboltable.nt_max - 1) do |n|
597
+ unless used[n]
598
+ @symboltable[n].useless = true
599
+ end
600
+ end
601
+ end
602
+
603
+ end # class StateTable
604
+
605
+
606
+ # A LALR state.
607
+ class State
608
+
609
+ def initialize(ident, core)
610
+ @ident = ident
611
+ @core = core
612
+ @goto_table = {}
613
+ @gotos = {}
614
+ @stokens = nil
615
+ @ritems = nil
616
+ @action = {}
617
+ @defact = nil
618
+ @rrconf = nil
619
+ @srconf = nil
620
+
621
+ @closure = make_closure(@core)
622
+ end
623
+
624
+ attr_reader :ident
625
+ alias stateid ident
626
+ alias hash ident
627
+
628
+ attr_reader :core
629
+ attr_reader :closure
630
+
631
+ attr_reader :goto_table
632
+ attr_reader :gotos
633
+
634
+ attr_reader :stokens
635
+ attr_reader :ritems
636
+ attr_reader :rrules
637
+
638
+ attr_reader :action
639
+ attr_accessor :defact # default action
640
+
641
+ attr_reader :rrconf
642
+ attr_reader :srconf
643
+
644
+ def inspect
645
+ "<state #{@ident}>"
646
+ end
647
+
648
+ alias to_s inspect
649
+
650
+ def ==(oth)
651
+ @ident == oth.ident
652
+ end
653
+
654
+ alias eql? ==
655
+
656
+ def make_closure(core)
657
+ set = ISet.new
658
+ core.each do |ptr|
659
+ set.add ptr
660
+ if t = ptr.dereference and t.nonterminal?
661
+ set.update_a t.expand
662
+ end
663
+ end
664
+ set.to_a
665
+ end
666
+
667
+ def check_la(la_rules)
668
+ @conflict = false
669
+ s = []
670
+ r = []
671
+ @closure.each do |ptr|
672
+ if t = ptr.dereference
673
+ if t.terminal?
674
+ s[t.ident] = t
675
+ if t.ident == 1 # $error
676
+ @conflict = true
677
+ end
678
+ end
679
+ else
680
+ r.push ptr.rule
681
+ end
682
+ end
683
+ unless r.empty?
684
+ if not s.empty? or r.size > 1
685
+ @conflict = true
686
+ end
687
+ end
688
+ s.compact!
689
+ @stokens = s
690
+ @rrules = r
691
+
692
+ if @conflict
693
+ @la_rules_i = la_rules.size
694
+ @la_rules = r.map {|i| i.ident }
695
+ la_rules.concat r
696
+ else
697
+ @la_rules_i = @la_rules = nil
698
+ end
699
+ end
700
+
701
+ def conflict?
702
+ @conflict
703
+ end
704
+
705
+ def rruleid(rule)
706
+ if i = @la_rules.index(rule.ident)
707
+ @la_rules_i + i
708
+ else
709
+ puts '/// rruleid'
710
+ p self
711
+ p rule
712
+ p @rrules
713
+ p @la_rules_i
714
+ raise 'racc: fatal: cannot get reduce rule id'
715
+ end
716
+ end
717
+
718
+ def la=(la)
719
+ return unless @conflict
720
+ i = @la_rules_i
721
+ @ritems = r = []
722
+ @rrules.each do |rule|
723
+ r.push Item.new(rule, la[i])
724
+ i += 1
725
+ end
726
+ end
727
+
728
+ def rr_conflict(high, low, ctok)
729
+ c = RRconflict.new(@ident, high, low, ctok)
730
+
731
+ @rrconf ||= {}
732
+ if a = @rrconf[ctok]
733
+ a.push c
734
+ else
735
+ @rrconf[ctok] = [c]
736
+ end
737
+ end
738
+
739
+ def sr_conflict(shift, reduce)
740
+ c = SRconflict.new(@ident, shift, reduce)
741
+
742
+ @srconf ||= {}
743
+ if a = @srconf[shift]
744
+ a.push c
745
+ else
746
+ @srconf[shift] = [c]
747
+ end
748
+ end
749
+
750
+ def n_srconflicts
751
+ @srconf ? @srconf.size : 0
752
+ end
753
+
754
+ def n_rrconflicts
755
+ @rrconf ? @rrconf.size : 0
756
+ end
757
+
758
+ end # class State
759
+
760
+
761
+ #
762
+ # Represents a transition on the grammar.
763
+ # "Real goto" means a transition by nonterminal,
764
+ # but this class treats also terminal's.
765
+ # If one is a terminal transition, .ident returns nil.
766
+ #
767
+ class Goto
768
+ def initialize(ident, sym, from, to)
769
+ @ident = ident
770
+ @symbol = sym
771
+ @from_state = from
772
+ @to_state = to
773
+ end
774
+
775
+ attr_reader :ident
776
+ attr_reader :symbol
777
+ attr_reader :from_state
778
+ attr_reader :to_state
779
+
780
+ def inspect
781
+ "(#{@from_state.ident}-#{@symbol}->#{@to_state.ident})"
782
+ end
783
+ end
784
+
785
+
786
+ # LALR item. A set of rule and its lookahead tokens.
787
+ class Item
788
+ def initialize(rule, la)
789
+ @rule = rule
790
+ @la = la
791
+ end
792
+
793
+ attr_reader :rule
794
+ attr_reader :la
795
+
796
+ def each_la(tbl)
797
+ la = @la
798
+ 0.upto(la.size - 1) do |i|
799
+ (0..7).each do |ii|
800
+ if la[idx = i * 8 + ii] == 1
801
+ yield tbl[idx]
802
+ end
803
+ end
804
+ end
805
+ end
806
+ end
807
+
808
+
809
+ # The table of LALR actions. Actions are either of
810
+ # Shift, Reduce, Accept and Error.
811
+ class ActionTable
812
+
813
+ def initialize(rt, st)
814
+ @grammar = rt
815
+ @statetable = st
816
+
817
+ @reduce = []
818
+ @shift = []
819
+ @accept = nil
820
+ @error = nil
821
+ end
822
+
823
+ def init
824
+ @grammar.each do |rule|
825
+ @reduce.push Reduce.new(rule)
826
+ end
827
+ @statetable.each do |state|
828
+ @shift.push Shift.new(state)
829
+ end
830
+ @accept = Accept.new
831
+ @error = Error.new
832
+ end
833
+
834
+ def reduce_n
835
+ @reduce.size
836
+ end
837
+
838
+ def reduce(i)
839
+ case i
840
+ when Rule then i = i.ident
841
+ when Integer then ;
842
+ else
843
+ raise "racc: fatal: wrong class #{i.class} for reduce"
844
+ end
845
+
846
+ r = @reduce[i] or raise "racc: fatal: reduce action #{i.inspect} not exist"
847
+ r.incref
848
+ r
849
+ end
850
+
851
+ def each_reduce(&block)
852
+ @reduce.each(&block)
853
+ end
854
+
855
+ def shift_n
856
+ @shift.size
857
+ end
858
+
859
+ def shift(i)
860
+ case i
861
+ when State then i = i.ident
862
+ when Integer then ;
863
+ else
864
+ raise "racc: fatal: wrong class #{i.class} for shift"
865
+ end
866
+
867
+ @shift[i] or raise "racc: fatal: shift action #{i} does not exist"
868
+ end
869
+
870
+ def each_shift(&block)
871
+ @shift.each(&block)
872
+ end
873
+
874
+ attr_reader :accept
875
+ attr_reader :error
876
+
877
+ end
878
+
879
+
880
+ class Shift
881
+ def initialize(goto)
882
+ @goto_state = goto
883
+ end
884
+
885
+ attr_reader :goto_state
886
+
887
+ def goto_id
888
+ @goto_state.ident
889
+ end
890
+
891
+ def inspect
892
+ "<shift #{@goto_state.ident}>"
893
+ end
894
+ end
895
+
896
+
897
+ class Reduce
898
+ def initialize(rule)
899
+ @rule = rule
900
+ @refn = 0
901
+ end
902
+
903
+ attr_reader :rule
904
+ attr_reader :refn
905
+
906
+ def ruleid
907
+ @rule.ident
908
+ end
909
+
910
+ def inspect
911
+ "<reduce #{@rule.ident}>"
912
+ end
913
+
914
+ def incref
915
+ @refn += 1
916
+ end
917
+
918
+ def decref
919
+ @refn -= 1
920
+ raise 'racc: fatal: act.refn < 0' if @refn < 0
921
+ end
922
+ end
923
+
924
+ class Accept
925
+ def inspect
926
+ "<accept>"
927
+ end
928
+ end
929
+
930
+ class Error
931
+ def inspect
932
+ "<error>"
933
+ end
934
+ end
935
+
936
+ class SRconflict
937
+ def initialize(sid, shift, reduce)
938
+ @stateid = sid
939
+ @shift = shift
940
+ @reduce = reduce
941
+ end
942
+
943
+ attr_reader :stateid
944
+ attr_reader :shift
945
+ attr_reader :reduce
946
+
947
+ def to_s
948
+ sprintf('state %d: S/R conflict rule %d reduce and shift %s',
949
+ @stateid, @reduce.ruleid, @shift.to_s)
950
+ end
951
+ end
952
+
953
+ class RRconflict
954
+ def initialize(sid, high, low, tok)
955
+ @stateid = sid
956
+ @high_prec = high
957
+ @low_prec = low
958
+ @token = tok
959
+ end
960
+
961
+ attr_reader :stateid
962
+ attr_reader :high_prec
963
+ attr_reader :low_prec
964
+ attr_reader :token
965
+
966
+ def to_s
967
+ sprintf('state %d: R/R conflict with rule %d and %d on %s',
968
+ @stateid, @high_prec.ident, @low_prec.ident, @token.to_s)
969
+ end
970
+ end
971
+
972
+ end