ory-hydra-client 2.0.1 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (565) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/Gemfile.lock +9 -8
  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/docs/OAuth2TokenExchange.md +1 -1
  9. data/docs/TokenPaginationResponseHeaders.md +1 -1
  10. data/lib/ory-hydra-client/api/jwk_api.rb +1 -1
  11. data/lib/ory-hydra-client/api/metadata_api.rb +1 -1
  12. data/lib/ory-hydra-client/api/o_auth2_api.rb +23 -15
  13. data/lib/ory-hydra-client/api/oidc_api.rb +1 -1
  14. data/lib/ory-hydra-client/api/wellknown_api.rb +1 -1
  15. data/lib/ory-hydra-client/api_client.rb +1 -1
  16. data/lib/ory-hydra-client/api_error.rb +1 -1
  17. data/lib/ory-hydra-client/configuration.rb +1 -1
  18. data/lib/ory-hydra-client/models/accept_o_auth2_consent_request.rb +1 -1
  19. data/lib/ory-hydra-client/models/accept_o_auth2_consent_request_session.rb +1 -1
  20. data/lib/ory-hydra-client/models/accept_o_auth2_login_request.rb +12 -2
  21. data/lib/ory-hydra-client/models/create_json_web_key_set.rb +1 -1
  22. data/lib/ory-hydra-client/models/error_o_auth2.rb +1 -1
  23. data/lib/ory-hydra-client/models/generic_error.rb +1 -1
  24. data/lib/ory-hydra-client/models/get_version200_response.rb +1 -1
  25. data/lib/ory-hydra-client/models/health_not_ready_status.rb +1 -1
  26. data/lib/ory-hydra-client/models/health_status.rb +1 -1
  27. data/lib/ory-hydra-client/models/introspected_o_auth2_token.rb +1 -1
  28. data/lib/ory-hydra-client/models/is_ready200_response.rb +1 -1
  29. data/lib/ory-hydra-client/models/is_ready503_response.rb +1 -1
  30. data/lib/ory-hydra-client/models/json_patch.rb +1 -1
  31. data/lib/ory-hydra-client/models/json_web_key.rb +1 -1
  32. data/lib/ory-hydra-client/models/json_web_key_set.rb +1 -1
  33. data/lib/ory-hydra-client/models/o_auth2_client.rb +25 -3
  34. data/lib/ory-hydra-client/models/o_auth2_client_token_lifespans.rb +1 -1
  35. data/lib/ory-hydra-client/models/o_auth2_consent_request.rb +1 -1
  36. data/lib/ory-hydra-client/models/o_auth2_consent_request_open_id_connect_context.rb +1 -1
  37. data/lib/ory-hydra-client/models/o_auth2_consent_session.rb +1 -1
  38. data/lib/ory-hydra-client/models/o_auth2_consent_session_expires_at.rb +1 -1
  39. data/lib/ory-hydra-client/models/o_auth2_login_request.rb +1 -1
  40. data/lib/ory-hydra-client/models/o_auth2_logout_request.rb +1 -1
  41. data/lib/ory-hydra-client/models/o_auth2_redirect_to.rb +1 -1
  42. data/lib/ory-hydra-client/models/o_auth2_token_exchange.rb +2 -2
  43. data/lib/ory-hydra-client/models/oidc_configuration.rb +1 -1
  44. data/lib/ory-hydra-client/models/oidc_user_info.rb +1 -1
  45. data/lib/ory-hydra-client/models/pagination.rb +1 -1
  46. data/lib/ory-hydra-client/models/pagination_headers.rb +1 -1
  47. data/lib/ory-hydra-client/models/reject_o_auth2_request.rb +1 -1
  48. data/lib/ory-hydra-client/models/token_pagination.rb +1 -1
  49. data/lib/ory-hydra-client/models/token_pagination_headers.rb +1 -1
  50. data/lib/ory-hydra-client/models/token_pagination_request_parameters.rb +2 -2
  51. data/lib/ory-hydra-client/models/token_pagination_response_headers.rb +3 -3
  52. data/lib/ory-hydra-client/models/trust_o_auth2_jwt_grant_issuer.rb +1 -1
  53. data/lib/ory-hydra-client/models/trusted_o_auth2_jwt_grant_issuer.rb +1 -1
  54. data/lib/ory-hydra-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +1 -1
  55. data/lib/ory-hydra-client/models/version.rb +1 -1
  56. data/lib/ory-hydra-client/version.rb +2 -2
  57. data/lib/ory-hydra-client.rb +1 -1
  58. data/ory-hydra-client.gemspec +1 -1
  59. data/spec/api/jwk_api_spec.rb +1 -1
  60. data/spec/api/metadata_api_spec.rb +1 -1
  61. data/spec/api/o_auth2_api_spec.rb +8 -4
  62. data/spec/api/oidc_api_spec.rb +1 -1
  63. data/spec/api/wellknown_api_spec.rb +1 -1
  64. data/spec/api_client_spec.rb +1 -1
  65. data/spec/configuration_spec.rb +1 -1
  66. data/spec/models/accept_o_auth2_consent_request_session_spec.rb +1 -1
  67. data/spec/models/accept_o_auth2_consent_request_spec.rb +1 -1
  68. data/spec/models/accept_o_auth2_login_request_spec.rb +7 -1
  69. data/spec/models/create_json_web_key_set_spec.rb +1 -1
  70. data/spec/models/error_o_auth2_spec.rb +1 -1
  71. data/spec/models/generic_error_spec.rb +1 -1
  72. data/spec/models/get_version200_response_spec.rb +1 -1
  73. data/spec/models/health_not_ready_status_spec.rb +1 -1
  74. data/spec/models/health_status_spec.rb +1 -1
  75. data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
  76. data/spec/models/is_ready200_response_spec.rb +1 -1
  77. data/spec/models/is_ready503_response_spec.rb +1 -1
  78. data/spec/models/json_patch_spec.rb +1 -1
  79. data/spec/models/json_web_key_set_spec.rb +1 -1
  80. data/spec/models/json_web_key_spec.rb +1 -1
  81. data/spec/models/o_auth2_client_spec.rb +13 -1
  82. data/spec/models/o_auth2_client_token_lifespans_spec.rb +1 -1
  83. data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +1 -1
  84. data/spec/models/o_auth2_consent_request_spec.rb +1 -1
  85. data/spec/models/o_auth2_consent_session_expires_at_spec.rb +1 -1
  86. data/spec/models/o_auth2_consent_session_spec.rb +1 -1
  87. data/spec/models/o_auth2_login_request_spec.rb +1 -1
  88. data/spec/models/o_auth2_logout_request_spec.rb +1 -1
  89. data/spec/models/o_auth2_redirect_to_spec.rb +1 -1
  90. data/spec/models/o_auth2_token_exchange_spec.rb +1 -1
  91. data/spec/models/oidc_configuration_spec.rb +1 -1
  92. data/spec/models/oidc_user_info_spec.rb +1 -1
  93. data/spec/models/pagination_headers_spec.rb +1 -1
  94. data/spec/models/pagination_spec.rb +1 -1
  95. data/spec/models/reject_o_auth2_request_spec.rb +1 -1
  96. data/spec/models/token_pagination_headers_spec.rb +1 -1
  97. data/spec/models/token_pagination_request_parameters_spec.rb +1 -1
  98. data/spec/models/token_pagination_response_headers_spec.rb +1 -1
  99. data/spec/models/token_pagination_spec.rb +1 -1
  100. data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +1 -1
  101. data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +1 -1
  102. data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +1 -1
  103. data/spec/models/version_spec.rb +1 -1
  104. data/spec/spec_helper.rb +1 -1
  105. data/vendor/bundle/ruby/2.5.0/cache/ethon-0.16.0.gem +0 -0
  106. data/vendor/bundle/ruby/2.5.0/cache/parser-3.2.2.0.gem +0 -0
  107. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.1.gem +0 -0
  108. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.2.gem +0 -0
  109. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.5.gem +0 -0
  110. data/vendor/bundle/ruby/2.5.0/cache/ruby-progressbar-1.13.0.gem +0 -0
  111. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.5.gem +0 -0
  112. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  113. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  114. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  115. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/gem_make.out +2 -2
  116. 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
  117. 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
  118. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.5/stringio.so +0 -0
  119. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  120. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/.github/workflows/ruby.yml +2 -2
  121. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/CHANGELOG.md +3 -0
  122. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/README.md +23 -0
  123. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/classes.rb +12 -2
  124. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/options.rb +4 -3
  125. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/callbacks.rb +2 -1
  126. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/informations.rb +3 -0
  127. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/response_callbacks.rb +6 -1
  128. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/version.rb +1 -1
  129. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/callbacks_spec.rb +22 -0
  130. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/informations_spec.rb +6 -0
  131. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/mirror_spec.rb +1 -1
  132. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/operations_spec.rb +3 -0
  133. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  134. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  135. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/all.rb +1 -0
  136. 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
  137. 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
  138. 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
  139. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/current.rb +17 -8
  140. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/lexer-F0.rb +12870 -0
  141. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/lexer-F1.rb +14814 -0
  142. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/lexer-strings.rb +5424 -0
  143. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/macruby.rb +9632 -0
  144. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/messages.rb +2 -0
  145. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/meta.rb +1 -0
  146. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby18.rb +9270 -0
  147. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby19.rb +9556 -0
  148. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby20.rb +10227 -0
  149. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby21.rb +10201 -0
  150. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby22.rb +10300 -0
  151. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby23.rb +10320 -0
  152. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby24.rb +10452 -0
  153. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby25.rb +10372 -0
  154. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby26.rb +10350 -0
  155. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby27.rb +11945 -0
  156. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby30.rb +12241 -0
  157. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby31.rb +12714 -0
  158. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby32.rb +12702 -0
  159. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby33.rb +12702 -0
  160. data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/rubymotion.rb +9513 -0
  161. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/runner.rb +5 -0
  162. 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
  163. 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
  164. 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
  165. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/version.rb +1 -1
  166. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser.rb +6 -1
  167. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/parser.gemspec +1 -1
  168. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
  169. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/Changelog.md +9 -1
  170. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/README.md +2 -2
  171. 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
  172. 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
  173. 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
  174. 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
  175. 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
  176. 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
  177. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/Changelog.md +18 -1
  178. 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
  179. 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
  180. 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
  181. 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
  182. 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
  183. 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
  184. 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
  185. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers.rb +1 -1
  186. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/Changelog.md +51 -1
  187. 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
  188. 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
  189. 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
  190. 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
  191. 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
  192. 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
  193. 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
  194. 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
  195. 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
  196. 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
  197. 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
  198. 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
  199. 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
  200. 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
  201. 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
  202. 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
  203. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/base.rb +234 -0
  204. 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
  205. 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
  206. 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
  207. 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
  208. 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
  209. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/molecule.rb +61 -0
  210. 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
  211. 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
  212. 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
  213. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb +14 -0
  214. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb +71 -0
  215. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb +28 -0
  216. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb +1 -0
  217. 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
  218. 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
  219. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb +3 -0
  220. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar.rb +12 -0
  221. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/README.md +2 -1
  222. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/ext/stringio/Makefile +2 -2
  223. data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/ext/stringio/stringio.c +244 -134
  224. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/ext/stringio/stringio.o +0 -0
  225. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/ext/stringio/stringio.so +0 -0
  226. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/lib/stringio.so +0 -0
  227. data/vendor/bundle/ruby/2.5.0/specifications/{ethon-0.15.0.gemspec → ethon-0.16.0.gemspec} +3 -3
  228. data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.1.2.1.gemspec → parser-3.2.2.0.gemspec} +7 -7
  229. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-core-3.12.0.gemspec → rspec-core-3.12.1.gemspec} +5 -5
  230. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-expectations-3.12.0.gemspec → rspec-expectations-3.12.2.gemspec} +5 -5
  231. data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.12.0.gemspec → rspec-mocks-3.12.5.gemspec} +8 -8
  232. data/vendor/bundle/ruby/2.5.0/specifications/{ruby-progressbar-1.11.0.gemspec → ruby-progressbar-1.13.0.gemspec} +8 -8
  233. data/vendor/bundle/ruby/2.5.0/specifications/{stringio-3.0.2.gemspec → stringio-3.0.5.gemspec} +3 -3
  234. metadata +417 -416
  235. data/vendor/bundle/ruby/2.5.0/cache/ethon-0.15.0.gem +0 -0
  236. data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.1.gem +0 -0
  237. data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.0.gem +0 -0
  238. data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.0.gem +0 -0
  239. data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.0.gem +0 -0
  240. data/vendor/bundle/ruby/2.5.0/cache/ruby-progressbar-1.11.0.gem +0 -0
  241. data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.2.gem +0 -0
  242. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/stringio.so +0 -0
  243. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/lexer.rb +0 -25015
  244. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/macruby.rb +0 -6177
  245. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby18.rb +0 -5708
  246. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby19.rb +0 -6126
  247. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby20.rb +0 -6563
  248. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby21.rb +0 -6611
  249. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby22.rb +0 -6655
  250. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby23.rb +0 -6669
  251. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby24.rb +0 -6736
  252. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby25.rb +0 -6694
  253. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby26.rb +0 -6721
  254. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby27.rb +0 -7914
  255. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby28.rb +0 -8047
  256. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby30.rb +0 -8096
  257. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby31.rb +0 -8358
  258. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby32.rb +0 -8338
  259. data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/rubymotion.rb +0 -6125
  260. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/base.rb +0 -183
  261. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/calculators/running_average.rb +0 -9
  262. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components.rb +0 -5
  263. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/molecule.rb +0 -60
  264. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format.rb +0 -3
  265. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/refinements/enumerator.rb +0 -23
  266. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/refinements.rb +0 -1
  267. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/version.rb +0 -3
  268. data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar.rb +0 -22
  269. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/stringio.o +0 -0
  270. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/stringio.so +0 -0
  271. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/lib/stringio.so +0 -0
  272. 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
  273. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/.gitignore +0 -0
  274. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/.rspec +0 -0
  275. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Gemfile +0 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Guardfile +0 -0
  277. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/LICENSE +0 -0
  278. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/Rakefile +0 -0
  279. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/ethon.gemspec +0 -0
  280. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curl.rb +0 -0
  281. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/codes.rb +0 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/constants.rb +0 -0
  283. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/form_options.rb +0 -0
  284. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/functions.rb +0 -0
  285. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/infos.rb +0 -0
  286. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/messages.rb +0 -0
  287. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/curls/settings.rb +0 -0
  288. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/debug_info.rb +0 -0
  289. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/features.rb +0 -0
  290. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/form.rb +0 -0
  291. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/header.rb +0 -0
  292. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/actionable.rb +0 -0
  293. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/custom.rb +0 -0
  294. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/delete.rb +0 -0
  295. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/get.rb +0 -0
  296. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/head.rb +0 -0
  297. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/options.rb +0 -0
  298. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/patch.rb +0 -0
  299. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/post.rb +0 -0
  300. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/postable.rb +0 -0
  301. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/put.rb +0 -0
  302. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http/putable.rb +0 -0
  303. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/http.rb +0 -0
  304. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/mirror.rb +0 -0
  305. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/operations.rb +0 -0
  306. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/options.rb +0 -0
  307. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/params.rb +0 -0
  308. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/queryable.rb +0 -0
  309. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy/util.rb +0 -0
  310. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/easy.rb +0 -0
  311. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/ethon_error.rb +0 -0
  312. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/global_init.rb +0 -0
  313. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/invalid_option.rb +0 -0
  314. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/invalid_value.rb +0 -0
  315. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_add.rb +0 -0
  316. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_fdset.rb +0 -0
  317. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_remove.rb +0 -0
  318. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/multi_timeout.rb +0 -0
  319. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors/select.rb +0 -0
  320. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/errors.rb +0 -0
  321. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/libc.rb +0 -0
  322. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/loggable.rb +0 -0
  323. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/operations.rb +0 -0
  324. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/options.rb +0 -0
  325. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi/stack.rb +0 -0
  326. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon/multi.rb +0 -0
  327. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/lib/ethon.rb +0 -0
  328. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/benchmarks.rb +0 -0
  329. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/memory_leaks.rb +0 -0
  330. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/perf_spec_helper.rb +0 -0
  331. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/memory_test_helpers.rb +0 -0
  332. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/os_memory_leak_tracker.rb +0 -0
  333. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/profile/support/ruby_object_leak_tracker.rb +0 -0
  334. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/curl_spec.rb +0 -0
  335. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/debug_info_spec.rb +0 -0
  336. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/features_spec.rb +0 -0
  337. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/form_spec.rb +0 -0
  338. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/header_spec.rb +0 -0
  339. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/custom_spec.rb +0 -0
  340. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/delete_spec.rb +0 -0
  341. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/get_spec.rb +0 -0
  342. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/head_spec.rb +0 -0
  343. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/options_spec.rb +0 -0
  344. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/patch_spec.rb +0 -0
  345. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/post_spec.rb +0 -0
  346. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http/put_spec.rb +0 -0
  347. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/http_spec.rb +0 -0
  348. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/options_spec.rb +0 -0
  349. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/queryable_spec.rb +0 -0
  350. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/response_callbacks_spec.rb +0 -0
  351. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy/util_spec.rb +0 -0
  352. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/easy_spec.rb +0 -0
  353. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/libc_spec.rb +0 -0
  354. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/loggable_spec.rb +0 -0
  355. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/operations_spec.rb +0 -0
  356. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/options_spec.rb +0 -0
  357. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi/stack_spec.rb +0 -0
  358. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/ethon/multi_spec.rb +0 -0
  359. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/spec_helper.rb +0 -0
  360. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/support/localhost_server.rb +0 -0
  361. data/vendor/bundle/ruby/2.5.0/gems/{ethon-0.15.0 → ethon-0.16.0}/spec/support/server.rb +0 -0
  362. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/LICENSE.txt +0 -0
  363. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/bin/ruby-parse +0 -0
  364. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/bin/ruby-rewrite +0 -0
  365. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/gauntlet_parser.rb +0 -0
  366. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/base.rb +0 -0
  367. 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
  368. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/color.rb +0 -0
  369. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/context.rb +0 -0
  370. 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
  371. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/deprecation.rb +0 -0
  372. 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
  373. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/diagnostic.rb +0 -0
  374. 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
  375. 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
  376. 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
  377. 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
  378. 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
  379. data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/rewriter.rb +0 -0
  380. 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
  381. 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
  382. 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
  383. 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
  384. 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
  385. 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
  386. 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
  387. 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
  388. 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
  389. 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
  390. 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
  391. 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
  392. 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
  393. 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
  394. 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
  395. 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
  396. 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
  397. 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
  398. 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
  399. 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
  400. 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
  401. 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
  402. 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
  403. 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
  404. 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
  405. 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
  406. 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
  407. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/.document +0 -0
  408. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/.yardopts +0 -0
  409. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/LICENSE.md +0 -0
  410. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/exe/rspec +0 -0
  411. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/autorun.rb +0 -0
  412. 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
  413. 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
  414. 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
  415. 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
  416. 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
  417. 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
  418. 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
  419. 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
  420. 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
  421. 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
  422. 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
  423. 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
  424. 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
  425. 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
  426. 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
  427. 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
  428. 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
  429. 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
  430. 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
  431. 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
  432. 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
  433. 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
  434. 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
  435. 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
  436. 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
  437. 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
  438. 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
  439. 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
  440. 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
  441. 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
  442. 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
  443. 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
  444. 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
  445. 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
  446. 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
  447. 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
  448. 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
  449. 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
  450. 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
  451. 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
  452. 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
  453. 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
  454. 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
  455. 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
  456. 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
  457. 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
  458. 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
  459. 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
  460. 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
  461. 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
  462. 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
  463. 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
  464. 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
  465. 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
  466. 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
  467. 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
  468. 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
  469. 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
  470. 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
  471. 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
  472. 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
  473. 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
  474. 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
  475. 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
  476. 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
  477. 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
  478. 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
  479. data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core.rb +0 -0
  480. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/.document +0 -0
  481. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/.yardopts +0 -0
  482. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/LICENSE.md +0 -0
  483. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/README.md +0 -0
  484. 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
  485. 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
  486. 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
  487. 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
  488. 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
  489. 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
  490. 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
  491. data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/expectations.rb +0 -0
  492. 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
  493. 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
  494. 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
  495. 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
  496. 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
  497. 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
  498. 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
  499. 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
  500. 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
  501. 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
  502. 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
  503. 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
  504. 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
  505. 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
  506. 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
  507. 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
  508. 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
  509. 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
  510. 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
  511. 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
  512. 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
  513. 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
  514. 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
  515. 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
  516. 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
  517. 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
  518. 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
  519. 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
  520. 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
  521. 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
  522. 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
  523. 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
  524. 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
  525. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/.document +0 -0
  526. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/.yardopts +0 -0
  527. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/LICENSE.md +0 -0
  528. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/README.md +0 -0
  529. 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
  530. 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
  531. 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
  532. 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
  533. 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
  534. 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
  535. 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
  536. 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
  537. 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
  538. 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
  539. 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
  540. 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
  541. 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
  542. 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
  543. 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
  544. 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
  545. 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
  546. 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
  547. 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
  548. 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
  549. 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
  550. 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
  551. 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
  552. 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
  553. data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks.rb +0 -0
  554. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/LICENSE.txt +0 -0
  555. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/README.md +0 -0
  556. data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/Rakefile +0 -0
  557. 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
  558. /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
  559. /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
  560. /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
  561. /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
  562. /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
  563. /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
  564. /data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/ext/stringio/.sitearchdir.time +0 -0
  565. /data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/ext/stringio/extconf.rb +0 -0
