ory-hydra-client 2.0.2 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (458) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/Gemfile.lock +8 -7
  4. data/README.md +6 -6
  5. data/docs/AcceptOAuth2LoginRequest.md +2 -0
  6. data/docs/OAuth2Api.md +28 -16
  7. data/docs/OAuth2Client.md +5 -1
  8. data/lib/ory-hydra-client/api/jwk_api.rb +1 -1
  9. data/lib/ory-hydra-client/api/metadata_api.rb +1 -1
  10. data/lib/ory-hydra-client/api/o_auth2_api.rb +23 -15
  11. data/lib/ory-hydra-client/api/oidc_api.rb +1 -1
  12. data/lib/ory-hydra-client/api/wellknown_api.rb +1 -1
  13. data/lib/ory-hydra-client/api_client.rb +1 -1
  14. data/lib/ory-hydra-client/api_error.rb +1 -1
  15. data/lib/ory-hydra-client/configuration.rb +1 -1
  16. data/lib/ory-hydra-client/models/accept_o_auth2_consent_request.rb +1 -1
  17. data/lib/ory-hydra-client/models/accept_o_auth2_consent_request_session.rb +1 -1
  18. data/lib/ory-hydra-client/models/accept_o_auth2_login_request.rb +12 -2
  19. data/lib/ory-hydra-client/models/create_json_web_key_set.rb +1 -1
  20. data/lib/ory-hydra-client/models/error_o_auth2.rb +1 -1
  21. data/lib/ory-hydra-client/models/generic_error.rb +1 -1
  22. data/lib/ory-hydra-client/models/get_version200_response.rb +1 -1
  23. data/lib/ory-hydra-client/models/health_not_ready_status.rb +1 -1
  24. data/lib/ory-hydra-client/models/health_status.rb +1 -1
  25. data/lib/ory-hydra-client/models/introspected_o_auth2_token.rb +1 -1
  26. data/lib/ory-hydra-client/models/is_ready200_response.rb +1 -1
  27. data/lib/ory-hydra-client/models/is_ready503_response.rb +1 -1
  28. data/lib/ory-hydra-client/models/json_patch.rb +1 -1
  29. data/lib/ory-hydra-client/models/json_web_key.rb +1 -1
  30. data/lib/ory-hydra-client/models/json_web_key_set.rb +1 -1
  31. data/lib/ory-hydra-client/models/o_auth2_client.rb +25 -3
  32. data/lib/ory-hydra-client/models/o_auth2_client_token_lifespans.rb +1 -1
  33. data/lib/ory-hydra-client/models/o_auth2_consent_request.rb +1 -1
  34. data/lib/ory-hydra-client/models/o_auth2_consent_request_open_id_connect_context.rb +1 -1
  35. data/lib/ory-hydra-client/models/o_auth2_consent_session.rb +1 -1
  36. data/lib/ory-hydra-client/models/o_auth2_consent_session_expires_at.rb +1 -1
  37. data/lib/ory-hydra-client/models/o_auth2_login_request.rb +1 -1
  38. data/lib/ory-hydra-client/models/o_auth2_logout_request.rb +1 -1
  39. data/lib/ory-hydra-client/models/o_auth2_redirect_to.rb +1 -1
  40. data/lib/ory-hydra-client/models/o_auth2_token_exchange.rb +1 -1
  41. data/lib/ory-hydra-client/models/oidc_configuration.rb +1 -1
  42. data/lib/ory-hydra-client/models/oidc_user_info.rb +1 -1
  43. data/lib/ory-hydra-client/models/pagination.rb +1 -1
  44. data/lib/ory-hydra-client/models/pagination_headers.rb +1 -1
  45. data/lib/ory-hydra-client/models/reject_o_auth2_request.rb +1 -1
  46. data/lib/ory-hydra-client/models/token_pagination.rb +1 -1
  47. data/lib/ory-hydra-client/models/token_pagination_headers.rb +1 -1
  48. data/lib/ory-hydra-client/models/token_pagination_request_parameters.rb +1 -1
  49. data/lib/ory-hydra-client/models/token_pagination_response_headers.rb +1 -1
  50. data/lib/ory-hydra-client/models/trust_o_auth2_jwt_grant_issuer.rb +1 -1
  51. data/lib/ory-hydra-client/models/trusted_o_auth2_jwt_grant_issuer.rb +1 -1
  52. data/lib/ory-hydra-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +1 -1
  53. data/lib/ory-hydra-client/models/version.rb +1 -1
  54. data/lib/ory-hydra-client/version.rb +2 -2
  55. data/lib/ory-hydra-client.rb +1 -1
  56. data/ory-hydra-client.gemspec +1 -1
  57. data/spec/api/jwk_api_spec.rb +1 -1
  58. data/spec/api/metadata_api_spec.rb +1 -1
  59. data/spec/api/o_auth2_api_spec.rb +8 -4
  60. data/spec/api/oidc_api_spec.rb +1 -1
  61. data/spec/api/wellknown_api_spec.rb +1 -1
  62. data/spec/api_client_spec.rb +1 -1
  63. data/spec/configuration_spec.rb +1 -1
  64. data/spec/models/accept_o_auth2_consent_request_session_spec.rb +1 -1
  65. data/spec/models/accept_o_auth2_consent_request_spec.rb +1 -1
  66. data/spec/models/accept_o_auth2_login_request_spec.rb +7 -1
  67. data/spec/models/create_json_web_key_set_spec.rb +1 -1
  68. data/spec/models/error_o_auth2_spec.rb +1 -1
  69. data/spec/models/generic_error_spec.rb +1 -1
  70. data/spec/models/get_version200_response_spec.rb +1 -1
  71. data/spec/models/health_not_ready_status_spec.rb +1 -1
  72. data/spec/models/health_status_spec.rb +1 -1
  73. data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
  74. data/spec/models/is_ready200_response_spec.rb +1 -1
  75. data/spec/models/is_ready503_response_spec.rb +1 -1
  76. data/spec/models/json_patch_spec.rb +1 -1
  77. data/spec/models/json_web_key_set_spec.rb +1 -1
  78. data/spec/models/json_web_key_spec.rb +1 -1
  79. data/spec/models/o_auth2_client_spec.rb +13 -1
  80. data/spec/models/o_auth2_client_token_lifespans_spec.rb +1 -1
  81. data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +1 -1
  82. data/spec/models/o_auth2_consent_request_spec.rb +1 -1
  83. data/spec/models/o_auth2_consent_session_expires_at_spec.rb +1 -1
  84. data/spec/models/o_auth2_consent_session_spec.rb +1 -1
  85. data/spec/models/o_auth2_login_request_spec.rb +1 -1
  86. data/spec/models/o_auth2_logout_request_spec.rb +1 -1
  87. data/spec/models/o_auth2_redirect_to_spec.rb +1 -1
  88. data/spec/models/o_auth2_token_exchange_spec.rb +1 -1
  89. data/spec/models/oidc_configuration_spec.rb +1 -1
  90. data/spec/models/oidc_user_info_spec.rb +1 -1
  91. data/spec/models/pagination_headers_spec.rb +1 -1
  92. data/spec/models/pagination_spec.rb +1 -1
  93. data/spec/models/reject_o_auth2_request_spec.rb +1 -1
  94. data/spec/models/token_pagination_headers_spec.rb +1 -1
  95. data/spec/models/token_pagination_request_parameters_spec.rb +1 -1
  96. data/spec/models/token_pagination_response_headers_spec.rb +1 -1
  97. data/spec/models/token_pagination_spec.rb +1 -1
  98. data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +1 -1
  99. data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +1 -1
  100. data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +1 -1
  101. data/spec/models/version_spec.rb +1 -1
  102. data/spec/spec_helper.rb +1 -1
  103. data/vendor/bundle/ruby/2.5.0/cache/parser-3.2.2.0.gem +0 -0
  104. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.1.gem +0 -0
  105. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.2.gem +0 -0
  106. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.5.gem +0 -0
  107. data/vendor/bundle/ruby/2.5.0/cache/ruby-progressbar-1.13.0.gem +0 -0
  108. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.5.gem +0 -0
  109. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  110. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  111. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  112. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/gem_make.out +2 -2
  113. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.2 → stringio-3.0.5}/gem_make.out +6 -6
  114. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.2 → stringio-3.0.5}/mkmf.log +2 -2
  115. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.5/stringio.so +0 -0
  116. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  117. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  118. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  119. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/all.rb +1 -0
  120. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/ast/node.rb +2 -2
  121. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/ast/processor.rb +3 -0
  122. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/builders/default.rb +15 -2
  123. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/current.rb +17 -8
  124. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/lexer-F0.rb +12870 -0
  125. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/lexer-F1.rb +14814 -0
  126. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/lexer-strings.rb +5424 -0
  127. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/macruby.rb +9632 -0
  128. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/messages.rb +2 -0
  129. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/meta.rb +1 -0
  130. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby18.rb +9270 -0
  131. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby19.rb +9556 -0
  132. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby20.rb +10227 -0
  133. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby21.rb +10201 -0
  134. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby22.rb +10300 -0
  135. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby23.rb +10320 -0
  136. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby24.rb +10452 -0
  137. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby25.rb +10372 -0
  138. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby26.rb +10350 -0
  139. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby27.rb +11945 -0
  140. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby30.rb +12241 -0
  141. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby31.rb +12714 -0
  142. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby32.rb +12702 -0
  143. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby33.rb +12702 -0
  144. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/rubymotion.rb +9513 -0
  145. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/runner.rb +5 -0
  146. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/buffer.rb +12 -3
  147. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/range.rb +1 -1
  148. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/static_environment.rb +18 -0
  149. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/version.rb +1 -1
  150. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser.rb +6 -1
  151. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/parser.gemspec +1 -1
  152. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
  153. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/Changelog.md +9 -1
  154. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/README.md +2 -2
  155. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/configuration.rb +2 -2
  156. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/example_status_persister.rb +2 -2
  157. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/exception_presenter.rb +2 -2
  158. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/html_snippet_extractor.rb +2 -2
  159. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/metadata_filter.rb +1 -1
  160. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/version.rb +1 -1
  161. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/Changelog.md +18 -1
  162. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/expectations/failure_aggregator.rb +17 -0
  163. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/expectations/version.rb +1 -1
  164. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/aliased_matcher.rb +3 -3
  165. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/compound.rb +1 -1
  166. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/exist.rb +1 -1
  167. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/composable.rb +1 -1
  168. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/dsl.rb +8 -7
  169. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers.rb +1 -1
  170. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/Changelog.md +51 -1
  171. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/message_chains.rb +1 -1
  172. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/proxy.rb +12 -3
  173. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/argument_list_matcher.rb +3 -1
  174. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/error_generator.rb +14 -4
  175. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/have_received.rb +1 -1
  176. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/receive.rb +3 -2
  177. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/receive_message_chain.rb +1 -1
  178. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/receive_messages.rb +1 -1
  179. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/method_double.rb +19 -1
  180. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/minitest_integration.rb +1 -1
  181. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/mutate_const.rb +1 -1
  182. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/proxy.rb +3 -8
  183. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/targets.rb +1 -1
  184. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/verifying_double.rb +2 -0
  185. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/verifying_proxy.rb +4 -3
  186. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/version.rb +1 -1
  187. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/base.rb +234 -0
  188. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/calculators/length.rb +0 -2
  189. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/percentage.rb +1 -3
  190. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/rate.rb +3 -7
  191. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/time.rb +30 -30
  192. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/format/formatter.rb +1 -1
  193. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/molecule.rb +61 -0
  194. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/format/string.rb +2 -0
  195. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/output.rb +3 -0
  196. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/progress.rb +6 -16
  197. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb +14 -0
  198. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb +71 -0
  199. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb +28 -0
  200. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb +1 -0
  201. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/time.rb +3 -5
  202. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/timer.rb +6 -0
  203. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb +3 -0
  204. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar.rb +12 -0
  205. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/README.md +2 -1
  206. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/ext/stringio/Makefile +2 -2
  207. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/ext/stringio/stringio.c +244 -134
  208. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/ext/stringio/stringio.o +0 -0
  209. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/ext/stringio/stringio.so +0 -0
  210. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/lib/stringio.so +0 -0
  211. data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.1.2.1.gemspec → parser-3.2.2.0.gemspec} +7 -7
  212. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-core-3.12.0.gemspec → rspec-core-3.12.1.gemspec} +5 -5
  213. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-expectations-3.12.0.gemspec → rspec-expectations-3.12.2.gemspec} +5 -5
  214. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.12.0.gemspec → rspec-mocks-3.12.5.gemspec} +8 -8
  215. data/vendor/bundle/ruby/2.5.0/specifications/{ruby-progressbar-1.11.0.gemspec → ruby-progressbar-1.13.0.gemspec} +8 -8
  216. data/vendor/bundle/ruby/2.5.0/specifications/{stringio-3.0.2.gemspec → stringio-3.0.5.gemspec} +3 -3
  217. metadata +313 -312
  218. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.1.gem +0 -0
  219. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.0.gem +0 -0
  220. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.0.gem +0 -0
  221. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.0.gem +0 -0
  222. data/vendor/bundle/ruby/2.5.0/cache/ruby-progressbar-1.11.0.gem +0 -0
  223. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.2.gem +0 -0
  224. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/stringio.so +0 -0
  225. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/lexer.rb +0 -25015
  226. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/macruby.rb +0 -6177
  227. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby18.rb +0 -5708
  228. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby19.rb +0 -6126
  229. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby20.rb +0 -6563
  230. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby21.rb +0 -6611
  231. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby22.rb +0 -6655
  232. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby23.rb +0 -6669
  233. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby24.rb +0 -6736
  234. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby25.rb +0 -6694
  235. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby26.rb +0 -6721
  236. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby27.rb +0 -7914
  237. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby28.rb +0 -8047
  238. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby30.rb +0 -8096
  239. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby31.rb +0 -8358
  240. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby32.rb +0 -8338
  241. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/rubymotion.rb +0 -6125
  242. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/base.rb +0 -183
  243. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/calculators/running_average.rb +0 -9
  244. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components.rb +0 -5
  245. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/molecule.rb +0 -60
  246. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format.rb +0 -3
  247. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/refinements/enumerator.rb +0 -23
  248. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/refinements.rb +0 -1
  249. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/version.rb +0 -3
  250. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar.rb +0 -22
  251. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/stringio.o +0 -0
  252. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/stringio.so +0 -0
  253. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/lib/stringio.so +0 -0
  254. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/{stringio-3.0.2 → stringio-3.0.5}/gem.build_complete +0 -0
  255. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/LICENSE.txt +0 -0
  256. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/bin/ruby-parse +0 -0
  257. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/bin/ruby-rewrite +0 -0
  258. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/gauntlet_parser.rb +0 -0
  259. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/base.rb +0 -0
  260. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/clobbering_error.rb +0 -0
  261. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/color.rb +0 -0
  262. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/context.rb +0 -0
  263. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/current_arg_stack.rb +0 -0
  264. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/deprecation.rb +0 -0
  265. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/diagnostic/engine.rb +0 -0
  266. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/diagnostic.rb +0 -0
  267. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/lexer/dedenter.rb +0 -0
  268. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/lexer/explanation.rb +0 -0
  269. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/lexer/literal.rb +0 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/lexer/stack_state.rb +0 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/max_numparam_stack.rb +0 -0
  272. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/rewriter.rb +0 -0
  273. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/runner/ruby_parse.rb +0 -0
  274. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
  275. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/comment/associator.rb +0 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/comment.rb +0 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/collection.rb +0 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/condition.rb +0 -0
  279. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/constant.rb +0 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/definition.rb +0 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/for.rb +0 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/heredoc.rb +0 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/index.rb +0 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/keyword.rb +0 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/method_definition.rb +0 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
  287. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/operator.rb +0 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/rescue_body.rb +0 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/send.rb +0 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/ternary.rb +0 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map/variable.rb +0 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/map.rb +0 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/rewriter/action.rb +0 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/rewriter.rb +0 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
  296. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/source/tree_rewriter.rb +0 -0
  297. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/syntax_error.rb +0 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/tree_rewriter.rb +0 -0
  299. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/variables_stack.rb +0 -0
  300. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/.document +0 -0
  301. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/.yardopts +0 -0
  302. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/LICENSE.md +0 -0
  303. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/exe/rspec +0 -0
  304. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/autorun.rb +0 -0
  305. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/backtrace_formatter.rb +0 -0
  306. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/coordinator.rb +0 -0
  307. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/example_minimizer.rb +0 -0
  308. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/fork_runner.rb +0 -0
  309. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/server.rb +0 -0
  310. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/shell_command.rb +0 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/shell_runner.rb +0 -0
  312. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/bisect/utilities.rb +0 -0
  313. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/configuration_options.rb +0 -0
  314. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/did_you_mean.rb +0 -0
  315. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/drb.rb +0 -0
  316. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/dsl.rb +0 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/example.rb +0 -0
  318. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/example_group.rb +0 -0
  319. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/filter_manager.rb +0 -0
  320. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/flat_map.rb +0 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/base_bisect_formatter.rb +0 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/base_formatter.rb +0 -0
  323. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/base_text_formatter.rb +0 -0
  324. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/bisect_drb_formatter.rb +0 -0
  325. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/bisect_progress_formatter.rb +0 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/console_codes.rb +0 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/deprecation_formatter.rb +0 -0
  328. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/documentation_formatter.rb +0 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/failure_list_formatter.rb +0 -0
  330. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/fallback_message_formatter.rb +0 -0
  331. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/helpers.rb +0 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/html_formatter.rb +0 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/html_printer.rb +0 -0
  334. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/json_formatter.rb +0 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/profile_formatter.rb +0 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/progress_formatter.rb +0 -0
  337. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/protocol.rb +0 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/snippet_extractor.rb +0 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters/syntax_highlighter.rb +0 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/formatters.rb +0 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/hooks.rb +0 -0
  342. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/invocations.rb +0 -0
  343. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/memoized_helpers.rb +0 -0
  344. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/metadata.rb +0 -0
  345. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/minitest_assertions_adapter.rb +0 -0
  346. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/mocking_adapters/flexmock.rb +0 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/mocking_adapters/mocha.rb +0 -0
  348. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/mocking_adapters/null.rb +0 -0
  349. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/mocking_adapters/rr.rb +0 -0
  350. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/mocking_adapters/rspec.rb +0 -0
  351. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/notifications.rb +0 -0
  352. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/option_parser.rb +0 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/ordering.rb +0 -0
  354. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/output_wrapper.rb +0 -0
  355. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/pending.rb +0 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/profiler.rb +0 -0
  357. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/project_initializer/.rspec +0 -0
  358. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/project_initializer/spec/spec_helper.rb +0 -0
  359. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/project_initializer.rb +0 -0
  360. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/rake_task.rb +0 -0
  361. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/reporter.rb +0 -0
  362. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/ruby_project.rb +0 -0
  363. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/runner.rb +0 -0
  364. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/sandbox.rb +0 -0
  365. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/set.rb +0 -0
  366. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/shared_context.rb +0 -0
  367. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/shared_example_group.rb +0 -0
  368. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/shell_escape.rb +0 -0
  369. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/test_unit_assertions_adapter.rb +0 -0
  370. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/warnings.rb +0 -0
  371. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core/world.rb +0 -0
  372. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core.rb +0 -0
  373. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/.document +0 -0
  374. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/.yardopts +0 -0
  375. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/LICENSE.md +0 -0
  376. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/README.md +0 -0
  377. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/expectations/block_snippet_extractor.rb +0 -0
  378. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/expectations/configuration.rb +0 -0
  379. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/expectations/expectation_target.rb +0 -0
  380. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/expectations/fail_with.rb +0 -0
  381. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/expectations/handler.rb +0 -0
  382. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/expectations/minitest_integration.rb +0 -0
  383. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/expectations/syntax.rb +0 -0
  384. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/expectations.rb +0 -0
  385. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/all.rb +0 -0
  386. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/base_matcher.rb +0 -0
  387. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/be.rb +0 -0
  388. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/be_between.rb +0 -0
  389. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/be_instance_of.rb +0 -0
  390. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/be_kind_of.rb +0 -0
  391. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/be_within.rb +0 -0
  392. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/change.rb +0 -0
  393. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/contain_exactly.rb +0 -0
  394. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/count_expectation.rb +0 -0
  395. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/cover.rb +0 -0
  396. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/eq.rb +0 -0
  397. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/eql.rb +0 -0
  398. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/equal.rb +0 -0
  399. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/has.rb +0 -0
  400. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/have_attributes.rb +0 -0
  401. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/include.rb +0 -0
  402. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/match.rb +0 -0
  403. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/operators.rb +0 -0
  404. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/output.rb +0 -0
  405. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/raise_error.rb +0 -0
  406. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/respond_to.rb +0 -0
  407. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/satisfy.rb +0 -0
  408. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/start_or_end_with.rb +0 -0
  409. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/throw_symbol.rb +0 -0
  410. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in/yield.rb +0 -0
  411. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/built_in.rb +0 -0
  412. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/english_phrasing.rb +0 -0
  413. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +0 -0
  414. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/fail_matchers.rb +0 -0
  415. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/generated_descriptions.rb +0 -0
  416. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/matcher_delegator.rb +0 -0
  417. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers/matcher_protocol.rb +0 -0
  418. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/.document +0 -0
  419. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/.yardopts +0 -0
  420. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/LICENSE.md +0 -0
  421. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/README.md +0 -0
  422. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/chain.rb +0 -0
  423. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/error_generator.rb +0 -0
  424. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/expect_chain_chain.rb +0 -0
  425. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/expectation_chain.rb +0 -0
  426. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/recorder.rb +0 -0
  427. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/stub_chain.rb +0 -0
  428. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance/stub_chain_chain.rb +0 -0
  429. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/any_instance.rb +0 -0
  430. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/argument_matchers.rb +0 -0
  431. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/configuration.rb +0 -0
  432. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/example_methods.rb +0 -0
  433. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/instance_method_stasher.rb +0 -0
  434. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/marshal_extension.rb +0 -0
  435. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/matchers/expectation_customization.rb +0 -0
  436. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/message_chain.rb +0 -0
  437. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/message_expectation.rb +0 -0
  438. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/method_reference.rb +0 -0
  439. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/object_reference.rb +0 -0
  440. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/order_group.rb +0 -0
  441. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/space.rb +1 -1
  442. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/standalone.rb +0 -0
  443. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/syntax.rb +0 -0
  444. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/test_double.rb +0 -0
  445. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks/verifying_message_expectation.rb +0 -0
  446. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks.rb +0 -0
  447. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/LICENSE.txt +0 -0
  448. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/README.md +0 -0
  449. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/Rakefile +0 -0
  450. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/bar.rb +22 -22
  451. /data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/components/title.rb +0 -0
  452. /data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/errors/invalid_progress_error.rb +0 -0
  453. /data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/outputs/non_tty.rb +0 -0
  454. /data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/outputs/null.rb +0 -0
  455. /data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/outputs/tty.rb +0 -0
  456. /data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/lib/ruby-progressbar/throttle.rb +0 -0
  457. /data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/ext/stringio/.sitearchdir.time +0 -0
  458. /data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/ext/stringio/extconf.rb +0 -0
