ory-hydra-client 2.0.2 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/Gemfile.lock +8 -7
- data/README.md +6 -6
- data/docs/AcceptOAuth2LoginRequest.md +2 -0
- data/docs/OAuth2Api.md +28 -16
- data/docs/OAuth2Client.md +5 -1
- data/lib/ory-hydra-client/api/jwk_api.rb +1 -1
- data/lib/ory-hydra-client/api/metadata_api.rb +1 -1
- data/lib/ory-hydra-client/api/o_auth2_api.rb +23 -15
- data/lib/ory-hydra-client/api/oidc_api.rb +1 -1
- data/lib/ory-hydra-client/api/wellknown_api.rb +1 -1
- data/lib/ory-hydra-client/api_client.rb +1 -1
- data/lib/ory-hydra-client/api_error.rb +1 -1
- data/lib/ory-hydra-client/configuration.rb +1 -1
- data/lib/ory-hydra-client/models/accept_o_auth2_consent_request.rb +1 -1
- data/lib/ory-hydra-client/models/accept_o_auth2_consent_request_session.rb +1 -1
- data/lib/ory-hydra-client/models/accept_o_auth2_login_request.rb +12 -2
- data/lib/ory-hydra-client/models/create_json_web_key_set.rb +1 -1
- data/lib/ory-hydra-client/models/error_o_auth2.rb +1 -1
- data/lib/ory-hydra-client/models/generic_error.rb +1 -1
- data/lib/ory-hydra-client/models/get_version200_response.rb +1 -1
- data/lib/ory-hydra-client/models/health_not_ready_status.rb +1 -1
- data/lib/ory-hydra-client/models/health_status.rb +1 -1
- data/lib/ory-hydra-client/models/introspected_o_auth2_token.rb +1 -1
- data/lib/ory-hydra-client/models/is_ready200_response.rb +1 -1
- data/lib/ory-hydra-client/models/is_ready503_response.rb +1 -1
- data/lib/ory-hydra-client/models/json_patch.rb +1 -1
- data/lib/ory-hydra-client/models/json_web_key.rb +1 -1
- data/lib/ory-hydra-client/models/json_web_key_set.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_client.rb +25 -3
- data/lib/ory-hydra-client/models/o_auth2_client_token_lifespans.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_consent_request.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_consent_request_open_id_connect_context.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_consent_session.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_consent_session_expires_at.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_login_request.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_logout_request.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_redirect_to.rb +1 -1
- data/lib/ory-hydra-client/models/o_auth2_token_exchange.rb +1 -1
- data/lib/ory-hydra-client/models/oidc_configuration.rb +1 -1
- data/lib/ory-hydra-client/models/oidc_user_info.rb +1 -1
- data/lib/ory-hydra-client/models/pagination.rb +1 -1
- data/lib/ory-hydra-client/models/pagination_headers.rb +1 -1
- data/lib/ory-hydra-client/models/reject_o_auth2_request.rb +1 -1
- data/lib/ory-hydra-client/models/token_pagination.rb +1 -1
- data/lib/ory-hydra-client/models/token_pagination_headers.rb +1 -1
- data/lib/ory-hydra-client/models/token_pagination_request_parameters.rb +1 -1
- data/lib/ory-hydra-client/models/token_pagination_response_headers.rb +1 -1
- data/lib/ory-hydra-client/models/trust_o_auth2_jwt_grant_issuer.rb +1 -1
- data/lib/ory-hydra-client/models/trusted_o_auth2_jwt_grant_issuer.rb +1 -1
- data/lib/ory-hydra-client/models/trusted_o_auth2_jwt_grant_json_web_key.rb +1 -1
- data/lib/ory-hydra-client/models/version.rb +1 -1
- data/lib/ory-hydra-client/version.rb +2 -2
- data/lib/ory-hydra-client.rb +1 -1
- data/ory-hydra-client.gemspec +1 -1
- data/spec/api/jwk_api_spec.rb +1 -1
- data/spec/api/metadata_api_spec.rb +1 -1
- data/spec/api/o_auth2_api_spec.rb +8 -4
- data/spec/api/oidc_api_spec.rb +1 -1
- data/spec/api/wellknown_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/accept_o_auth2_consent_request_session_spec.rb +1 -1
- data/spec/models/accept_o_auth2_consent_request_spec.rb +1 -1
- data/spec/models/accept_o_auth2_login_request_spec.rb +7 -1
- data/spec/models/create_json_web_key_set_spec.rb +1 -1
- data/spec/models/error_o_auth2_spec.rb +1 -1
- data/spec/models/generic_error_spec.rb +1 -1
- data/spec/models/get_version200_response_spec.rb +1 -1
- data/spec/models/health_not_ready_status_spec.rb +1 -1
- data/spec/models/health_status_spec.rb +1 -1
- data/spec/models/introspected_o_auth2_token_spec.rb +1 -1
- data/spec/models/is_ready200_response_spec.rb +1 -1
- data/spec/models/is_ready503_response_spec.rb +1 -1
- data/spec/models/json_patch_spec.rb +1 -1
- data/spec/models/json_web_key_set_spec.rb +1 -1
- data/spec/models/json_web_key_spec.rb +1 -1
- data/spec/models/o_auth2_client_spec.rb +13 -1
- data/spec/models/o_auth2_client_token_lifespans_spec.rb +1 -1
- data/spec/models/o_auth2_consent_request_open_id_connect_context_spec.rb +1 -1
- data/spec/models/o_auth2_consent_request_spec.rb +1 -1
- data/spec/models/o_auth2_consent_session_expires_at_spec.rb +1 -1
- data/spec/models/o_auth2_consent_session_spec.rb +1 -1
- data/spec/models/o_auth2_login_request_spec.rb +1 -1
- data/spec/models/o_auth2_logout_request_spec.rb +1 -1
- data/spec/models/o_auth2_redirect_to_spec.rb +1 -1
- data/spec/models/o_auth2_token_exchange_spec.rb +1 -1
- data/spec/models/oidc_configuration_spec.rb +1 -1
- data/spec/models/oidc_user_info_spec.rb +1 -1
- data/spec/models/pagination_headers_spec.rb +1 -1
- data/spec/models/pagination_spec.rb +1 -1
- data/spec/models/reject_o_auth2_request_spec.rb +1 -1
- data/spec/models/token_pagination_headers_spec.rb +1 -1
- data/spec/models/token_pagination_request_parameters_spec.rb +1 -1
- data/spec/models/token_pagination_response_headers_spec.rb +1 -1
- data/spec/models/token_pagination_spec.rb +1 -1
- data/spec/models/trust_o_auth2_jwt_grant_issuer_spec.rb +1 -1
- data/spec/models/trusted_o_auth2_jwt_grant_issuer_spec.rb +1 -1
- data/spec/models/trusted_o_auth2_jwt_grant_json_web_key_spec.rb +1 -1
- data/spec/models/version_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.2.2.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.5.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/ruby-progressbar-1.13.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.5.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.6/gem_make.out +2 -2
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.5/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/all.rb +1 -0
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/current.rb +17 -8
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/lexer-F0.rb +12870 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/lexer-F1.rb +14814 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/lexer-strings.rb +5424 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/macruby.rb +9632 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/messages.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/meta.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby18.rb +9270 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby19.rb +9556 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby20.rb +10227 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby21.rb +10201 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby22.rb +10300 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby23.rb +10320 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby24.rb +10452 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby25.rb +10372 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby26.rb +10350 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby27.rb +11945 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby30.rb +12241 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby31.rb +12714 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby32.rb +12702 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/ruby33.rb +12702 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.2.2.0/lib/parser/rubymotion.rb +9513 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/runner.rb +5 -0
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser.rb +6 -1
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/parser.gemspec +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.6/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/Changelog.md +9 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/README.md +2 -2
- 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
- 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
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/Changelog.md +18 -1
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/matchers.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/Changelog.md +51 -1
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/base.rb +234 -0
- 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
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/molecule.rb +61 -0
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projector.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/projectors/smoothed_average.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements/progress_enumerator.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/refinements.rb +1 -0
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/README.md +2 -1
- data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/ext/stringio/Makefile +2 -2
- data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/ext/stringio/stringio.c +244 -134
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/ext/stringio/stringio.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/ext/stringio/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.5/lib/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/specifications/{parser-3.1.2.1.gemspec → parser-3.2.2.0.gemspec} +7 -7
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-core-3.12.0.gemspec → rspec-core-3.12.1.gemspec} +5 -5
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-expectations-3.12.0.gemspec → rspec-expectations-3.12.2.gemspec} +5 -5
- data/vendor/bundle/ruby/2.5.0/specifications/{rspec-mocks-3.12.0.gemspec → rspec-mocks-3.12.5.gemspec} +8 -8
- data/vendor/bundle/ruby/2.5.0/specifications/{ruby-progressbar-1.11.0.gemspec → ruby-progressbar-1.13.0.gemspec} +8 -8
- data/vendor/bundle/ruby/2.5.0/specifications/{stringio-3.0.2.gemspec → stringio-3.0.5.gemspec} +3 -3
- metadata +313 -312
- data/vendor/bundle/ruby/2.5.0/cache/parser-3.1.2.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.12.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/ruby-progressbar-1.11.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/stringio-3.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.2/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/lexer.rb +0 -25015
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/macruby.rb +0 -6177
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby18.rb +0 -5708
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby19.rb +0 -6126
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby20.rb +0 -6563
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby21.rb +0 -6611
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby22.rb +0 -6655
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby23.rb +0 -6669
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby24.rb +0 -6736
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby25.rb +0 -6694
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby26.rb +0 -6721
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby27.rb +0 -7914
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby28.rb +0 -8047
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby30.rb +0 -8096
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby31.rb +0 -8358
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/ruby32.rb +0 -8338
- data/vendor/bundle/ruby/2.5.0/gems/parser-3.1.2.1/lib/parser/rubymotion.rb +0 -6125
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/base.rb +0 -183
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/calculators/running_average.rb +0 -9
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/components.rb +0 -5
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format/molecule.rb +0 -60
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/format.rb +0 -3
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/refinements/enumerator.rb +0 -23
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/refinements.rb +0 -1
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar/version.rb +0 -3
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.11.0/lib/ruby-progressbar.rb +0 -22
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/stringio.o +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/ext/stringio/stringio.so +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.2/lib/stringio.so +0 -0
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/bin/ruby-parse +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/bin/ruby-rewrite +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/gauntlet_parser.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/base.rb +0 -0
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/color.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/context.rb +0 -0
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/deprecation.rb +0 -0
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/diagnostic.rb +0 -0
- 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
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{parser-3.1.2.1 → parser-3.2.2.0}/lib/parser/rewriter.rb +0 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/exe/rspec +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/autorun.rb +0 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-core-3.12.0 → rspec-core-3.12.1}/lib/rspec/core.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/README.md +0 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-expectations-3.12.0 → rspec-expectations-3.12.2}/lib/rspec/expectations.rb +0 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/.document +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/.yardopts +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/LICENSE.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/README.md +0 -0
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- data/vendor/bundle/ruby/2.5.0/gems/{rspec-mocks-3.12.0 → rspec-mocks-3.12.5}/lib/rspec/mocks.rb +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/LICENSE.txt +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/README.md +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/{ruby-progressbar-1.11.0 → ruby-progressbar-1.13.0}/Rakefile +0 -0
- 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
- /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
- /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
- /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
- /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
- /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
- /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
- /data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/ext/stringio/.sitearchdir.time +0 -0
- /data/vendor/bundle/ruby/2.5.0/gems/{stringio-3.0.2 → stringio-3.0.5}/ext/stringio/extconf.rb +0 -0
@@ -2,6 +2,9 @@ module RSpec
|
|
2
2
|
module Mocks
|
3
3
|
# @private
|
4
4
|
class MethodDouble
|
5
|
+
# @private TODO: drop in favor of FrozenError in ruby 2.5+
|
6
|
+
FROZEN_ERROR_MSG = /can't modify frozen/
|
7
|
+
|
5
8
|
# @private
|
6
9
|
attr_reader :method_name, :object, :expectations, :stubs, :method_stasher
|
7
10
|
|
@@ -70,6 +73,14 @@ module RSpec
|
|
70
73
|
end
|
71
74
|
|
72
75
|
@method_is_proxied = true
|
76
|
+
rescue RuntimeError, TypeError => e
|
77
|
+
# TODO: drop in favor of FrozenError in ruby 2.5+
|
78
|
+
# RuntimeError (and FrozenError) for ruby 2.x
|
79
|
+
# TypeError for ruby 1.x
|
80
|
+
if (defined?(FrozenError) && e.is_a?(FrozenError)) || FROZEN_ERROR_MSG === e.message
|
81
|
+
raise ArgumentError, "Cannot proxy frozen objects, rspec-mocks relies on proxies for method stubbing and expectations."
|
82
|
+
end
|
83
|
+
raise
|
73
84
|
end
|
74
85
|
|
75
86
|
# The implementation of the proxied method. Subclasses may override this
|
@@ -83,7 +94,6 @@ module RSpec
|
|
83
94
|
|
84
95
|
# @private
|
85
96
|
def restore_original_method
|
86
|
-
return show_frozen_warning if object_singleton_class.frozen?
|
87
97
|
return unless @method_is_proxied
|
88
98
|
|
89
99
|
remove_method_from_definition_target
|
@@ -91,6 +101,14 @@ module RSpec
|
|
91
101
|
restore_original_visibility
|
92
102
|
|
93
103
|
@method_is_proxied = false
|
104
|
+
rescue RuntimeError, TypeError => e
|
105
|
+
# TODO: drop in favor of FrozenError in ruby 2.5+
|
106
|
+
# RuntimeError (and FrozenError) for ruby 2.x
|
107
|
+
# TypeError for ruby 1.x
|
108
|
+
if (defined?(FrozenError) && e.is_a?(FrozenError)) || FROZEN_ERROR_MSG === e.message
|
109
|
+
return show_frozen_warning
|
110
|
+
end
|
111
|
+
raise
|
94
112
|
end
|
95
113
|
|
96
114
|
# @private
|
@@ -37,7 +37,7 @@ if defined?(::Minitest::Expectation)
|
|
37
37
|
# not want to here (or else we would interfere with rspec-expectations' definition).
|
38
38
|
else
|
39
39
|
# ...otherwise, define those methods now. If `rspec/expectations/minitest_integration`
|
40
|
-
# is loaded after this file, it'll
|
40
|
+
# is loaded after this file, it'll override the definition here.
|
41
41
|
Minitest::Expectation.class_eval do
|
42
42
|
include RSpec::Mocks::ExpectationTargetMethods
|
43
43
|
|
@@ -81,7 +81,7 @@ module RSpec
|
|
81
81
|
# Queries rspec-mocks to find out information about the named constant.
|
82
82
|
#
|
83
83
|
# @param [String] name the name of the constant
|
84
|
-
# @return [Constant] an object
|
84
|
+
# @return [Constant] an object containing information about the named
|
85
85
|
# constant.
|
86
86
|
def self.original(name)
|
87
87
|
mutator = ::RSpec::Mocks.space.constant_mutator_for(name)
|
@@ -35,15 +35,9 @@ module RSpec
|
|
35
35
|
|
36
36
|
# @private
|
37
37
|
def ensure_can_be_proxied!(object)
|
38
|
-
return unless object.is_a?(Symbol)
|
39
|
-
return if object.nil?
|
38
|
+
return unless object.is_a?(Symbol)
|
40
39
|
|
41
|
-
msg = "Cannot proxy frozen objects"
|
42
|
-
if Symbol === object
|
43
|
-
msg << ". Symbols such as #{object} cannot be mocked or stubbed."
|
44
|
-
else
|
45
|
-
msg << ", rspec-mocks relies on proxies for method stubbing and expectations."
|
46
|
-
end
|
40
|
+
msg = "Cannot proxy frozen objects. Symbols such as #{object} cannot be mocked or stubbed."
|
47
41
|
raise ArgumentError, msg
|
48
42
|
end
|
49
43
|
|
@@ -198,6 +192,7 @@ module RSpec
|
|
198
192
|
@messages_received << [message, args, block]
|
199
193
|
end
|
200
194
|
end
|
195
|
+
ruby2_keywords :record_message_received if respond_to?(:ruby2_keywords, true)
|
201
196
|
|
202
197
|
# @private
|
203
198
|
def message_received(message, *args, &block)
|
@@ -54,7 +54,7 @@ module RSpec
|
|
54
54
|
|
55
55
|
def raise_negation_unsupported(method_name, matcher)
|
56
56
|
raise NegationUnsupportedError,
|
57
|
-
"`#{expression}(...).#{method_name} #{matcher.
|
57
|
+
"`#{expression}(...).#{method_name} #{matcher.matcher_name}` is not supported since it " \
|
58
58
|
"doesn't really make sense. What would it even mean?"
|
59
59
|
end
|
60
60
|
end
|
@@ -42,11 +42,13 @@ module RSpec
|
|
42
42
|
ensure
|
43
43
|
@__sending_message = nil
|
44
44
|
end
|
45
|
+
ruby2_keywords :__send__ if respond_to?(:ruby2_keywords, true)
|
45
46
|
$VERBOSE = old
|
46
47
|
|
47
48
|
def send(name, *args, &block)
|
48
49
|
__send__(name, *args, &block)
|
49
50
|
end
|
51
|
+
ruby2_keywords :send if respond_to?(:ruby2_keywords, true)
|
50
52
|
|
51
53
|
def initialize(doubled_module, *args)
|
52
54
|
@doubled_module = doubled_module
|
@@ -57,7 +57,7 @@ module RSpec
|
|
57
57
|
# A verifying proxy mostly acts like a normal proxy, except that it
|
58
58
|
# contains extra logic to try and determine the validity of any expectation
|
59
59
|
# set on it. This includes whether or not methods have been defined and the
|
60
|
-
#
|
60
|
+
# validity of arguments on method calls.
|
61
61
|
#
|
62
62
|
# In all other ways this behaves like a normal proxy. It only adds the
|
63
63
|
# verification behaviour to specific methods then delegates to the parent
|
@@ -147,12 +147,12 @@ module RSpec
|
|
147
147
|
end
|
148
148
|
|
149
149
|
def add_expectation(*args, &block)
|
150
|
-
#
|
150
|
+
# explicit params necessary for 1.8.7 see #626
|
151
151
|
super(*args, &block).tap { |x| x.method_reference = @method_reference }
|
152
152
|
end
|
153
153
|
|
154
154
|
def add_stub(*args, &block)
|
155
|
-
#
|
155
|
+
# explicit params necessary for 1.8.7 see #626
|
156
156
|
super(*args, &block).tap { |x| x.method_reference = @method_reference }
|
157
157
|
end
|
158
158
|
|
@@ -160,6 +160,7 @@ module RSpec
|
|
160
160
|
validate_arguments!(args)
|
161
161
|
super
|
162
162
|
end
|
163
|
+
ruby2_keywords :proxy_method_invoked if respond_to?(:ruby2_keywords, true)
|
163
164
|
|
164
165
|
def validate_arguments!(actual_args)
|
165
166
|
@method_reference.with_signature do |signature|
|
@@ -0,0 +1,234 @@
|
|
1
|
+
require 'forwardable'
|
2
|
+
|
3
|
+
require 'ruby-progressbar/components/bar'
|
4
|
+
require 'ruby-progressbar/components/percentage'
|
5
|
+
require 'ruby-progressbar/components/rate'
|
6
|
+
require 'ruby-progressbar/components/time'
|
7
|
+
require 'ruby-progressbar/components/title'
|
8
|
+
require 'ruby-progressbar/format/formatter'
|
9
|
+
require 'ruby-progressbar/format/string'
|
10
|
+
require 'ruby-progressbar/outputs/non_tty'
|
11
|
+
require 'ruby-progressbar/outputs/tty'
|
12
|
+
require 'ruby-progressbar/progress'
|
13
|
+
require 'ruby-progressbar/projector'
|
14
|
+
require 'ruby-progressbar/timer'
|
15
|
+
|
16
|
+
class ProgressBar
|
17
|
+
class Base
|
18
|
+
extend Forwardable
|
19
|
+
|
20
|
+
# rubocop:disable Layout/HeredocIndentation
|
21
|
+
SMOOTHING_DEPRECATION_WARNING = <<-HEREDOC.tr("\n", ' ')
|
22
|
+
WARNING: Passing the 'smoothing' option is deprecated and will be removed
|
23
|
+
in version 2.0. Please pass { projector: { type: 'smoothing', strength: 0.x }}.
|
24
|
+
For more information on why this change is happening, visit
|
25
|
+
https://github.com/jfelchner/ruby-progressbar/wiki/Upgrading
|
26
|
+
HEREDOC
|
27
|
+
|
28
|
+
RUNNING_AVERAGE_RATE_DEPRECATION_WARNING = <<-HEREDOC.tr("\n", ' ')
|
29
|
+
WARNING: Passing the 'running_average_rate' option is deprecated and will be removed
|
30
|
+
in version 2.0. Please pass { projector: { type: 'smoothing', strength: 0.x }}.
|
31
|
+
For more information on why this change is happening, visit
|
32
|
+
https://github.com/jfelchner/ruby-progressbar/wiki/Upgrading
|
33
|
+
HEREDOC
|
34
|
+
# rubocop:enable Layout/HeredocIndentation
|
35
|
+
|
36
|
+
def_delegators :output,
|
37
|
+
:clear,
|
38
|
+
:log,
|
39
|
+
:refresh
|
40
|
+
|
41
|
+
def_delegators :progressable,
|
42
|
+
:progress,
|
43
|
+
:total
|
44
|
+
|
45
|
+
def initialize(options = {}) # rubocop:disable Metrics/AbcSize
|
46
|
+
options[:projector] ||= {}
|
47
|
+
|
48
|
+
self.autostart = options.fetch(:autostart, true)
|
49
|
+
self.autofinish = options.fetch(:autofinish, true)
|
50
|
+
self.finished = false
|
51
|
+
|
52
|
+
self.timer = Timer.new(options)
|
53
|
+
projector_opts = if options[:projector].any?
|
54
|
+
options[:projector]
|
55
|
+
elsif options[:smoothing]
|
56
|
+
warn SMOOTHING_DEPRECATION_WARNING
|
57
|
+
|
58
|
+
{ :strength => options[:smoothing] }
|
59
|
+
elsif options[:running_average_rate]
|
60
|
+
warn RUNNING_AVERAGE_RATE_DEPRECATION_WARNING
|
61
|
+
|
62
|
+
{ :strength => options[:smoothing] }
|
63
|
+
else
|
64
|
+
{}
|
65
|
+
end
|
66
|
+
self.projector = Projector.
|
67
|
+
from_type(options[:projector][:type]).
|
68
|
+
new(projector_opts)
|
69
|
+
self.progressable = Progress.new(options)
|
70
|
+
|
71
|
+
options = options.merge(:progress => progressable,
|
72
|
+
:projector => projector,
|
73
|
+
:timer => timer)
|
74
|
+
|
75
|
+
self.title_component = Components::Title.new(options)
|
76
|
+
self.bar_component = Components::Bar.new(options)
|
77
|
+
self.percentage_component = Components::Percentage.new(options)
|
78
|
+
self.rate_component = Components::Rate.new(options)
|
79
|
+
self.time_component = Components::Time.new(options)
|
80
|
+
|
81
|
+
self.output = Output.detect(options.merge(:bar => self))
|
82
|
+
@format = Format::String.new(output.resolve_format(options[:format]))
|
83
|
+
|
84
|
+
start :at => options[:starting_at] if autostart
|
85
|
+
end
|
86
|
+
|
87
|
+
def start(options = {})
|
88
|
+
timer.start
|
89
|
+
update_progress(:start, options)
|
90
|
+
end
|
91
|
+
|
92
|
+
def finish
|
93
|
+
return if finished?
|
94
|
+
|
95
|
+
output.with_refresh do
|
96
|
+
self.finished = true
|
97
|
+
progressable.finish
|
98
|
+
timer.stop
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
def pause
|
103
|
+
output.with_refresh { timer.pause } unless paused?
|
104
|
+
end
|
105
|
+
|
106
|
+
def stop
|
107
|
+
output.with_refresh { timer.stop } unless stopped?
|
108
|
+
end
|
109
|
+
|
110
|
+
def resume
|
111
|
+
output.with_refresh { timer.resume } if stopped?
|
112
|
+
end
|
113
|
+
|
114
|
+
def reset
|
115
|
+
output.with_refresh do
|
116
|
+
self.finished = false
|
117
|
+
progressable.reset
|
118
|
+
projector.reset
|
119
|
+
timer.reset
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
123
|
+
def stopped?
|
124
|
+
timer.stopped? || finished?
|
125
|
+
end
|
126
|
+
|
127
|
+
alias paused? stopped?
|
128
|
+
|
129
|
+
def finished?
|
130
|
+
finished || (autofinish && progressable.finished?)
|
131
|
+
end
|
132
|
+
|
133
|
+
def started?
|
134
|
+
timer.started?
|
135
|
+
end
|
136
|
+
|
137
|
+
def decrement
|
138
|
+
update_progress(:decrement)
|
139
|
+
end
|
140
|
+
|
141
|
+
def increment
|
142
|
+
update_progress(:increment)
|
143
|
+
end
|
144
|
+
|
145
|
+
def progress=(new_progress)
|
146
|
+
update_progress(:progress=, new_progress)
|
147
|
+
end
|
148
|
+
|
149
|
+
def total=(new_total)
|
150
|
+
update_progress(:total=, new_total)
|
151
|
+
end
|
152
|
+
|
153
|
+
def progress_mark=(mark)
|
154
|
+
output.refresh_with_format_change { bar_component.progress_mark = mark }
|
155
|
+
end
|
156
|
+
|
157
|
+
def remainder_mark=(mark)
|
158
|
+
output.refresh_with_format_change { bar_component.remainder_mark = mark }
|
159
|
+
end
|
160
|
+
|
161
|
+
def title
|
162
|
+
title_component.title
|
163
|
+
end
|
164
|
+
|
165
|
+
def title=(title)
|
166
|
+
output.refresh_with_format_change { title_component.title = title }
|
167
|
+
end
|
168
|
+
|
169
|
+
def to_s(new_format = nil)
|
170
|
+
self.format = new_format if new_format
|
171
|
+
|
172
|
+
Format::Formatter.process(@format, output.length, self)
|
173
|
+
end
|
174
|
+
|
175
|
+
# rubocop:disable Metrics/AbcSize, Layout/LineLength
|
176
|
+
def to_h
|
177
|
+
{
|
178
|
+
'output_stream' => output.__send__(:stream),
|
179
|
+
'length' => output.length,
|
180
|
+
'title' => title_component.title,
|
181
|
+
'progress_mark' => bar_component.progress_mark,
|
182
|
+
'remainder_mark' => bar_component.remainder_mark,
|
183
|
+
'progress' => progressable.progress,
|
184
|
+
'total' => progressable.total,
|
185
|
+
'percentage' => progressable.percentage_completed_with_precision.to_f,
|
186
|
+
'elapsed_time_in_seconds' => time_component.__send__(:timer).elapsed_seconds,
|
187
|
+
'estimated_time_remaining_in_seconds' => time_component.__send__(:estimated_seconds_remaining),
|
188
|
+
'base_rate_of_change' => rate_component.__send__(:base_rate),
|
189
|
+
'scaled_rate_of_change' => rate_component.__send__(:scaled_rate),
|
190
|
+
'unknown_progress_animation_steps' => bar_component.upa_steps,
|
191
|
+
'throttle_rate' => output.__send__(:throttle).rate,
|
192
|
+
'started?' => started?,
|
193
|
+
'stopped?' => stopped?,
|
194
|
+
'finished?' => finished?
|
195
|
+
}
|
196
|
+
end
|
197
|
+
# rubocop:enable Metrics/AbcSize, Layout/LineLength
|
198
|
+
|
199
|
+
def inspect
|
200
|
+
"#<ProgressBar:#{progress}/#{total || 'unknown'}>"
|
201
|
+
end
|
202
|
+
|
203
|
+
def format=(other)
|
204
|
+
output.refresh_with_format_change do
|
205
|
+
@format = Format::String.new(other || output.default_format)
|
206
|
+
end
|
207
|
+
end
|
208
|
+
|
209
|
+
alias format format=
|
210
|
+
|
211
|
+
protected
|
212
|
+
|
213
|
+
attr_accessor :output,
|
214
|
+
:projector,
|
215
|
+
:timer,
|
216
|
+
:progressable,
|
217
|
+
:title_component,
|
218
|
+
:bar_component,
|
219
|
+
:percentage_component,
|
220
|
+
:rate_component,
|
221
|
+
:time_component,
|
222
|
+
:autostart,
|
223
|
+
:autofinish,
|
224
|
+
:finished
|
225
|
+
|
226
|
+
def update_progress(*args)
|
227
|
+
output.with_refresh do
|
228
|
+
progressable.__send__(*args)
|
229
|
+
projector.__send__(*args)
|
230
|
+
timer.stop if finished?
|
231
|
+
end
|
232
|
+
end
|
233
|
+
end
|
234
|
+
end
|
@@ -50,7 +50,6 @@ class Length
|
|
50
50
|
end
|
51
51
|
# rubocop:enable Style/RescueStandardError
|
52
52
|
|
53
|
-
# rubocop:disable Lint/DuplicateMethods
|
54
53
|
begin
|
55
54
|
require 'io/console'
|
56
55
|
|
@@ -68,7 +67,6 @@ class Length
|
|
68
67
|
dynamic_width_via_system_calls
|
69
68
|
end
|
70
69
|
end
|
71
|
-
# rubocop:enable Lint/DuplicateMethods
|
72
70
|
|
73
71
|
def dynamic_width_via_output_stream_object
|
74
72
|
_rows, columns = output.winsize
|
@@ -2,23 +2,17 @@ class ProgressBar
|
|
2
2
|
module Components
|
3
3
|
class Rate
|
4
4
|
attr_accessor :rate_scale,
|
5
|
-
:started_at,
|
6
|
-
:stopped_at,
|
7
5
|
:timer,
|
8
6
|
:progress
|
9
7
|
|
10
8
|
def initialize(options = {})
|
11
9
|
self.rate_scale = options[:rate_scale] || lambda { |x| x }
|
12
|
-
self.started_at = nil
|
13
|
-
self.stopped_at = nil
|
14
10
|
self.timer = options[:timer]
|
15
11
|
self.progress = options[:progress]
|
16
12
|
end
|
17
13
|
|
18
|
-
private
|
19
|
-
|
20
14
|
def rate_of_change(format_string = '%i')
|
21
|
-
return 0
|
15
|
+
return '0' if elapsed_seconds <= 0
|
22
16
|
|
23
17
|
format_string % scaled_rate
|
24
18
|
end
|
@@ -27,6 +21,8 @@ class Rate
|
|
27
21
|
rate_of_change('%.2f')
|
28
22
|
end
|
29
23
|
|
24
|
+
private
|
25
|
+
|
30
26
|
def scaled_rate
|
31
27
|
rate_scale.call(base_rate)
|
32
28
|
end
|
@@ -12,60 +12,58 @@ class Time
|
|
12
12
|
NO_TIME_ELAPSED_TEXT = '--:--:--'.freeze
|
13
13
|
ESTIMATED_LABEL = ' ETA'.freeze
|
14
14
|
ELAPSED_LABEL = 'Time'.freeze
|
15
|
+
WALL_CLOCK_FORMAT = '%H:%M:%S'.freeze
|
15
16
|
OOB_TEXT_TO_FORMAT = {
|
16
17
|
:unknown => OOB_UNKNOWN_TIME_TEXT,
|
17
18
|
:friendly => OOB_FRIENDLY_TIME_TEXT
|
18
19
|
}.freeze
|
19
20
|
|
20
21
|
def initialize(options = {})
|
21
|
-
self.
|
22
|
-
self.
|
23
|
-
self.
|
22
|
+
self.timer = options[:timer]
|
23
|
+
self.progress = options[:progress]
|
24
|
+
self.projector = options[:projector]
|
24
25
|
end
|
25
26
|
|
26
|
-
def estimated_with_label
|
27
|
-
"#{ESTIMATED_LABEL}: #{estimated}"
|
27
|
+
def estimated_with_label(out_of_bounds_time_format = nil)
|
28
|
+
"#{ESTIMATED_LABEL}: #{estimated(out_of_bounds_time_format)}"
|
28
29
|
end
|
29
30
|
|
30
31
|
def elapsed_with_label
|
31
32
|
"#{ELAPSED_LABEL}: #{elapsed}"
|
32
33
|
end
|
33
34
|
|
34
|
-
protected
|
35
|
-
|
36
35
|
def estimated_with_no_oob
|
37
|
-
|
38
|
-
|
39
|
-
estimated_with_elapsed_fallback
|
36
|
+
estimated_with_elapsed_fallback(nil)
|
40
37
|
end
|
41
38
|
|
42
39
|
def estimated_with_unknown_oob
|
43
|
-
|
44
|
-
|
45
|
-
estimated_with_elapsed_fallback
|
40
|
+
estimated_with_elapsed_fallback(:unknown)
|
46
41
|
end
|
47
42
|
|
48
43
|
def estimated_with_friendly_oob
|
49
|
-
|
50
|
-
|
51
|
-
estimated_with_elapsed_fallback
|
44
|
+
estimated_with_elapsed_fallback(:friendly)
|
52
45
|
end
|
53
46
|
|
54
|
-
|
55
|
-
|
56
|
-
|
47
|
+
def estimated_wall_clock
|
48
|
+
return timer.stopped_at.strftime(WALL_CLOCK_FORMAT) if progress.finished?
|
49
|
+
return NO_TIME_ELAPSED_TEXT unless timer.started?
|
57
50
|
|
58
|
-
|
59
|
-
unless
|
60
|
-
fail StandardError, "Invalid Out Of Bounds time format. Valid formats are #{OOB_TIME_FORMATS.inspect}"
|
61
|
-
end
|
51
|
+
memo_estimated_seconds_remaining = estimated_seconds_remaining
|
52
|
+
return NO_TIME_ELAPSED_TEXT unless memo_estimated_seconds_remaining
|
62
53
|
|
63
|
-
|
54
|
+
(timer.now + memo_estimated_seconds_remaining).
|
55
|
+
strftime(WALL_CLOCK_FORMAT)
|
64
56
|
end
|
65
57
|
|
58
|
+
protected
|
59
|
+
|
60
|
+
attr_accessor :timer,
|
61
|
+
:progress,
|
62
|
+
:projector
|
63
|
+
|
66
64
|
private
|
67
65
|
|
68
|
-
def estimated
|
66
|
+
def estimated(out_of_bounds_time_format)
|
69
67
|
memo_estimated_seconds_remaining = estimated_seconds_remaining
|
70
68
|
|
71
69
|
return OOB_UNKNOWN_TIME_TEXT unless memo_estimated_seconds_remaining
|
@@ -73,7 +71,7 @@ class Time
|
|
73
71
|
hours, minutes, seconds = timer.divide_seconds(memo_estimated_seconds_remaining)
|
74
72
|
|
75
73
|
if hours > OOB_LIMIT_IN_HOURS && out_of_bounds_time_format
|
76
|
-
OOB_TEXT_TO_FORMAT
|
74
|
+
OOB_TEXT_TO_FORMAT.fetch(out_of_bounds_time_format)
|
77
75
|
else
|
78
76
|
TIME_FORMAT % [hours, minutes, seconds]
|
79
77
|
end
|
@@ -87,14 +85,16 @@ class Time
|
|
87
85
|
TIME_FORMAT % [hours, minutes, seconds]
|
88
86
|
end
|
89
87
|
|
90
|
-
def estimated_with_elapsed_fallback
|
91
|
-
progress.finished?
|
88
|
+
def estimated_with_elapsed_fallback(out_of_bounds_time_format)
|
89
|
+
return elapsed_with_label if progress.finished?
|
90
|
+
|
91
|
+
estimated_with_label(out_of_bounds_time_format)
|
92
92
|
end
|
93
93
|
|
94
94
|
def estimated_seconds_remaining
|
95
|
-
return if progress.unknown? || progress.none? || timer.stopped? || timer.reset?
|
95
|
+
return if progress.unknown? || projector.none? || progress.none? || timer.stopped? || timer.reset?
|
96
96
|
|
97
|
-
(timer.elapsed_seconds * (progress.total /
|
97
|
+
(timer.elapsed_seconds * ((progress.total / projector.projection) - 1)).round
|
98
98
|
end
|
99
99
|
end
|
100
100
|
end
|
@@ -13,7 +13,7 @@ class Formatter
|
|
13
13
|
bar_length = max_length -
|
14
14
|
processed_string.displayable_length +
|
15
15
|
format_string.bar_molecule_placeholder_length
|
16
|
-
bar_length =
|
16
|
+
bar_length = 0 if bar_length < 0
|
17
17
|
|
18
18
|
format_string.bar_molecules.each do |molecule|
|
19
19
|
processed_string.gsub!(molecule.full_key,
|
data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.13.0/lib/ruby-progressbar/format/molecule.rb
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
class ProgressBar
|
2
|
+
module Format
|
3
|
+
class Molecule
|
4
|
+
MOLECULES = {
|
5
|
+
:t => [:title_component, :title],
|
6
|
+
:T => [:title_component, :title],
|
7
|
+
:c => [:progressable, :progress],
|
8
|
+
:C => [:progressable, :total],
|
9
|
+
:u => [:progressable, :total_with_unknown_indicator],
|
10
|
+
:p => [:percentage_component, :percentage],
|
11
|
+
:P => [:percentage_component, :percentage_with_precision],
|
12
|
+
:j => [:percentage_component, :justified_percentage],
|
13
|
+
:J => [:percentage_component, :justified_percentage_with_precision],
|
14
|
+
:a => [:time_component, :elapsed_with_label],
|
15
|
+
:e => [:time_component, :estimated_with_unknown_oob],
|
16
|
+
:E => [:time_component, :estimated_with_friendly_oob],
|
17
|
+
:f => [:time_component, :estimated_with_no_oob],
|
18
|
+
:l => [:time_component, :estimated_wall_clock],
|
19
|
+
:B => [:bar_component, :complete_bar],
|
20
|
+
:b => [:bar_component, :bar],
|
21
|
+
:W => [:bar_component, :complete_bar_with_percentage],
|
22
|
+
:w => [:bar_component, :bar_with_percentage],
|
23
|
+
:i => [:bar_component, :incomplete_space],
|
24
|
+
:r => [:rate_component, :rate_of_change],
|
25
|
+
:R => [:rate_component, :rate_of_change_with_precision]
|
26
|
+
}.freeze
|
27
|
+
|
28
|
+
BAR_MOLECULES = %w{W w B b i}.freeze
|
29
|
+
|
30
|
+
attr_accessor :key,
|
31
|
+
:method_name
|
32
|
+
|
33
|
+
def initialize(letter)
|
34
|
+
self.key = letter
|
35
|
+
self.method_name = MOLECULES.fetch(key.to_sym)
|
36
|
+
end
|
37
|
+
|
38
|
+
def bar_molecule?
|
39
|
+
BAR_MOLECULES.include? key
|
40
|
+
end
|
41
|
+
|
42
|
+
def non_bar_molecule?
|
43
|
+
!bar_molecule?
|
44
|
+
end
|
45
|
+
|
46
|
+
def full_key
|
47
|
+
"%#{key}"
|
48
|
+
end
|
49
|
+
|
50
|
+
def lookup_value(environment, length = 0)
|
51
|
+
component = environment.__send__(method_name[0])
|
52
|
+
|
53
|
+
if bar_molecule?
|
54
|
+
component.__send__(method_name[1], length).to_s
|
55
|
+
else
|
56
|
+
component.__send__(method_name[1]).to_s
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|