@@ -12,7 +12,7 @@
12
12
 
13
13
  **********************************************************************/
14
14
 
15
- #define STRINGIO_VERSION "3.0.2"
15
+ #define STRINGIO_VERSION "3.0.5"
16
16
 
17
17
  #include "ruby.h"
18
18
  #include "ruby/io.h"
@@ -67,15 +67,20 @@ strio_extract_modeenc(VALUE *vmode_p, VALUE *vperm_p, VALUE opthash,
67
67
  e = strchr(++n, ':');
68
68
  len = e ? e - n : (long)strlen(n);
69
69
  if (len > 0 && len <= ENCODING_MAXNAMELEN) {
70
+ rb_encoding *enc;
70
71
  if (e) {
71
72
  memcpy(encname, n, len);
72
73
  encname[len] = '\0';
73
74
  n = encname;
74
75
  }
75
- convconfig_p->enc = rb_enc_find(n);
76
+ enc = rb_enc_find(n);
77
+ if (e)
78
+ convconfig_p->enc2 = enc;
79
+ else
80
+ convconfig_p->enc = enc;
76
81
  }
77
82
  if (e && (len = strlen(++e)) > 0 && len <= ENCODING_MAXNAMELEN) {
78
- convconfig_p->enc2 = rb_enc_find(e);
83
+ convconfig_p->enc = rb_enc_find(e);
79
84
  }
80
85
  }