@@ -128,6 +128,11 @@ module Parser
128
128
  @parser_class = Parser::Ruby32
129
129
  end
130
130
 
131
+ opts.on '--33', 'Parse as Ruby 3.3 would' do
132
+ require 'parser/ruby33'
133
+ @parser_class = Parser::Ruby33
134
+ end
135
+
131
136
  opts.on '--mac', 'Parse as MacRuby 0.12 would' do
132
137
  require 'parser/macruby'
133
138
  @parser_class = Parser::MacRuby
@@ -191,11 +191,20 @@ module Parser
191
191
  end
192
192
  end
193
193
 
194
- def slice(range)
194
+ def slice(start, length = nil)
195
+ if length.nil?
196
+ if start.is_a?(::Range)
197
+ length = start.size
198
+ start = start.begin
199
+ else
200
+ length = 1
201
+ end
202
+ end
203
+
195
204
  if @slice_source.nil?
196
- @source[range]
205
+ @source[start, length]
197
206
  else
198
- @slice_source[range].encode(@source.encoding)
207
+ @slice_source[start, length].encode(@source.encoding)
199
208
  end
200
209
  end
201
210
 
@@ -130,7 +130,7 @@ module Parser
130
130
  # @return [String] all source code covered by this range.
131
131
  #
132
132
  def source
133
- @source_buffer.slice(self.begin_pos...self.end_pos)
133
+ @source_buffer.slice(@begin_pos, @end_pos - @begin_pos)
134
134
  end
135
135
 
136
136
  ##
@@ -5,6 +5,8 @@ module Parser
5
5
  class StaticEnvironment
6
6
  FORWARD_ARGS = :FORWARD_ARGS
7
7
  ANONYMOUS_BLOCKARG = :ANONYMOUS_BLOCKARG
8
+ ANONYMOUS_RESTARG = :ANONYMOUS_RESTARG
9
+ ANONYMOUS_KWRESTARG = :ANONYMOUS_KWRESTARG
8
10
 
9
11
  def initialize
10
12
  reset
@@ -61,6 +63,22 @@ module Parser
61
63
  declared?(ANONYMOUS_BLOCKARG)
62
64
  end
63
65
 
66
+ def declare_anonymous_restarg
67
+ declare(ANONYMOUS_RESTARG)
68
+ end
69
+
70
+ def declared_anonymous_restarg?
71
+ declared?(ANONYMOUS_RESTARG)
72
+ end
73
+
74
+ def declare_anonymous_kwrestarg
75
+ declare(ANONYMOUS_KWRESTARG)
76
+ end
77
+
78
+ def declared_anonymous_kwrestarg?
79
+ declared?(ANONYMOUS_KWRESTARG)
80
+ end
81
+
64
82
  def empty?