81
86
  }
@@ -252,9 +257,20 @@ strio_s_allocate(VALUE klass)
252
257
  }
253
258
 
254
259
  /*
255
- * call-seq: StringIO.new(string=""[, mode])
260
+ * call-seq:
261
+ * StringIO.new(string = '', mode = 'r+') -> new_stringio
262
+ *
263
+ * Note that +mode+ defaults to <tt>'r'</tt> if +string+ is frozen.
264
+ *
265
+ * Returns a new \StringIO instance formed from +string+ and +mode+;
266
+ * see {Access Modes}[rdoc-ref:File@Access+Modes]:
256
267
  *
257
- * Creates new StringIO instance from with _string_ and _mode_.
268
+ * strio = StringIO.new # => #<StringIO>
269
+ * strio.close
270
+ *
271
+ * The instance should be closed when no longer needed.
272
+ *
273
+ * Related: StringIO.open (accepts block; closes automatically).
258
274
  */
259
275
  static VALUE
260
276
  strio_initialize(int argc, VALUE *argv, VALUE self)
@@ -387,11 +403,26 @@ strio_finalize(VALUE self)
387
403
  }
388
404
 
389
405
  /*
390
- * call-seq: StringIO.open(string=""[, mode]) {|strio| ...}
406
+ * call-seq:
407
+ * StringIO.open(string = '', mode = 'r+') {|strio| ... }
408
+ *
409
+ * Note that +mode+ defaults to <tt>'r'</tt> if +string+ is frozen.
410
+ *
411
+ * Creates a new \StringIO instance formed from +string+ and +mode+;
412
+ * see {Access Modes}[rdoc-ref:File@Access+Modes].
413
+ *
414
+ * With no block, returns the new instance:
415
+ *
416
+ * strio = StringIO.open # => #<StringIO>
417
+ *
418
+ * With a block, calls the block with the new instance
419
+ * and returns the block's value;
420
+ * closes the instance on block exit.
391
421
  *
392
- * Equivalent to StringIO.new except that when it is called with a block, it
393
- * yields with the new instance and closes it, and returns the result which
394
- * returned from the block.
422
+ * StringIO.open {|strio| p strio }
423
+ * # => #<StringIO>
424
+ *
425
+ * Related: StringIO.new.
395
426
  */
396
427
  static VALUE
397
428
  strio_s_open(int argc, VALUE *argv, VALUE klass)
@@ -477,9 +508,23 @@ strio_unimpl(int argc, VALUE *argv, VALUE self)
477
508
  }
478
509
 
479
510
  /*
480
- * call-seq: strio.string -> string
511
+ * call-seq:
512
+ * string -> string
513
+ *
514
+ * Returns underlying string:
515
+ *
516
+ * StringIO.open('foo') do |strio|
517
+ * p strio.string
518
+ * strio.string = 'bar'
519
+ * p strio.string
520
+ * end
521
+ *
522
+ * Output:
523
+ *
524
+ * "foo"
525
+ * "bar"
481
526
  *
482
- * Returns underlying String object, the subject of IO.
527
+ * Related: StringIO#string= (assigns the underlying string).
483
528
  */
484
529
  static VALUE
485
530
  strio_get_string(VALUE self)
@@ -489,9 +534,23 @@ strio_get_string(VALUE self)
489
534
 
490
535
  /*
491
536
  * call-seq:
492
- * strio.string = string -> string
537
+ * string = other_string -> other_string
493
538
  *
494
- * Changes underlying String object, the subject of IO.
539
+ * Assigns the underlying string as +other_string+, and sets position to zero;
540
+ * returns +other_string+:
541
+ *
542
+ * StringIO.open('foo') do |strio|
543
+ * p strio.string
544
+ * strio.string = 'bar'
545
+ * p strio.string
546
+ * end
547
+ *
548
+ * Output:
549
+ *
550
+ * "foo"
551
+ * "bar"
552
+ *
553
+ * Related: StringIO#string (returns the underlying string).
495
554
  */