65
83
  @stack.empty?
66
84
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Parser
4
- VERSION = '3.1.2.1'
4
+ VERSION = '3.2.2.0'
5
5
  end
@@ -64,7 +64,12 @@ module Parser
64
64
 
65
65
  require 'parser/static_environment'
66
66
 
67
- require 'parser/lexer'
67
+ if RUBY_ENGINE == 'truffleruby'
68
+ require 'parser/lexer-F0'
69
+ else
70
+ require 'parser/lexer-F1'
71
+ end
72
+ require 'parser/lexer-strings'
68
73
  require 'parser/lexer/literal'
69
74
  require 'parser/lexer/stack_state'
70
75
  require 'parser/lexer/dedenter'
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  spec.add_development_dependency 'bundler', '>= 1.15', '< 3.0.0'
32
32
  spec.add_development_dependency 'rake', '~> 13.0.1'
33
- spec.add_development_dependency 'racc', '= 1.4.15'
33
+ spec.add_development_dependency 'racc', '= 1.6.2'
34
34
  spec.add_development_dependency 'cliver', '~> 0.3.2'
35
35
 
36
36
  spec.add_development_dependency 'yard'
@@ -31,8 +31,8 @@ rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
31
31
  vendorarchdir = $(rubysitearchprefix)/vendor_ruby/$(ruby_version)