496
555
  static VALUE
497
556
  strio_set_string(VALUE self, VALUE string)
@@ -509,10 +568,13 @@ strio_set_string(VALUE self, VALUE string)
509
568
 
510
569
  /*
511
570
  * call-seq:
512
- * strio.close -> nil
571
+ * close -> nil
572
+ *
573
+ * Closes +self+ for both reading and writing.
513
574
  *
514
- * Closes a StringIO. The stream is unavailable for any further data
515
- * operations; an +IOError+ is raised if such an attempt is made.
575
+ * Raises IOError if reading or writing is attempted.
576
+ *
577
+ * Related: StringIO#close_read, StringIO#close_write.
516
578
  */
517
579
  static VALUE
518
580
  strio_close(VALUE self)
@@ -524,10 +586,13 @@ strio_close(VALUE self)
524
586
 
525
587
  /*
526
588
  * call-seq:
527
- * strio.close_read -> nil
589
+ * close_read -> nil
590
+ *
591
+ * Closes +self+ for reading; closed-write setting remains unchanged.
592
+ *
593
+ * Raises IOError if reading is attempted.
528
594
  *
529
- * Closes the read end of a StringIO. Will raise an +IOError+ if the
530
- * receiver is not readable.
595
+ * Related: StringIO#close, StringIO#close_write.
531
596
  */
532
597
  static VALUE
533
598
  strio_close_read(VALUE self)
@@ -542,10 +607,13 @@ strio_close_read(VALUE self)
542
607
 
543
608
  /*
544
609
  * call-seq:
545
- * strio.close_write -> nil
610
+ * close_write -> nil
546
611
  *
547
- * Closes the write end of a StringIO. Will raise an +IOError+ if the
548
- * receiver is not writeable.
612
+ * Closes +self+ for writing; closed-read setting remains unchanged.
613
+ *
614
+ * Raises IOError if writing is attempted.
615
+ *
616
+ * Related: StringIO#close, StringIO#close_read.
549
617
  */
550
618
  static VALUE
551
619
  strio_close_write(VALUE self)
@@ -560,9 +628,10 @@ strio_close_write(VALUE self)
560
628
 
561
629
  /*
562
630
  * call-seq:
563
- * strio.closed? -> true or false
631
+ * closed? -> true or false
564
632
  *
565
- * Returns +true+ if the stream is completely closed, +false+ otherwise.
633
+ * Returns +true+ if +self+ is closed for both reading and writing,
634
+ * +false+ otherwise.
566
635
  */
567
636
  static VALUE
568
637
  strio_closed(VALUE self)
@@ -574,9 +643,9 @@ strio_closed(VALUE self)
574
643
 
575
644
  /*
576
645
  * call-seq:
577
- * strio.closed_read? -> true or false
646
+ * closed_read? -> true or false
578
647
  *
579
- * Returns +true+ if the stream is not readable, +false+ otherwise.
648
+ * Returns +true+ if +self+ is closed for reading, +false+ otherwise.
580
649
  */
581
650
  static VALUE
582
651
  strio_closed_read(VALUE self)
@@ -588,9 +657,9 @@ strio_closed_read(VALUE self)
588
657
 
589
658
  /*
590
659
  * call-seq:
591
- * strio.closed_write? -> true or false
660
+ * closed_write? -> true or false
592
661
  *
593
- * Returns +true+ if the stream is not writable, +false+ otherwise.
662
+ * Returns +true+ if +self+ is closed for writing, +false+ otherwise.
594
663
  */
595
664
  static VALUE
596
665
  strio_closed_write(VALUE self)
@@ -610,11 +679,14 @@ strio_to_read(VALUE self)
610
679
 
611
680
  /*
612
681
  * call-seq:
613
- * strio.eof -> true or false
614
- * strio.eof? -> true or false
682
+ * eof? -> true or false
683
+ *
684
+ * Returns +true+ if positioned at end-of-stream, +false+ otherwise;
685
+ * see {Position}[rdoc-ref:File@Position].
615
686
  *
616
- * Returns true if the stream is at the end of the data (underlying string).
617
- * The stream must be opened for reading or an +IOError+ will be raised.
687
+ * Raises IOError if the stream is not opened for reading.
688
+ *
689
+ * StreamIO#eof is an alias for StreamIO#eof?.
618
690
  */
619
691
  static VALUE
620
692
  strio_eof(VALUE self)
@@ -644,13 +716,10 @@ strio_copy(VALUE copy, VALUE orig)
644
716
 
645
717
  /*
646
718
  * call-seq:
647
- * strio.lineno -> integer
719
+ * lineno -> current_line_number
648
720
  *
649
- * Returns the current line number. The stream must be
650
- * opened for reading. +lineno+ counts the number of times +gets+ is
651
- * called, rather than the number of newlines encountered. The two
652
- * values will differ if +gets+ is called with a separator other than
653
- * newline. See also the <code>$.</code> variable.
721
+ * Returns the current line number in +self+;
722
+ * see {Line Number}[rdoc-ref:IO@Line+Number].
654
723
  */
655
724
  static VALUE
656
725
  strio_get_lineno(VALUE self)
@@ -660,10 +729,10 @@ strio_get_lineno(VALUE self)
660
729
 
661
730
  /*
662
731
  * call-seq:
663
- * strio.lineno = integer -> integer
732
+ * lineno = new_line_number -> new_line_number
664
733
  *
665
- * Manually sets the current line number to the given value.
666
- * <code>$.</code> is updated only on the next read.
734
+ * Sets the current line number in +self+ to the given +new_line_number+;
735
+ * see {Line Number}[rdoc-ref:IO@Line+Number].
667
736
  */
668
737
  static VALUE
669
738
  strio_set_lineno(VALUE self, VALUE lineno)
@@ -674,9 +743,10 @@ strio_set_lineno(VALUE self, VALUE lineno)
674
743
 
675
744
  /*
676
745
  * call-seq:
677
- * strio.binmode -> stringio
746
+ * binmode -> self
678
747
  *
679
- * Puts stream into binary mode. See IO#binmode.
748
+ * Sets the data mode in +self+ to binary mode;
749
+ * see {Data Mode}[rdoc-ref:File@Data+Mode].
680
750
  *
681
751
  */
682
752
  static VALUE
@@ -700,11 +770,27 @@ strio_binmode(VALUE self)
700
770
 
701
771
  /*
702
772
  * call-seq:
703
- * strio.reopen(other_StrIO) -> strio
704
- * strio.reopen(string, mode) -> strio
773
+ * reopen(other, mode = 'r+') -> self
774
+ *
775
+ * Reinitializes the stream with the given +other+ (string or StringIO) and +mode+;
776
+ * see IO.new:
777
+ *
778
+ * StringIO.open('foo') do |strio|
779
+ * p strio.string
780
+ * strio.reopen('bar')
781
+ * p strio.string
782
+ * other_strio = StringIO.new('baz')
783
+ * strio.reopen(other_strio)
784
+ * p strio.string
785
+ * other_strio.close
786
+ * end
787
+ *
788
+ * Output:
789
+ *
790
+ * "foo"
791
+ * "bar"
792
+ * "baz"
705
793
  *
706
- * Reinitializes the stream with the given <i>other_StrIO</i> or _string_
707
- * and _mode_ (see StringIO#new).
708
794
  */
709
795
  static VALUE
710
796
  strio_reopen(int argc, VALUE *argv, VALUE self)
@@ -718,10 +804,12 @@ strio_reopen(int argc, VALUE *argv, VALUE self)
718
804
 
719
805
  /*
720
806
  * call-seq:
721
- * strio.pos -> integer
722
- * strio.tell -> integer
807
+ * pos -> stream_position
723
808
  *
724
- * Returns the current offset (in bytes).
809
+ * Returns the current position (in bytes);
810
+ * see {Position}[rdoc-ref:IO@Position].
811
+ *
812
+ * StringIO#tell is an alias for StringIO#pos.
725
813
  */
726
814
  static VALUE
727
815
  strio_get_pos(VALUE self)
@@ -731,9 +819,10 @@ strio_get_pos(VALUE self)
731
819
 
732
820
  /*
733
821
  * call-seq:
734
- * strio.pos = integer -> integer
822
+ * pos = new_position -> new_position
735
823
  *
736
- * Seeks to the given position (in bytes).
824
+ * Sets the current position (in bytes);
825
+ * see {Position}[rdoc-ref:IO@Position].
737
826
  */
738
827
  static VALUE
739
828
  strio_set_pos(VALUE self, VALUE pos)
@@ -749,10 +838,11 @@ strio_set_pos(VALUE self, VALUE pos)
749
838
 
750
839
  /*
751
840
  * call-seq:
752
- * strio.rewind -> 0
841
+ * rewind -> 0
753
842
  *
754
- * Positions the stream to the beginning of input, resetting
755
- * +lineno+ to zero.
843
+ * Sets the current position and line number to zero;
844
+ * see {Position}[rdoc-ref:IO@Position]
845
+ * and {Line Number}[rdoc-ref:IO@Line+Number].
756
846
  */
757
847
  static VALUE
758
848
  strio_rewind(VALUE self)
@@ -765,10 +855,11 @@ strio_rewind(VALUE self)
765
855
 
766
856
  /*
767
857
  * call-seq:
768
- * strio.seek(amount, whence=SEEK_SET) -> 0
858
+ * seek(offset, whence = SEEK_SET) -> 0
769
859
  *
770
- * Seeks to a given offset _amount_ in the stream according to
771
- * the value of _whence_ (see IO#seek).
860
+ * Sets the current position to the given integer +offset+ (in bytes),
861
+ * with respect to a given constant +whence+;
862
+ * see {Position}[rdoc-ref:IO@Position].
772
863
  */
773
864
  static VALUE
774
865
  strio_seek(int argc, VALUE *argv, VALUE self)
@@ -804,9 +895,9 @@ strio_seek(int argc, VALUE *argv, VALUE self)
804
895
 
805
896
  /*
806
897
  * call-seq:
807
- * strio.sync -> true
898
+ * sync -> true
808
899
  *
809
- * Returns +true+ always.
900
+ * Returns +true+; implemented only for compatibility with other stream classes.
810
901
  */
811
902
  static VALUE
812
903
  strio_get_sync(VALUE self)
@@ -821,10 +912,12 @@ strio_get_sync(VALUE self)
821
912
 
822
913
  /*
823
914
  * call-seq:
824
- * strio.each_byte {|byte| block } -> strio
825
- * strio.each_byte -> anEnumerator
915
+ * each_byte {|byte| ... } -> self
916
+ *
917
+ * With a block given, calls the block with each remaining byte in the stream;
918
+ * see {Byte IO}[rdoc-ref:IO@Byte+IO].
826
919
  *
827
- * See IO#each_byte.
920
+ * With no block given, returns an enumerator.
828
921
  */
829
922
  static VALUE
830
923
  strio_each_byte(VALUE self)
@@ -842,9 +935,10 @@ strio_each_byte(VALUE self)
842
935
 
843
936
  /*
844
937
  * call-seq:
845
- * strio.getc -> string or nil
938
+ * getc -> character or nil
846
939
  *
847
- * See IO#getc.
940
+ * Reads and returns the next character from the stream;
941
+ * see {Character IO}[rdoc-ref:IO@Character+IO].
848
942
  */
849
943
  static VALUE
850
944
  strio_getc(VALUE self)
@@ -867,9 +961,10 @@ strio_getc(VALUE self)
867
961
 
868
962
  /*
869
963
  * call-seq:
870
- * strio.getbyte -> fixnum or nil
964
+ * getbyte -> byte or nil
871
965
  *
872
- * See IO#getbyte.
966
+ * Reads and returns the next 8-bit byte from the stream;
967
+ * see {Byte IO}[rdoc-ref:IO@Byte+IO].
873
968
  */
874
969
  static VALUE
875
970
  strio_getbyte(VALUE self)
@@ -905,12 +1000,10 @@ strio_extend(struct StringIO *ptr, long pos, long len)
905
1000
 
906
1001
  /*
907
1002
  * call-seq:
908
- * strio.ungetc(string) -> nil
1003
+ * ungetc(character) -> nil
909
1004
  *
910
- * Pushes back one character (passed as a parameter)
911
- * such that a subsequent buffered read will return it. There is no
912
- * limitation for multiple pushbacks including pushing back behind the
913
- * beginning of the buffer string.
1005
+ * Pushes back ("unshifts") a character or integer onto the stream;
1006
+ * see {Character IO}[rdoc-ref:IO@Character+IO].
914
1007
  */
915
1008
  static VALUE
916
1009
  strio_ungetc(VALUE self, VALUE c)
@@ -945,9 +1038,10 @@ strio_ungetc(VALUE self, VALUE c)
945
1038
 
946
1039
  /*
947
1040
  * call-seq:
948
- * strio.ungetbyte(fixnum) -> nil
1041
+ * ungetbyte(byte) -> nil
949
1042
  *
950
- * See IO#ungetbyte
1043
+ * Pushes back ("unshifts") an 8-bit byte onto the stream;
1044
+ * see {Byte IO}[rdoc-ref:IO@Byte+IO].
951
1045
  */
952
1046
  static VALUE
953
1047
  strio_ungetbyte(VALUE self, VALUE c)
@@ -984,7 +1078,7 @@ strio_unget_bytes(struct StringIO *ptr, const char *cp, long cl)
984
1078
  len = RSTRING_LEN(str);