32
32
  vendorlibdir = $(vendordir)/$(ruby_version)
33
33
  vendordir = $(rubylibprefix)/vendor_ruby
34
- sitearchdir = $(DESTDIR)./.gem.20221110-4556-owszyu
35
- sitelibdir = $(DESTDIR)./.gem.20221110-4556-owszyu
34
+ sitearchdir = $(DESTDIR)./.gem.20230407-4479-8hibfh
35
+ sitelibdir = $(DESTDIR)./.gem.20230407-4479-8hibfh
36
36
  sitedir = $(DESTDIR)/usr/local/lib/site_ruby
37
37
  rubyarchdir = $(rubyarchprefix)/$(ruby_version)
38
38
  rubylibdir = $(rubylibprefix)/$(ruby_version)
@@ -1,5 +1,13 @@
1
1
  ### Development
2
- [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.0...3-12-maintenance)
2
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.1...3-12-maintenance)
3
+
4
+ ### 3.12.1 / 2023-02-03
5
+ [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.12.0...v3.12.1)
6
+
7
+ Bug fixes:
8
+
9
+ * Prevent multiple calls to `extra_failure_lines` from adding additional whitespace
10
+ around them when the lines already contain whitespace. (Jon Rowe, #3006)
3
11
 
4
12
  ### 3.12.0 / 2022-10-26
5
13
  [Full Changelog](http://github.com/rspec/rspec-core/compare/v3.11.0...v3.12.0)
@@ -322,14 +322,14 @@ Failures:
322
322
  got: nil
323
323
 
324
324
  (compared using ==)
325
- # ./spec/calcalator_spec.rb:6:in `block (3 levels) in <top (required)>'
325
+ # ./spec/calculator_spec.rb:6:in `block (3 levels) in <top (required)>'
326
326
 
327
327
  Finished in 0.00131 seconds (files took 0.10968 seconds to load)
328
328
  1 example, 1 failure
329
329
 
330
330
  Failed examples:
331
331
 
332
- rspec ./spec/calcalator_spec.rb:5 # Calculator#add returns the sum of its arguments
332
+ rspec ./spec/calculator_spec.rb:5 # Calculator#add returns the sum of its arguments
333
333
  ```
334
334
 
335
335
  Implement the simplest solution, by changing the definition of `Calculator#add` to:
@@ -678,7 +678,7 @@ module RSpec
678
678
  end
679
679
 
680
680
  # Set regular expressions used to exclude lines in backtrace.
681
- # @param patterns [Array<Regexp>] set backtrace_formatter exlusion_patterns
681
+ # @param patterns [Array<Regexp>] set backtrace_formatter exclusion_patterns
682
682
  def backtrace_exclusion_patterns=(patterns)
683
683
  @backtrace_formatter.exclusion_patterns = patterns
684
684
  end
@@ -1820,7 +1820,7 @@ module RSpec
1820
1820
  # by not setting `mock_with` or `expect_with` to anything else).
1821
1821
  #
1822
1822
  # @note If the user uses this options with `mock_with :mocha`
1823
- # (or similiar) they will still have monkey patching active
1823
+ # (or similar) they will still have monkey patching active
1824
1824
  # in their test environment from mocha.
1825
1825
  #
1826
1826
  # @example
@@ -63,7 +63,7 @@ module RSpec
63
63
  # were loaded but not executed (due to filtering, `--fail-fast`
64
64
  # or whatever) should have a `:status` of `UNKNOWN_STATUS`.
65
65
  #
66
- # This willl produce a new list that:
66
+ # This will produce a new list that:
67
67
  # - Will be missing examples from previous runs that we know for sure
68
68
  # no longer exist.
69
69
  # - Will have the latest known status for any examples that either
@@ -164,7 +164,7 @@ module RSpec
164
164
  end
165
165
 
166
166
  def formatted_value_rows
167
- @foramtted_value_rows ||= rows.map do |row|
167
+ @formatted_value_rows ||= rows.map do |row|
168
168
  formatted_row_from(row)
169
169
  end
170
170
  end
@@ -197,8 +197,8 @@ module RSpec
197
197
  @extra_failure_lines ||= begin
198
198
  lines = Array(example.metadata[:extra_failure_lines])
199
199
  unless lines.empty?
200
- lines.unshift('')
201
- lines.push('')
200
+ lines.unshift('') unless lines.first == ''
201
+ lines.push('') unless lines.last == ''
202
202
  end
203
203
  lines
204
204
  end
@@ -43,7 +43,7 @@ module RSpec
43
43
  #
44
44
  # @param backtrace [String] the backtrace from a test failure
45
45
  # @return [String] highlighted code snippet indicating where the test
46
- # failure occured
46
+ # failure occurred
47
47
  #
48
48
  # @see #post_process
49
49
  def snippet(backtrace)
@@ -103,7 +103,7 @@ module RSpec
103
103
  #
104
104
  # @param highlighted [String] syntax-highlighted snippet surrounding the
105
105
  # offending line of code
106
- # @param offending_line [Fixnum] line where failure occured
106
+ # @param offending_line [Fixnum] line where failure occurred
107
107
  # @return [String] completed snippet
108
108
  def post_process(highlighted, offending_line)
109
109
  new_lines = []
@@ -92,7 +92,7 @@ module RSpec
92
92
  #
93
93
  # This is ideal for use by a example or example group, which may
94
94
  # be updated multiple times with globally configured hooks, etc,
95
- # but will not be queried frequently by other examples or examle
95
+ # but will not be queried frequently by other examples or example
96
96
  # groups.
97
97
  # @private
98
98
  class UpdateOptimized
@@ -3,7 +3,7 @@ module RSpec
3
3
  # Version information for RSpec Core.
4
4
  module Version
5
5
  # Current version of RSpec Core, in semantic versioning format.
6
- STRING = '3.12.0'
6
+ STRING = '3.12.1'
7
7
  end
8
8
  end
9
9
  end
@@ -1,5 +1,22 @@
1
1
  ### Development
2
- [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.0...3-12-maintenance)
2
+ [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.1...3-12-maintenance)
3
+
4
+ ### 3.12.2 / 2023-01-07
5
+ [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.1...v3.12.2)
6
+
7
+ Bug Fixes:
8
+
9
+ * Prevent deprecation warning when using the `exist` matcher with `Dir`.
10
+ (Steve Dierker, #1398)
11
+
12
+ ### 3.12.1 / 2022-12-16
13
+ [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.12.0...v3.12.1)
14
+
15
+ Bug Fixes:
16
+
17
+ * Pass keyword arguments through to aliased (and thus negated) matchers. (Jon Rowe, #1394)
18
+ * When handling failures in an aggregated_failures block (or example) prevent
19
+ the failure list leaking out. (Maciek Rząsa, #1392)
3
20
 
4
21
  ### 3.12.0 / 2022-10-26
5
22
  [Full Changelog](http://github.com/rspec/rspec-expectations/compare/v3.11.1...v3.12.0)
@@ -4,6 +4,21 @@ module RSpec
4
4
  class FailureAggregator
5
5
  attr_reader :block_label, :metadata
6
6
 
7
+ # @private
8
+ class AggregatedFailure
9
+ # @private
10
+ MESSAGE =
11
+ 'AggregatedFailure: This method caused a failure which has been ' \
12
+ 'suppressed to be aggregated into our failure report by returning ' \
13
+ 'this value, further errors can be ignored.'
14
+
15
+ def inspect
16
+ MESSAGE
17
+ end
18
+ end
19
+
20
+ AGGREGATED_FAILURE = AggregatedFailure.new
21
+
7
22
  def aggregate
8
23
  RSpec::Support.with_failure_notifier(self) do
9
24
  begin
@@ -48,6 +63,8 @@ module RSpec
48
63
  @seen_source_ids[source_id] = true
49
64
  assign_backtrace(failure) unless failure.backtrace
50
65
  failures << failure
66
+
67
+ AGGREGATED_FAILURE
51
68
  end
52
69
 
53
70
  private
@@ -2,7 +2,7 @@ module RSpec
2
2
  module Expectations
3
3
  # @private
4
4
  module Version
5
- STRING = '3.12.0'
5
+ STRING = '3.12.2'
6
6
  end
7
7
  end
8
8
  end
@@ -99,14 +99,14 @@ module RSpec
99
99
  # by going through the effort of defining a negated matcher.
100
100
  #
101
101
  # However, if the override didn't actually change anything, then we
102
- # should return the opposite failure message instead -- the overriden
102
+ # should return the opposite failure message instead -- the overridden
103
103
  # message is going to be confusing if we return it as-is, as it represents
104
104
  # the non-negated failure message for a negated match (or vice versa).
105
105
  def optimal_failure_message(same, inverted)
106
106
  if DefaultFailureMessages.has_default_failure_messages?(@base_matcher)
107
107
  base_message = @base_matcher.__send__(same)
108
- overriden = @description_block.call(base_message)
109
- return overriden if overriden != base_message
108
+ overridden = @description_block.call(base_message)
109
+ return overridden if overridden != base_message
110
110
  end
111
111
 
112
112
  @base_matcher.__send__(inverted)
@@ -171,7 +171,7 @@ module RSpec
171
171
  @match_results.fetch(matcher) do
172
172
  raise ArgumentError, "Your #{matcher.description} has no match " \
173
173
  "results, this can occur when an unexpected call stack or " \
174
- "local jump occurs. Prehaps one of your matchers needs to " \
174
+ "local jump occurs. Perhaps one of your matchers needs to " \
175
175
  "declare `expects_call_stack_jump?` as `true`?"
176
176
  end
177
177
  end
@@ -81,7 +81,7 @@ module RSpec
81
81
  end
82
82
 
83
83
  def deprecated(predicate, actual)
84
- predicate == :exists? && (File == actual || FileTest == actual)
84
+ predicate == :exists? && (File == actual || FileTest == actual || Dir == actual)
85
85
  end
86
86
  end
87
87
  end
@@ -83,7 +83,7 @@ module RSpec
83
83
  RSpec::Support::ObjectFormatter.format(object)
84
84
  end
85
85
 
86
- # Transforms the given data structue (typically a hash or array)
86
+ # Transforms the given data structure (typically a hash or array)
87
87
  # into a new data structure that, when `#inspect` is called on it,
88
88
  # will provide descriptions of any contained matchers rather than
89
89
  # the normal `#inspect` output.
@@ -4,7 +4,7 @@ module RSpec
4
4
  module Matchers
5
5
  # Defines the custom matcher DSL.
6
6
  module DSL
7
- # Defines a matcher alias. The returned matcher's `description` will be overriden
7
+ # Defines a matcher alias. The returned matcher's `description` will be overridden
8
8
  # to reflect the phrasing of the new name, which will be used in failure messages
9
9
  # when passed as an argument to another matcher in a composed matcher expression.
10
10
  #
@@ -25,7 +25,7 @@ module RSpec
25
25
  # @param old_name [Symbol] the original name for the matcher
26
26
  # @param options [Hash] options for the aliased matcher
27
27
  # @option options [Class] :klass the ruby class to use as the decorator. (Not normally used).
28
- # @yield [String] optional block that, when given, is used to define the overriden
28
+ # @yield [String] optional block that, when given, is used to define the overridden
29
29
  # logic. The yielded arg is the original description or failure message. If no
30
30
  # block is provided, a default override is used based on the old and new names.
31
31
  # @see RSpec::Matchers
@@ -40,10 +40,11 @@ module RSpec
40
40
  matcher.matcher_name = new_name if matcher.respond_to?(:matcher_name=)
41
41
  klass.new(matcher, description_override)
42
42
  end
43
+ ruby2_keywords new_name if respond_to?(:ruby2_keywords, true)
43
44
  end
44
45
 
45
46
  # Defines a negated matcher. The returned matcher's `description` and `failure_message`
46
- # will be overriden to reflect the phrasing of the new name, and the match logic will
47
+ # will be overridden to reflect the phrasing of the new name, and the match logic will
47
48
  # be based on the original matcher but negated.
48
49
  #
49
50
  # @example
@@ -53,7 +54,7 @@ module RSpec
53
54
  #
54
55
  # @param negated_name [Symbol] the name for the negated matcher
55
56
  # @param base_name [Symbol] the name of the original matcher that will be negated
56
- # @yield [String] optional block that, when given, is used to define the overriden
57
+ # @yield [String] optional block that, when given, is used to define the overridden
57
58
  # logic. The yielded arg is the original description or failure message. If no
58
59
  # block is provided, a default override is used based on the old and new names.
59
60
  # @see RSpec::Matchers
@@ -197,7 +198,7 @@ module RSpec
197
198
  end
198
199
  end
199
200
 
200
- # Customizes the failure messsage to use when this matcher is
201
+ # Customizes the failure message to use when this matcher is
201
202
  # asked to positively match. Only use this when the message
202
203
  # generated by default doesn't suit your needs.
203
204
  #
@@ -216,7 +217,7 @@ module RSpec
216
217
  define_user_override(__method__, definition)
217
218
  end
218
219
 
219
- # Customize the failure messsage to use when this matcher is asked
220
+ # Customize the failure message to use when this matcher is asked
220
221
  # to negatively match. Only use this when the message generated by
221
222
  # default doesn't suit your needs.
222
223
  #
@@ -330,7 +331,7 @@ module RSpec
330
331
  # - Defines the named method using a user-provided block
331
332
  # in @user_method_defs, which is included as an ancestor
332
333
  # in the singleton class in which we eval the `define` block.
333
- # - Defines an overriden definition for the same method
334
+ # - Defines an overridden definition for the same method
334
335
  # usign the provided `our_def` block.
335
336
  # - Provides a default `our_def` block for the common case
336
337
  # of needing to call the user's definition with `@actual`
@@ -704,7 +704,7 @@ module RSpec
704
704
 
705
705
  # An alternate form of `contain_exactly` that accepts
706
706
  # the expected contents as a single array arg rather
707
- # that splatted out as individual items.
707
+ # than splatted out as individual items.
708
708
  #
709
709
  # @example
710
710
  # expect(results).to contain_exactly(1, 2)
@@ -1,5 +1,55 @@
1
1
  ### Development
2
- [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.0...3-12-maintenance)
2
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.5...3-12-maintenance)
3
+
4
+ ### 3.12.5 / 2023-03-30
5
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.4...v3.12.5)
6
+
7
+ Bug Fixes:
8
+
9
+ * Fix compatibility issue with Rails where active_support monkey patches `with`
10
+ when using any instance. (Lachlan Sylvester, #1540)
11
+
12
+ ### 3.12.4 / 2023-03-12
13
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.3...v3.12.4)
14
+
15
+ Bug Fixes:
16
+
17
+ * Fix an issue with asserting that Array#reverse is never called. (Brad Trick, #1533)
18
+ * Fix compatibility issue with Rails where active_support monkey patches `with`.
19
+ (Jean Boussier, #1531, #1534)
20
+
21
+ ### 3.12.3 / 2023-01-17
22
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.2...v3.12.3)
23
+
24
+ Bug Fixes:
25
+
26
+ * Fix keyword delegation in `send` for verifying doubles on Ruby 3.
27
+ (Charlie Honig, #1485)
28
+
29
+ ### 3.12.2 / 2023-01-07
30
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.1...v3.12.2)
31
+
32
+ Bug Fixes:
33
+
34
+ * Fix implementation blocks for mocks using keyword arguments on Ruby 3.2.0.
35
+ (Adam Steel, #1508)
36
+ * Fix keyword argument assertions when mocking using `with` on Ruby 3.2.0.
37
+ (Slava Kardakov, Benoit Tigeot, Phil Pirozhkov, Benoit Daloze, #1514)
38
+
39
+ ### 3.12.1 / 2022-12-10
40
+ [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.12.0...v3.12.1)
41
+
42
+ Bug Fixes:
43
+
44
+ * Remove empty diff marker when a diff only contains console codes. (Jon Rowe, #1506)
45
+ * Show keyword vs hash diff marker when arguments are not `==` (Jon Rowe, #1506)
46
+ * Change check to detect frozen objects to rescue errors rather than
47
+ pre-empting by checking `frozen?` due to some objects mis-behaving.
48
+ (Keegan Roth, #1401)
49
+ * Prevent unfulfilled expectations using `expect_any_instance_of` across a class
50
+ inheritance boundary from raising rather than failing. (Jon Rowe, #1496)
51
+ * Prevent a misleading error message when using `allow(...).not_to` with
52
+ unsupported matchers. (Phil Pirozhkov, #1503)
3
53
 
4
54
  ### 3.12.0 / 2022-10-26
5
55
  [Full Changelog](http://github.com/rspec/rspec-mocks/compare/v3.11.2...v3.12.0)
@@ -49,7 +49,7 @@ module RSpec
49
49
  # @private
50
50
  def unfulfilled_expectations
51
51
  @chains_by_method_name.map do |method_name, chains|
52
- method_name.to_s if ExpectationChain === chains.last unless chains.last.expectation_fulfilled?
52
+ method_name.to_s if ExpectationChain === chains.last && !chains.last.expectation_fulfilled?
53
53
  end.compact
54
54
  end
55
55
 
@@ -10,7 +10,7 @@ module RSpec
10
10
  #
11
11
  # This proxy sits in front of the recorder and delegates both to it
12
12
  # and to the `RSpec::Mocks::Proxy` for each already mocked or stubbed
13
- # instance of the class, in order to propogates changes to the instances.
13
+ # instance of the class, in order to propagates changes to the instances.
14
14
  #
15
15
  # Note that unlike `RSpec::Mocks::Proxy`, this proxy class is stateless
16
16
  # and is not persisted in `RSpec::Mocks.space`.
@@ -83,6 +83,15 @@ module RSpec
83
83
  end
84
84
  end
85
85
 
86
+ unless defined?(BasicObject)
87
+ class BasicObject
88
+ # Remove all methods except those expected to be defined on BasicObject
89
+ (instance_methods.map(&:to_sym) - [:__send__, :"!", :instance_eval, :==, :instance_exec, :"!=", :equal?, :__id__, :__binding__, :object_id]).each do |method|
90
+ undef_method method
91
+ end
92
+ end
93
+ end
94
+
86
95
  # @private
87
96
  # Delegates messages to each of the given targets in order to
88
97
  # provide the fluent interface that is available off of message
@@ -91,12 +100,12 @@ module RSpec
91
100
  # `targets` will typically contain 1 of the `AnyInstance::Recorder`
92
101
  # return values and N `MessageExpectation` instances (one per instance
93
102
  # of the `any_instance` klass).
94
- class FluentInterfaceProxy
103
+ class FluentInterfaceProxy < BasicObject
95
104
  def initialize(targets)
96
105
  @targets = targets
97
106
  end
98
107
 
99
- if RUBY_VERSION.to_f > 1.8
108
+ if ::RUBY_VERSION.to_f > 1.8
100
109
  def respond_to_missing?(method_name, include_private=false)
101
110
  super || @targets.first.respond_to?(method_name, include_private)
102
111
  end
@@ -61,7 +61,9 @@ module RSpec
61
61
  return false if expected_args.size != actual_args.size
62
62
 
63
63
  if RUBY_VERSION >= "3"
64
- # if both arguments end with Hashes, and if one is a keyword hash and the other is not, they don't match
64
+ # If the expectation was set with keywords, while the actual method was called with a positional hash argument, they don't match.
65
+ # If the expectation was set without keywords, e.g., with({a: 1}), then it fine to call it with either foo(a: 1) or foo({a: 1}).
66
+ # This corresponds to Ruby semantics, as if the method was def foo(options).
65
67
  if Hash === expected_args.last && Hash === actual_args.last
66
68
  if !Hash.ruby2_keywords_hash?(actual_args.last) && Hash.ruby2_keywords_hash?(expected_args.last)
67
69
  return false
@@ -269,13 +269,19 @@ module RSpec
269
269
  expected_args = format_args(expectation.expected_args)
270
270
  actual_args = format_received_args(args_for_multiple_calls)
271
271
 
272
- if RSpec::Support::RubyFeatures.distincts_kw_args_from_positional_hash? && expected_args == actual_args
272
+ if RSpec::Support::RubyFeatures.distincts_kw_args_from_positional_hash?
273
273
  expected_hash = expectation.expected_args.last
274
274
  actual_hash = args_for_multiple_calls.last.last
275
275
  if Hash === expected_hash && Hash === actual_hash &&
276
276
  (Hash.ruby2_keywords_hash?(expected_hash) != Hash.ruby2_keywords_hash?(actual_hash))
277
- actual_args += Hash.ruby2_keywords_hash?(actual_hash) ? " (keyword arguments)" : " (options hash)"
278
- expected_args += Hash.ruby2_keywords_hash?(expected_hash) ? " (keyword arguments)" : " (options hash)"
277
+
278
+ actual_description = Hash.ruby2_keywords_hash?(actual_hash) ? " (keyword arguments)" : " (options hash)"
279
+ expected_description = Hash.ruby2_keywords_hash?(expected_hash) ? " (keyword arguments)" : " (options hash)"
280
+
281
+ if actual_description != expected_description
282
+ actual_args += actual_description
283
+ expected_args += expected_description
284
+ end
279
285
  end
280
286
  end
281
287
 
@@ -283,7 +289,11 @@ module RSpec
283
289
 
284
290
  if args_for_multiple_calls.one?
285
291
  diff = diff_message(expectation.expected_args, args_for_multiple_calls.first)
286
- message << "\nDiff:#{diff}" unless diff.strip.empty?
292
+ if RSpec::Mocks.configuration.color?
293
+ message << "\nDiff:#{diff}" unless diff.gsub(/\e\[\d+m/, '').strip.empty?
294
+ else
295
+ message << "\nDiff:#{diff}" unless diff.strip.empty?
296
+ end
287
297
  end
288
298
 
289
299
  message
@@ -16,7 +16,7 @@ module RSpec
16
16
  @subject = nil
17
17
  end
18
18
 
19
- def name
19
+ def matcher_name
20
20
  "have_received"
21
21
  end
22
22
 
@@ -13,7 +13,7 @@ module RSpec
13
13
  @recorded_customizations = []
14
14
  end
15
15
 
16
- def name
16
+ def matcher_name
17
17
  "receive"
18
18
  end
19
19
 
@@ -55,8 +55,9 @@ module RSpec
55
55
  setup_any_instance_method_substitute(subject, :stub, block)
56
56
  end
57
57
 
58
+ own_methods = (instance_methods - superclass.instance_methods)
58
59
  MessageExpectation.public_instance_methods(false).each do |method|
59
- next if method_defined?(method)
60
+ next if own_methods.include?(method)
60
61
 
61
62
  define_method(method) do |*args, &block|
62
63
  @recorded_customizations << ExpectationCustomization.new(method, args, block)
@@ -20,7 +20,7 @@ module RSpec
20
20
  end
21
21
  end
22
22
 
23
- def name
23
+ def matcher_name
24
24
  "receive_message_chain"
25
25
  end
26
26
 
@@ -10,7 +10,7 @@ module RSpec
10
10
  @backtrace_line = CallerFilter.first_non_rspec_line
11
11
  end
12
12
 
13
- def name
13
+ def matcher_name
14
14
  "receive_messages"
15
15
  end
16
16