985
1079
  rest = pos - len;
986
1080
  if (cl > pos) {
987
- long ex = (rest < 0 ? cl-pos : cl+rest);
1081
+ long ex = cl - (rest < 0 ? pos : len);
988
1082
  rb_str_modify_expand(str, ex);
989
1083
  rb_str_set_len(str, len + ex);
990
1084
  s = RSTRING_PTR(str);
@@ -1007,9 +1101,10 @@ strio_unget_bytes(struct StringIO *ptr, const char *cp, long cl)
1007
1101
 
1008
1102
  /*
1009
1103
  * call-seq:
1010
- * strio.readchar -> string
1104
+ * readchar -> string
1011
1105
  *
1012
- * See IO#readchar.
1106
+ * Like +getc+, but raises an exception if already at end-of-stream;
1107
+ * see {Character IO}[rdoc-ref:IO@Character+IO].
1013
1108
  */
1014
1109
  static VALUE
1015
1110
  strio_readchar(VALUE self)
@@ -1021,9 +1116,10 @@ strio_readchar(VALUE self)
1021
1116
 
1022
1117
  /*
1023
1118
  * call-seq:
1024
- * strio.readbyte -> fixnum
1119
+ * readbyte -> byte
1025
1120
  *
1026
- * See IO#readbyte.
1121
+ * Like +getbyte+, but raises an exception if already at end-of-stream;
1122
+ * see {Byte IO}[rdoc-ref:IO@Byte+IO].
1027
1123
  */
1028
1124
  static VALUE
1029
1125
  strio_readbyte(VALUE self)
@@ -1035,10 +1131,12 @@ strio_readbyte(VALUE self)
1035
1131
 
1036
1132
  /*
1037
1133
  * call-seq:
1038
- * strio.each_char {|char| block } -> strio
1039
- * strio.each_char -> anEnumerator
1134
+ * each_char {|c| ... } -> self
1135
+ *
1136
+ * With a block given, calls the block with each remaining character in the stream;
1137
+ * see {Character IO}[rdoc-ref:IO@Character+IO].
1040
1138
  *
1041
- * See IO#each_char.
1139
+ * With no block given, returns an enumerator.
1042
1140
  */
1043
1141
  static VALUE
1044
1142
  strio_each_char(VALUE self)
@@ -1055,10 +1153,12 @@ strio_each_char(VALUE self)
1055
1153
 
1056
1154
  /*
1057
1155
  * call-seq:
1058
- * strio.each_codepoint {|c| block } -> strio
1059
- * strio.each_codepoint -> anEnumerator
1156
+ * each_codepoint {|codepoint| ... } -> self
1060
1157
  *
1061
- * See IO#each_codepoint.
1158
+ * With a block given, calls the block with each remaining codepoint in the stream;
1159
+ * see {Codepoint IO}[rdoc-ref:IO@Codepoint+IO].
1160
+ *
1161
+ * With no block given, returns an enumerator.
1062
1162
  */
1063
1163
  static VALUE
1064
1164
  strio_each_codepoint(VALUE self)
@@ -1125,8 +1225,10 @@ prepare_getline_args(struct getline_arg *arg, int argc, VALUE *argv)
1125
1225
  {
1126
1226
  VALUE str, lim, opts;
1127
1227
  long limit = -1;
1228
+ int respect_chomp;
1128
1229
 
1129
1230
  argc = rb_scan_args(argc, argv, "02:", &str, &lim, &opts);
1231
+ respect_chomp = argc == 0 || !NIL_P(str);
1130
1232
  switch (argc) {
1131
1233
  case 0:
1132
1234
  str = rb_rs;
@@ -1160,7 +1262,9 @@ prepare_getline_args(struct getline_arg *arg, int argc, VALUE *argv)
1160
1262
  keywords[0] = rb_intern_const("chomp");
1161
1263
  }
1162
1264
  rb_get_kwargs(opts, keywords, 0, 1, &vchomp);
1163
- arg->chomp = (vchomp != Qundef) && RTEST(vchomp);
1265
+ if (respect_chomp) {
1266
+ arg->chomp = (vchomp != Qundef) && RTEST(vchomp);
1267
+ }
1164
1268
  }
1165
1269
  return arg;
1166
1270
  }
@@ -1181,7 +1285,7 @@ strio_getline(struct getline_arg *arg, struct StringIO *ptr)
1181
1285
  const char *s, *e, *p;
1182
1286
  long n, limit = arg->limit;
1183
1287
  VALUE str = arg->rs;
1184
- int w = 0;
1288
+ long w = 0;
1185
1289
  rb_encoding *enc = get_enc(ptr);
1186
1290
 
1187
1291
  if (ptr->pos >= (n = RSTRING_LEN(ptr->string))) {
@@ -1200,6 +1304,7 @@ strio_getline(struct getline_arg *arg, struct StringIO *ptr)
1200
1304
  str = strio_substr(ptr, ptr->pos, e - s - w, enc);
1201
1305
  }
1202
1306
  else if ((n = RSTRING_LEN(str)) == 0) {
1307
+ const char *paragraph_end = NULL;
1203
1308
  p = s;
1204
1309
  while (p[(p + 1 < e) && (*p == '\r') && 0] == '\n') {
1205
1310
  p += *p == '\r';
@@ -1209,19 +1314,21 @@ strio_getline(struct getline_arg *arg, struct StringIO *ptr)
1209
1314
  }
1210
1315
  s = p;
1211
1316
  while ((p = memchr(p, '\n', e - p)) && (p != e)) {
1212
- if (*++p == '\n') {
1213
- e = p + 1;
1214
- w = (arg->chomp ? 1 : 0);
1215
- break;
1216
- }
1217
- else if (*p == '\r' && p < e && p[1] == '\n') {
1218
- e = p + 2;
1219
- w = (arg->chomp ? 2 : 0);
1220
- break;
1221
- }
1317
+ p++;
1318
+ if (!((p < e && *p == '\n') ||
1319
+ (p + 1 < e && *p == '\r' && *(p+1) == '\n'))) {
1320
+ continue;
1321
+ }
1322
+ paragraph_end = p - ((*(p-2) == '\r') ? 2 : 1);
1323
+ while ((p < e && *p == '\n') ||
1324
+ (p + 1 < e && *p == '\r' && *(p+1) == '\n')) {
1325
+ p += (*p == '\r') ? 2 : 1;
1326
+ }
1327
+ e = p;
1328
+ break;
1222
1329
  }
1223
- if (!w && arg->chomp) {
1224
- w = chomp_newline_width(s, e);
1330
+ if (arg->chomp && paragraph_end) {
1331
+ w = e - paragraph_end;
1225
1332
  }
1226
1333
  str = strio_substr(ptr, s - RSTRING_PTR(ptr->string), e - s - w, enc);
1227
1334
  }
@@ -1233,11 +1340,13 @@ strio_getline(struct getline_arg *arg, struct StringIO *ptr)
1233
1340
  str = strio_substr(ptr, ptr->pos, e - s - w, enc);
1234
1341
  }
1235
1342
  else {
1236
- if (n < e - s) {
1237
- if (e - s < 1024) {
1343
+ if (n < e - s + arg->chomp) {
1344
+ /* unless chomping, RS at the end does not matter */
1345
+ if (e - s < 1024 || n == e - s) {
1238
1346
  for (p = s; p + n <= e; ++p) {
1239
1347
  if (MEMCMP(p, RSTRING_PTR(str), char, n) == 0) {
1240
- e = p + (arg->chomp ? 0 : n);
1348
+ e = p + n;
1349
+ w = (arg->chomp ? n : 0);
1241
1350
  break;
1242
1351
  }
1243
1352
  }
@@ -1260,11 +1369,13 @@ strio_getline(struct getline_arg *arg, struct StringIO *ptr)
1260
1369
 
1261
1370
  /*
1262
1371
  * call-seq:
1263
- * strio.gets(sep=$/, chomp: false) -> string or nil
1264
- * strio.gets(limit, chomp: false) -> string or nil
1265
- * strio.gets(sep, limit, chomp: false) -> string or nil
1372
+ * gets(sep = $/, chomp: false) -> string or nil
1373
+ * gets(limit, chomp: false) -> string or nil
1374
+ * gets(sep, limit, chomp: false) -> string or nil
1266
1375
  *
1267
- * See IO#gets.
1376
+ * Reads and returns a line from the stream;
1377
+ * assigns the return value to <tt>$_</tt>;
1378
+ * see {Line IO}[rdoc-ref:IO@Line+IO].
1268
1379
  */
1269
1380
  static VALUE
1270
1381
  strio_gets(int argc, VALUE *argv, VALUE self)
@@ -1284,11 +1395,12 @@ strio_gets(int argc, VALUE *argv, VALUE self)
1284
1395
 
1285
1396
  /*
1286
1397
  * call-seq:
1287
- * strio.readline(sep=$/, chomp: false) -> string
1288
- * strio.readline(limit, chomp: false) -> string or nil
1289
- * strio.readline(sep, limit, chomp: false) -> string or nil
1398
+ * readline(sep = $/, chomp: false) -> string
1399
+ * readline(limit, chomp: false) -> string
1400
+ * readline(sep, limit, chomp: false) -> string
1290
1401
  *
1291
- * See IO#readline.
1402
+ * Reads a line as with IO#gets, but raises EOFError if already at end-of-file;
1403
+ * see {Line IO}[rdoc-ref:IO@Line+IO].
1292
1404
  */
1293
1405
  static VALUE
1294
1406
  strio_readline(int argc, VALUE *argv, VALUE self)
@@ -1300,17 +1412,16 @@ strio_readline(int argc, VALUE *argv, VALUE self)
1300
1412
 
1301
1413
  /*
1302
1414
  * call-seq:
1303
- * strio.each(sep=$/, chomp: false) {|line| block } -> strio
1304
- * strio.each(limit, chomp: false) {|line| block } -> strio
1305
- * strio.each(sep, limit, chomp: false) {|line| block } -> strio
1306
- * strio.each(...) -> anEnumerator
1415
+ * each_line(sep = $/, chomp: false) {|line| ... } -> self
1416
+ * each_line(limit, chomp: false) {|line| ... } -> self
1417
+ * each_line(sep, limit, chomp: false) {|line| ... } -> self
1307
1418
  *
1308
- * strio.each_line(sep=$/, chomp: false) {|line| block } -> strio
1309
- * strio.each_line(limit, chomp: false) {|line| block } -> strio
1310
- * strio.each_line(sep, limit, chomp: false) {|line| block } -> strio
1311
- * strio.each_line(...) -> anEnumerator
1419
+ * Calls the block with each remaining line read from the stream;
1420
+ * does nothing if already at end-of-file;
1421
+ * returns +self+.
1422
+ * See {Line IO}[rdoc-ref:IO@Line+IO].
1312
1423
  *
1313
- * See IO#each.
1424
+ * StringIO#each is an alias for StringIO#each_line.
1314
1425
  */
1315
1426
  static VALUE
1316
1427
  strio_each(int argc, VALUE *argv, VALUE self)
@@ -1655,7 +1766,7 @@ strio_truncate(VALUE self, VALUE len)
1655
1766
  if (plen < l) {
1656
1767
  MEMZERO(RSTRING_PTR(string) + plen, char, l - plen);
1657
1768
  }
1658
- return len;
1769
+ return INT2FIX(0);
1659
1770
  }
1660
1771
 
1661
1772
  /*
@@ -1711,7 +1822,14 @@ strio_set_encoding(int argc, VALUE *argv, VALUE self)
1711
1822
  enc = rb_default_external_encoding();
1712
1823
  }
1713
1824
  else {
1714
- enc = rb_to_encoding(ext_enc);
1825
+ enc = rb_find_encoding(ext_enc);
1826
+ if (!enc) {
1827
+ struct rb_io_enc_t convconfig;
1828
+ int oflags, fmode;
1829
+ VALUE vmode = rb_str_append(rb_str_new_cstr("r:"), ext_enc);
1830
+ rb_io_extract_modeenc(&vmode, 0, Qnil, &oflags, &fmode, &convconfig);
1831
+ enc = convconfig.enc2;
1832
+ }
1715
1833
  }
1716
1834
  ptr->enc = enc;
1717
1835
  if (WRITABLE(self)) {
@@ -1731,24 +1849,16 @@ strio_set_encoding_by_bom(VALUE self)
1731
1849
  }
1732
1850
 
1733
1851
  /*
1734
- * Pseudo I/O on String object, with interface corresponding to IO.
1852
+ * \IO streams for strings, with access similar to
1853
+ * {IO}[rdoc-ref:IO];
1854
+ * see {IO}[rdoc-ref:IO].
1735
1855
  *
1736
- * Commonly used to simulate <code>$stdio</code> or <code>$stderr</code>
1856
+ * === About the Examples
1737
1857
  *
1738
- * === Examples
1858
+ * Examples on this page assume that \StringIO has been required:
1739
1859
  *
1740
1860
  * require 'stringio'
1741
1861
  *
1742
- * # Writing stream emulation
1743
- * io = StringIO.new
1744
- * io.puts "Hello World"
1745
- * io.string #=> "Hello World\n"
1746
- *
1747
- * # Reading stream emulation
1748
- * io = StringIO.new "first\nsecond\nlast\n"
1749
- * io.getc #=> "f"
1750
- * io.gets #=> "irst\n"
1751
- * io.read #=> "second\nlast\n"
1752
1862
  */
1753
1863
  void
1754
1864
  Init_stringio(void)