Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rubygem-faraday.spec'], chrootPath='/var/lib/mock/rocky-9-aarch64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rubygem-faraday.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1618531200 Wrote: /builddir/build/SRPMS/rubygem-faraday-1.0.1-5.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rubygem-faraday.spec'], chrootPath='/var/lib/mock/rocky-9-aarch64/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rubygem-faraday.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1618531200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EP4FRd + umask 022 + cd /builddir/build/BUILD + mkdir -p multipart_parser/multipart_parser + cp /builddir/build/SOURCES/parser.rb /builddir/build/SOURCES/reader.rb multipart_parser/multipart_parser + cd /builddir/build/BUILD + rm -rf faraday-1.0.1 + /usr/bin/gem unpack /builddir/build/SOURCES/faraday-1.0.1.gem Unpacked gem: '/builddir/build/BUILD/faraday-1.0.1' + /usr/bin/gem spec /builddir/build/SOURCES/faraday-1.0.1.gem --ruby + STATUS=0 + '[' 0 -ne 0 ']' + cd faraday-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/rubygem-faraday-1.0.1-Properly-fix-test-failure-with-Rack-2.1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/faraday-1.0.1-net-http-persistent-3-error-kind.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bBY6EL + umask 022 + cd /builddir/build/BUILD + cd faraday-1.0.1 + gem build ../faraday-1.0.1.gemspec Successfully built RubyGem Name: faraday Version: 1.0.1 File: faraday-1.0.1.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection'\'' --with-ldflags='\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 '\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc faraday-1.0.1.gem WARNING: You build with buildroot. Build root: /builddir/build/BUILD/faraday-1.0.1 Bin dir: /builddir/build/BUILD/faraday-1.0.1/usr/bin Gem home: /builddir/build/BUILD/faraday-1.0.1/usr/share/gems Plugins dir: /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/plugins /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/CHANGELOG.md /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/LICENSE.md /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/README.md /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/Rakefile /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/examples/client_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/examples/client_test.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/em_http.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/em_http_ssl_patch.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony/parallel_manager.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/excon.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/httpclient.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/net_http_persistent.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/patron.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/rack.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/test.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/typhoeus.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter_registry.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/autoload.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/connection.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/dependency_loader.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/encoders/flat_params_encoder.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/encoders/nested_params_encoder.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/error.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/file_part.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/logging/formatter.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/middleware.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/middleware_registry.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/options.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/options/connection_options.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/options/env.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/options/proxy_options.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/options/request_options.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/options/ssl_options.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/param_part.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/parameters.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/rack_builder.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/authorization.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/basic_authentication.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/instrumentation.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/multipart.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/retry.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/token_authentication.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/url_encoded.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/response.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/response/logger.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/response/raise_error.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/utils.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/utils/headers.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/utils/params_hash.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/external_adapters/faraday_specs_setup.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/em_http_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/em_synchrony_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/excon_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/httpclient_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/net_http_persistent_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/net_http_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/patron_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/rack_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/typhoeus_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter_registry_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/composite_read_io_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/connection_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/error_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/middleware_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/options/env_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/options/options_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/options/proxy_options_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/options/request_options_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/params_encoders/flat_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/params_encoders/nested_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/rack_builder_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/request/authorization_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/request/instrumentation_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/request/multipart_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/request/retry_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/request/url_encoded_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/request_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/response/logger_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/response/middleware_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/response/raise_error_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/response_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/utils/headers_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/utils_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday_spec.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/spec_helper.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/disabling_stub.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/fake_safe_buffer.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/helper_methods.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/shared_examples/adapter.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/shared_examples/params_encoder.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/shared_examples/request_method.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/streaming_response_checker.rb /builddir/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/webmock_rack_app.rb Successfully installed faraday-1.0.1 Parsing documentation for faraday-1.0.1 Parsing sources... 2% [ 1/49] lib/faraday.rb 4% [ 2/49] lib/faraday/adapter.rb 6% [ 3/49] lib/faraday/adapter/em_http.rb 8% [ 4/49] lib/faraday/adapter/em_http_ssl_patch.rb 10% [ 5/49] lib/faraday/adapter/em_synchrony.rb 12% [ 6/49] lib/faraday/adapter/em_synchrony/parallel_manager.rb 14% [ 7/49] lib/faraday/adapter/excon.rb 16% [ 8/49] lib/faraday/adapter/httpclient.rb 18% [ 9/49] lib/faraday/adapter/net_http.rb 20% [10/49] lib/faraday/adapter/net_http_persistent.rb 22% [11/49] lib/faraday/adapter/patron.rb 24% [12/49] lib/faraday/adapter/rack.rb 26% [13/49] lib/faraday/adapter/test.rb 28% [14/49] lib/faraday/adapter/typhoeus.rb 30% [15/49] lib/faraday/adapter_registry.rb 32% [16/49] lib/faraday/autoload.rb 34% [17/49] lib/faraday/connection.rb 36% [18/49] lib/faraday/dependency_loader.rb 38% [19/49] lib/faraday/encoders/flat_params_encoder.rb 40% [20/49] lib/faraday/encoders/nested_params_encoder.rb 42% [21/49] lib/faraday/error.rb 44% [22/49] lib/faraday/file_part.rb 46% [23/49] lib/faraday/logging/formatter.rb 48% [24/49] lib/faraday/middleware.rb 51% [25/49] lib/faraday/middleware_registry.rb 53% [26/49] lib/faraday/options.rb 55% [27/49] lib/faraday/options/connection_options.rb 57% [28/49] lib/faraday/options/env.rb 59% [29/49] lib/faraday/options/proxy_options.rb 61% [30/49] lib/faraday/options/request_options.rb 63% [31/49] lib/faraday/options/ssl_options.rb 65% [32/49] lib/faraday/param_part.rb 67% [33/49] lib/faraday/parameters.rb 69% [34/49] lib/faraday/rack_builder.rb 71% [35/49] lib/faraday/request.rb 73% [36/49] lib/faraday/request/authorization.rb 75% [37/49] lib/faraday/request/basic_authentication.rb 77% [38/49] lib/faraday/request/instrumentation.rb 79% [39/49] lib/faraday/request/multipart.rb 81% [40/49] lib/faraday/request/retry.rb 83% [41/49] lib/faraday/request/token_authentication.rb 85% [42/49] lib/faraday/request/url_encoded.rb 87% [43/49] lib/faraday/response.rb 89% [44/49] lib/faraday/response/logger.rb 91% [45/49] lib/faraday/response/raise_error.rb 93% [46/49] lib/faraday/utils.rb 95% [47/49] lib/faraday/utils/headers.rb 97% [48/49] lib/faraday/utils/params_hash.rb 100% [49/49] spec/external_adapters/faraday_specs_setup.rb Installing ri documentation for faraday-1.0.1 Installing darkfish documentation for faraday-1.0.1 Done installing documentation for faraday after 1 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NYMKCF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rubygem-faraday-1.0.1-5.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rubygem-faraday-1.0.1-5.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/rubygem-faraday-1.0.1-5.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rubygem-faraday-1.0.1-5.el9.aarch64 + cd faraday-1.0.1 + mkdir -p /builddir/build/BUILDROOT/rubygem-faraday-1.0.1-5.el9.aarch64/usr/share/gems + cp -a ./usr/share/gems/build_info ./usr/share/gems/cache ./usr/share/gems/doc ./usr/share/gems/extensions ./usr/share/gems/gems ./usr/share/gems/plugins ./usr/share/gems/specifications /builddir/build/BUILDROOT/rubygem-faraday-1.0.1-5.el9.aarch64/usr/share/gems/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.0.1-5.el9 --unique-debug-suffix -1.0.1-5.el9.aarch64 --unique-debug-src-base rubygem-faraday-1.0.1-5.el9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/faraday-1.0.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.l7pIo9 + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1 ~/build/BUILD/faraday-1.0.1 + cd faraday-1.0.1 + pushd ./usr/share/gems/gems/faraday-1.0.1 + sed -i '/simplecov/ s/^/#/' spec/spec_helper.rb + sed -i '/coveralls/ s/^/#/' spec/spec_helper.rb + sed -i '/SimpleCov/,/^end$/ s/^/#/' spec/spec_helper.rb + sed -i '/pry/ s/^/#/' spec/spec_helper.rb + mv spec/faraday/adapter/em_synchrony_spec.rb spec/faraday/adapter/em_synchrony_spec.rb.disabled + mv spec/faraday/adapter/patron_spec.rb spec/faraday/adapter/patron_spec.rb.disabled + sed -i '/allows to set min_version in SSL settings/a\ skip' spec/faraday/adapter/net_http_persistent_spec.rb + rspec -I/builddir/build/BUILD/multipart_parser -rspec_helper -r/builddir/build/SOURCES/parser.rb spec -f d Randomized with seed 30990 Faraday::Request supports marshal serialization when method is post is expected to eq :post when nothing particular is configured is expected to eq :get is expected to be falsey when setting the url on setup with a path including params is expected to eq {"a"=>"1", "b"=>"2"} is expected to eq "foo.json" is expected to eq "http://sushi.com/api/foo.json?a=1&b=2" when setting a header on setup with []= syntax is expected to eq "1.0" is expected to eq "Faraday" is expected to eq "Faraday" when setting the body on setup is expected to eq "hi" is expected to eq "hi" when setting the url on setup with a URI is expected to eq {"a"=>"1"} is expected to eq # is expected to eq "http://sushi.com/api/foo.json?a=1" when setting the url on setup with a string path and params is expected to eq "http://sushi.com/api/foo.json?a=1" is expected to eq "foo.json" is expected to eq {"a"=>1} with global request options set is expected to eq 3 is expected to eq 5 is expected to eq 5 is expected to eq 3 and per-request options set is expected to eq 10 is expected to eq {:consumer_key=>"anonymous", :consumer_secret=>"xyz"} is expected to eq "boo" is expected to eq 5 is expected to eq {:bar=>"bar", :foo=>"foo"} is expected to eq 5 is expected to eq 10 Faraday::Response::Middleware with a custom ResponseMiddleware parses the response with a custom ResponseMiddleware but empty response raises exception for 200 responses doesn't call the middleware for 304 responses doesn't call the middleware for 204 responses with a custom ResponseMiddleware and private parse parses the response Faraday::AdapterRegistry #initialize is expected to raise NameError is expected to raise NameError looks up class by string name caches lookups with implicit name caches lookups with explicit name looks up class by symbol name Faraday::NestedParamsEncoder decodes nested subkeys dont have to be in brackets encodes boolean values in array encodes empty string array value encodes empty array value decodes nested ignores malformed keys decodes nested ignores invalid array decodes hashes encodes boolean values encodes nil array value decodes nested final value overrides any type decodes arrays decodes nested array mixed types decodes nested ignores repeated array notation decodes nested arrays rack compat encodes rack compat when expecting array but getting hash behaves like a wrong decoding is expected to raise TypeError when expecting array but getting string behaves like a wrong decoding is expected to raise TypeError when expecting hash but getting array behaves like a wrong decoding is expected to raise TypeError when expecting nested hash but getting non nested behaves like a wrong decoding is expected to raise TypeError behaves like a params encoder raises type error for empty string escapes safe buffer encodes nil when expecting hash but getting string behaves like a wrong decoding is expected to raise TypeError Faraday::ProxyOptions allows hash access #from works with nil works with no auth works with string Faraday::Adapter::NetHttpPersistent allows to set pool_size on initialize allows to provide adapter specific configs sets max_retries to 0 behaves like an adapter with SSL enabled #head behaves like a request method sends request body represents empty body response as blank string retrieves the response headers sends url encoded parameters retrieves the response body handles proxy failures handles requests with proxy handles headers with multiple values supports timeout option parses the reason phrase handles connection error sends user agent sends url encoded nested parameters supports open_timeout option #patch behaves like a request method sends url encoded nested parameters supports open_timeout option supports timeout option sends user agent handles gzip compression handles proxy failures sends files sends url encoded parameters handles deflate compression represents empty body response as blank string handles connection error retrieves the response headers handles headers with multiple values parses the reason phrase retrieves the response body sends request body handles requests with proxy #get behaves like a request method handles deflate compression parses the reason phrase sends user agent sends request body represents empty body response as blank string sends url encoded parameters handles headers with multiple values retrieves the response headers handles proxy failures sends url encoded nested parameters supports timeout option handles connection error retrieves the response body supports open_timeout option handles gzip compression handles requests with proxy #delete behaves like a request method represents empty body response as blank string sends url encoded parameters sends url encoded nested parameters parses the reason phrase retrieves the response headers handles deflate compression handles connection error handles requests with proxy retrieves the response body sends request body handles headers with multiple values sends user agent supports timeout option handles gzip compression handles proxy failures supports open_timeout option #options behaves like a request method sends request body handles gzip compression supports timeout option retrieves the response headers parses the reason phrase handles headers with multiple values supports open_timeout option retrieves the response body handles deflate compression sends user agent handles requests with proxy sends url encoded parameters handles connection error represents empty body response as blank string handles proxy failures sends url encoded nested parameters #post behaves like a request method sends url encoded parameters retrieves the response body retrieves the response headers sends request body parses the reason phrase sends files supports timeout option sends user agent handles requests with proxy represents empty body response as blank string handles proxy failures handles headers with multiple values handles deflate compression handles gzip compression handles connection error supports open_timeout option sends url encoded nested parameters #put behaves like a request method handles headers with multiple values retrieves the response headers handles gzip compression represents empty body response as blank string parses the reason phrase sends user agent sends url encoded parameters handles requests with proxy sends request body supports timeout option handles proxy failures handles deflate compression sends files retrieves the response body handles connection error sends url encoded nested parameters supports open_timeout option #trace behaves like a request method handles gzip compression sends url encoded parameters sends user agent sends url encoded nested parameters handles connection error retrieves the response body supports timeout option handles headers with multiple values represents empty body response as blank string sends request body handles requests with proxy handles proxy failures parses the reason phrase supports open_timeout option handles deflate compression retrieves the response headers with SSL disabled #options behaves like a request method handles headers with multiple values sends request body retrieves the response headers handles requests with proxy parses the reason phrase handles deflate compression handles connection error sends url encoded nested parameters supports timeout option represents empty body response as blank string handles gzip compression sends url encoded parameters supports open_timeout option handles proxy failures sends user agent retrieves the response body #put behaves like a request method handles proxy failures handles connection error retrieves the response headers handles requests with proxy sends url encoded parameters sends files sends request body handles gzip compression sends url encoded nested parameters handles deflate compression supports open_timeout option sends user agent supports timeout option retrieves the response body parses the reason phrase represents empty body response as blank string handles headers with multiple values #trace behaves like a request method handles gzip compression retrieves the response body sends request body supports open_timeout option represents empty body response as blank string handles connection error handles headers with multiple values retrieves the response headers sends user agent handles deflate compression handles proxy failures supports timeout option sends url encoded nested parameters parses the reason phrase handles requests with proxy sends url encoded parameters #head behaves like a request method sends url encoded parameters handles requests with proxy retrieves the response body supports open_timeout option sends request body retrieves the response headers sends url encoded nested parameters handles proxy failures parses the reason phrase supports timeout option sends user agent handles headers with multiple values represents empty body response as blank string handles connection error #delete behaves like a request method supports open_timeout option handles gzip compression handles deflate compression retrieves the response headers handles connection error handles headers with multiple values handles proxy failures sends url encoded nested parameters supports timeout option retrieves the response body handles requests with proxy sends request body sends user agent represents empty body response as blank string parses the reason phrase sends url encoded parameters #get behaves like a request method sends user agent handles gzip compression sends url encoded nested parameters retrieves the response body retrieves the response headers sends request body supports open_timeout option handles proxy failures handles deflate compression represents empty body response as blank string parses the reason phrase handles headers with multiple values sends url encoded parameters supports timeout option handles connection error handles requests with proxy #post behaves like a request method retrieves the response headers handles proxy failures parses the reason phrase handles requests with proxy supports timeout option supports open_timeout option sends files handles connection error represents empty body response as blank string handles headers with multiple values retrieves the response body sends user agent handles deflate compression sends request body handles gzip compression sends url encoded parameters sends url encoded nested parameters #patch behaves like a request method supports open_timeout option sends user agent sends url encoded nested parameters supports timeout option sends url encoded parameters handles deflate compression sends request body handles proxy failures sends files parses the reason phrase retrieves the response headers handles requests with proxy retrieves the response body handles connection error handles headers with multiple values represents empty body response as blank string handles gzip compression min_version Faraday::Response::Logger logs filter headers still returns output does not log response body by default does not log request body by default logs filter url logs response headers by default logs method and url logs request headers by default when using log_level logs headers on the debug level does not log request/response body on the info level logs request/request body on the specified level (debug) does not log headers on the info level when logging request body log only request body when logging request and response bodies logs filter body log request and response body log response body object with custom formatter logs with custom formatter when logging response body log only response body without configuration defaults to stdout when not logging response headers does not log response headers if option is false when not logging request headers does not log request headers if option is false with default formatter delegates logging to the formatter Faraday::Request::Retry #calculate_retry_interval with exponential backoff and max_interval is expected to eq 0.2 is expected to eq 0.3 is expected to eq 0.1 is expected to eq 0.3 with exponential backoff and interval_randomness is expected to be between 0.1 and 0.15 (inclusive) with exponential backoff is expected to eq 0.1 is expected to eq 0.2 is expected to eq 0.4 retry_after header support when retry_after is bigger than max_interval is expected to eq 1 when retry_after bigger than interval is expected to be > 0.5 when retry_after is a timestamp is expected to be > 1 when retry_after smaller than interval is expected to be > 0.2 when an expected error happens is expected to eq 3 and legacy max_retry set to 1 is expected to eq 2 and legacy max_retry set to -9 is expected to eq 1 and new max_retry set to 3 is expected to eq 4 and both max_retry and interval are set is expected to be within 0.04 of 0.2 and new max_retry set to -9 is expected to eq 1 when no exception raised and response code is in retry_statuses is expected to eq 2 and response code is not in retry_statuses is expected to eq 1 when an unexpected error happens is expected to eq 1 and this is passed as a custom exception is expected to eq 3 when method is not idempotent is expected to eq 1 retry_if option FilePart: should rewind files on retry UploadIO: should rewind files on retry retries if retry_if block always returns true does not retry if retry_if block returns false checking env does not retry if retry_if block returns false checking exception with empty list of methods to retry calls retry_if for all methods when explicitly specifying methods to retry does not call retry_if for specified methods Faraday::RackBuilder with custom adapter only is expected to be nil is expected to eq Faraday::Adapter::Test when having a handler with broken dependency raises an error while making a request when having two handlers allows insert_after allows insert_before allows to swap handlers allows to delete a handler with custom handler and adapter allows to compare handlers locks the stack after making a request dup stack is unlocked with custom empty block is expected to eq Faraday::Adapter::NetHttp is expected to be nil when having a single handler raises an error trying to use an unregistered symbol allows use allows insert_after allows rebuilding allows insert_before is expected to eq [Apple] with custom registered middleware allows to register with symbol allows to register with Proc allows to register with string allows to register with constant with default stack is expected to eq Faraday::Adapter::NetHttp is expected to eq Faraday::Request::UrlEncoded Faraday has a version number proxies to default_connection uses method_missing on Faraday if there is no proxyable method proxies methods that exist on the default_connection proxied methods can be accessed Faraday::Env ignores false when fetching allows to access symbol non members retains custom members allows to access members allows to access string non members #body when response is finished returns the response body allows to access request_body allows to access response_body when response is not finished yet returns the request body Faraday::Adapter #request_timeout gets :write timeout gets :read timeout attempts unknown timeout type gets :open timeout Faraday::Connection proxy support allows when prefixed url is not in no proxy list accepts env without scheme accepts string test proxy requires uri uses env http_proxy uses processes no_proxy before http_proxy ignores env proxy if set that way accepts hash with string uri fetches no proxy from nil env allows in multi element no proxy list accepts uri allows when url is not in no proxy list but ip address is allows when url in no proxy list allows when subdomain url is in no proxy list gives priority to manually set proxy allows when ip address is not in no proxy list but url is accepts http env uses env https_proxy does not accept uppercase env allows when url not in no proxy list accepts hash fetches no proxy from blank env uses processes no_proxy before https_proxy accepts http env with auth performing a request dynamically check no proxy dynamically checks proxy #to_env bracketizes repeated params in query bracketizes nested params in query parses url params into query without braketizing repeated params in query escapes per spec #build_exclusive_url allows to provide params argument overrides connection port for absolute url handles uri instances does not use connection params does not add ending slash given empty url does not add ending slash given nil url with url_prefixed connection joins url to base with ending slash parses url and changes scheme used default base with ending slash overrides base with absolute path example at ./spec/faraday/connection_spec.rb:195 is expected to eq "/sake.html" is expected to eq "/sake.html" is expected to eq "/sake.html" with relative path uses connection host as default host is expected to eq "/sake.html" is expected to eq "/fish/sake.html" is expected to eq "/fish/sake.html" is expected to eq "/fish/sake.html" with complete url is expected to eq "sushi.com" is expected to eq "http" is expected to eq "/sake.html" is expected to eq "a=1" is expected to eq 80 request params with flat params encoder supports array params in params with array param in url is expected to request GET http://example.com/?color=blue 1 time with simple url test_overrides_request_params_block_url test_overrides_request_params test_overrides_request_params_block with url and extra params allows to set params_encoder for single request merges connection and request params allows to override all params with default params encoder supports array params in params supports array params in url basic_auth calling the #basic_auth method is expected to eq "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==" adding basic auth info to url is expected to eq "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==" #build_request is expected to be falsey is expected to eq ["Authorization"] is expected to be truthy is expected to be empty #dup is expected to eq "1" is expected to eq "text/plain" is expected to eq # after manual changes is expected to be falsey is expected to eq 5 is expected to eq 1 is expected to be falsey is expected to be nil is expected to eq 1 .new with custom headers is expected to eq "Faraday" with empty block is expected to eq 0 with implicit url param behaves like initializer with url with simple url is expected to eq "sushi.com" is expected to eq {} is expected to eq 80 is expected to eq "http" is expected to eq "/" with complex url is expected to eq "/fish" is expected to eq 815 is expected to eq {"a"=>"1"} with custom params and params in url is expected to eq {"a"=>3, "b"=>"2"} with custom params is expected to eq {"a"=>1} with ssl false is expected to be falsey with explicit url param behaves like initializer with url with simple url is expected to eq 80 is expected to eq {} is expected to eq "http" is expected to eq "/" is expected to eq "sushi.com" with complex url is expected to eq 815 is expected to eq "/fish" is expected to eq {"a"=>"1"} with block is expected to eq "/omnom" is expected to eq 0 with custom builder is expected to eq # #respond_to? is expected to be truthy is expected to be truthy default_connection_options assigning a default value behaves like default connection options default connection uses default connection options works with implicit url works with instance connection options default connection options persist with an instance overriding works with option url assigning a hash behaves like default connection options works with instance connection options works with option url default connection uses default connection options default connection options persist with an instance overriding works with implicit url #close can close underlying app #token_auth is expected to eq "Token nonce=\"abc\", token=\"abcdef\"" #build_url uses params merges params Faraday::ClientError .initialize with anything else #to_s is expected to eq "[\"error1\", \"error2\"]" is expected to be nil is expected to be nil is expected to eq "#>" with response hash is expected to be nil is expected to eq "the server responded with status 400" is expected to eq {:status=>400} is expected to eq "#400}>" with string is expected to be nil is expected to be nil is expected to eq "#>" is expected to eq "custom message" with exception only is expected to eq nil is expected to be nil is expected to eq # is expected to eq "#>" is expected to eq "test" Faraday::Request::UrlEncoded ignores custom content type works with with headers works with unicode works with no headers works with non nested params works with nested keys works with nested params does nothing without payload customising default_space_encoding uses the custom character to encode spaces Faraday::Adapter::EMHttp allows to provide adapter specific configs Options configures timeout configures timeout and open_timeout configures all timeout settings behaves like an adapter with SSL enabled #options behaves like a request method binds local socket handles headers with multiple values handles connection error sends request body supports open_timeout option retrieves the response body sends user agent supports timeout option represents empty body response as blank string sends url encoded parameters parses the reason phrase sends url encoded nested parameters handles requests with proxy retrieves the response headers handles proxy failures with parallel setup handles parallel requests body handles parallel requests status #patch behaves like a request method handles headers with multiple values sends url encoded parameters sends request body sends files parses the reason phrase represents empty body response as blank string retrieves the response body binds local socket supports timeout option retrieves the response headers handles requests with proxy handles proxy failures sends url encoded nested parameters supports open_timeout option sends user agent handles connection error with parallel setup handles parallel requests body handles parallel requests status #get behaves like a request method sends request body sends url encoded parameters binds local socket represents empty body response as blank string handles proxy failures retrieves the response body handles requests with proxy sends url encoded nested parameters supports timeout option parses the reason phrase handles headers with multiple values handles connection error supports open_timeout option retrieves the response headers sends user agent with parallel setup handles parallel requests body handles parallel requests status #post behaves like a request method sends url encoded nested parameters retrieves the response body parses the reason phrase represents empty body response as blank string handles proxy failures sends user agent handles connection error sends files supports timeout option retrieves the response headers supports open_timeout option binds local socket handles headers with multiple values handles requests with proxy sends request body sends url encoded parameters with parallel setup handles parallel requests status handles parallel requests body #delete behaves like a request method retrieves the response body supports timeout option retrieves the response headers supports open_timeout option binds local socket represents empty body response as blank string handles connection error handles proxy failures sends url encoded nested parameters handles requests with proxy parses the reason phrase sends url encoded parameters sends user agent sends request body handles headers with multiple values with parallel setup handles parallel requests status handles parallel requests body #head behaves like a request method handles proxy failures handles headers with multiple values handles requests with proxy retrieves the response headers supports open_timeout option binds local socket parses the reason phrase sends user agent sends url encoded nested parameters represents empty body response as blank string supports timeout option sends request body handles connection error sends url encoded parameters with parallel setup handles parallel requests status #trace behaves like a request method parses the reason phrase handles proxy failures sends request body supports timeout option sends url encoded parameters handles headers with multiple values supports open_timeout option represents empty body response as blank string retrieves the response headers binds local socket sends url encoded nested parameters sends user agent retrieves the response body handles connection error handles requests with proxy with parallel setup handles parallel requests body handles parallel requests status #put behaves like a request method retrieves the response body handles headers with multiple values binds local socket retrieves the response headers sends url encoded parameters supports timeout option sends url encoded nested parameters represents empty body response as blank string supports open_timeout option sends files handles requests with proxy sends request body sends user agent handles connection error handles proxy failures parses the reason phrase with parallel setup handles parallel requests status handles parallel requests body with SSL disabled #put behaves like a request method supports open_timeout option sends url encoded parameters handles proxy failures sends request body sends url encoded nested parameters handles headers with multiple values sends user agent handles connection error binds local socket retrieves the response body supports timeout option sends files handles requests with proxy parses the reason phrase represents empty body response as blank string retrieves the response headers with parallel setup handles parallel requests body handles parallel requests status #post behaves like a request method sends user agent sends url encoded parameters represents empty body response as blank string sends request body sends files sends url encoded nested parameters parses the reason phrase supports timeout option handles proxy failures retrieves the response body supports open_timeout option handles connection error retrieves the response headers handles headers with multiple values binds local socket handles requests with proxy with parallel setup handles parallel requests body handles parallel requests status #trace behaves like a request method supports timeout option retrieves the response headers handles connection error retrieves the response body handles proxy failures handles requests with proxy handles headers with multiple values parses the reason phrase binds local socket sends url encoded nested parameters sends request body sends url encoded parameters supports open_timeout option represents empty body response as blank string sends user agent with parallel setup handles parallel requests status handles parallel requests body #get behaves like a request method binds local socket supports timeout option sends url encoded parameters handles headers with multiple values retrieves the response headers handles proxy failures handles requests with proxy sends url encoded nested parameters parses the reason phrase supports open_timeout option represents empty body response as blank string sends user agent retrieves the response body handles connection error sends request body with parallel setup handles parallel requests status handles parallel requests body #head behaves like a request method sends user agent parses the reason phrase handles requests with proxy sends url encoded parameters retrieves the response headers sends url encoded nested parameters represents empty body response as blank string sends request body handles headers with multiple values handles connection error supports open_timeout option handles proxy failures supports timeout option binds local socket with parallel setup handles parallel requests status #options behaves like a request method handles proxy failures parses the reason phrase supports open_timeout option sends request body retrieves the response body sends url encoded nested parameters handles headers with multiple values retrieves the response headers sends url encoded parameters binds local socket handles connection error supports timeout option sends user agent represents empty body response as blank string handles requests with proxy with parallel setup handles parallel requests status handles parallel requests body #patch behaves like a request method handles connection error handles proxy failures supports open_timeout option sends url encoded parameters retrieves the response body handles headers with multiple values parses the reason phrase sends files sends user agent sends request body supports timeout option retrieves the response headers represents empty body response as blank string sends url encoded nested parameters handles requests with proxy binds local socket with parallel setup handles parallel requests body handles parallel requests status #delete behaves like a request method parses the reason phrase retrieves the response headers represents empty body response as blank string supports open_timeout option binds local socket sends user agent sends url encoded nested parameters handles proxy failures supports timeout option handles headers with multiple values handles connection error handles requests with proxy sends url encoded parameters retrieves the response body sends request body with parallel setup handles parallel requests status handles parallel requests body Faraday::Request::Multipart UploadIO: when multipart objects in param forms a multipart request behaves like a multipart request generates a unique boundary for each request FilePart: when providing json and IO content in the same payload forms a multipart request behaves like a multipart request generates a unique boundary for each request UploadIO: when providing json and IO content in the same payload forms a multipart request behaves like a multipart request generates a unique boundary for each request FilePart: when multipart objects in param forms a multipart request behaves like a multipart request generates a unique boundary for each request FilePart: when multipart objects in array param forms a multipart request behaves like a multipart request generates a unique boundary for each request UploadIO: when multipart objects in array param forms a multipart request behaves like a multipart request generates a unique boundary for each request Faraday::Response::RaiseError raises no exception for 200 responses raises Faraday::ServerError for 500 responses raises Faraday::ClientError for other 4xx responses raises Faraday::UnprocessableEntityError for 422 responses raises Faraday::ForbiddenError for 403 responses raises Faraday::ProxyAuthError for 407 responses raises Faraday::BadRequestError for 400 responses raises Faraday::UnauthorizedError for 401 responses raises Faraday::ResourceNotFound for 404 responses raises Faraday::ConflictError for 409 responses raises Faraday::NilStatusError for nil status in response Faraday::Utils::Headers when Content-Type is set to application/json is expected to include "content-type" is expected to eq "application/json" is expected to eq "application/json" is expected to eq ["Content-Type"] is expected to eq "application/json" when Content-Type is set to application/xml is expected to include "content-type" is expected to eq "application/xml" is expected to eq "application/xml" is expected to eq ["Content-Type"] is expected to eq "application/xml" #delete is expected to eq 0 is expected to eq "application/json" is expected not to include "content-type" is expected to be nil #fetch is expected to eq "application/json" is expected to eq "Invalid key" is expected to be nil is expected to eq "application/json" raises an error if key not found calls a block when provided is expected to eq "default" is expected to eq "application/json" is expected to eq false #parse when response headers leave http status line out is expected to eq "text/html" is expected to eq ["Content-Type"] is expected to eq "text/html" when response headers include a blank line is expected to eq "text/html" when response headers values include a colon is expected to eq "http://sushi.com/" Faraday::Middleware #close with app that supports #close should issue warning with app that doesn't support #close should issue warning Faraday::Response is expected to raise RuntimeError is expected to eq "yikes" is expected to be truthy is expected to eq 404 is expected to be falsey is expected to eq "text/plain" is expected to eq "text/plain" #apply_request is expected to eq "yikes" is expected to eq :post #on_complete can access response body in on_complete callback parse body on finish can access response body in on_complete callback marshal serialization support is expected to eq 404 is expected to eq "yikes" is expected to be nil is expected to eq {"Content-Type"=>"text/plain"} #to_hash is expected to eq "yikes" is expected to eq {"Content-Type"=>"text/plain"} is expected to eq 404 is expected to be a kind of Hash Faraday::Utils URI parsing parses with default parser parses with block parses with URI escapes safe buffer replaces headers hash headers parsing parse headers for aggregated responses Faraday::Adapter::NetHttp checking http sets max_retries to 0 is expected to eq 80 supports write_timeout supports read_timeout supports open_timeout with http url including port is expected to eq 1234 with https url is expected to eq 443 with custom adapter config is expected to eq 123 behaves like an adapter with SSL enabled #put behaves like a request method handles connection error retrieves the response body handles requests with proxy handles headers with multiple values supports open_timeout option supports timeout option retrieves the response headers sends request body sends user agent represents empty body response as blank string sends url encoded nested parameters handles deflate compression parses the reason phrase handles proxy failures sends url encoded parameters handles gzip compression sends files streaming when response contains big data handles streaming when response is empty is expected to eq [["", 0]] #trace behaves like a request method retrieves the response body handles headers with multiple values sends url encoded nested parameters handles proxy failures handles deflate compression handles requests with proxy sends url encoded parameters sends request body retrieves the response headers handles connection error supports open_timeout option parses the reason phrase represents empty body response as blank string sends user agent supports timeout option handles gzip compression streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #head behaves like a request method sends url encoded parameters sends url encoded nested parameters sends request body sends user agent parses the reason phrase retrieves the response headers handles headers with multiple values handles connection error handles proxy failures represents empty body response as blank string handles requests with proxy retrieves the response body supports open_timeout option supports timeout option streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #get behaves like a request method handles requests with proxy handles headers with multiple values handles proxy failures sends url encoded nested parameters handles gzip compression sends user agent sends url encoded parameters represents empty body response as blank string supports timeout option parses the reason phrase sends request body supports open_timeout option handles connection error retrieves the response body retrieves the response headers handles deflate compression streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #patch behaves like a request method handles requests with proxy represents empty body response as blank string handles connection error sends url encoded nested parameters sends request body sends url encoded parameters handles headers with multiple values retrieves the response headers sends user agent handles proxy failures handles gzip compression supports open_timeout option supports timeout option sends files parses the reason phrase handles deflate compression retrieves the response body streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #options behaves like a request method sends user agent sends url encoded nested parameters sends request body handles headers with multiple values represents empty body response as blank string supports timeout option retrieves the response headers handles gzip compression handles proxy failures sends url encoded parameters parses the reason phrase handles connection error handles deflate compression retrieves the response body supports open_timeout option handles requests with proxy streaming when response contains big data handles streaming when response is empty is expected to eq [["", 0]] #post behaves like a request method sends request body retrieves the response body handles connection error handles deflate compression handles proxy failures sends url encoded parameters sends files supports open_timeout option represents empty body response as blank string sends user agent sends url encoded nested parameters handles gzip compression parses the reason phrase handles headers with multiple values supports timeout option handles requests with proxy retrieves the response headers streaming when response contains big data handles streaming when response is empty is expected to eq [["", 0]] #delete behaves like a request method handles requests with proxy supports open_timeout option handles headers with multiple values handles proxy failures parses the reason phrase sends url encoded nested parameters retrieves the response body represents empty body response as blank string retrieves the response headers supports timeout option handles gzip compression sends url encoded parameters handles connection error handles deflate compression sends request body sends user agent streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming with SSL disabled #put behaves like a request method handles gzip compression handles proxy failures sends url encoded nested parameters sends request body sends files handles deflate compression retrieves the response headers handles requests with proxy represents empty body response as blank string parses the reason phrase supports timeout option sends url encoded parameters sends user agent handles headers with multiple values retrieves the response body supports open_timeout option handles connection error streaming when response contains big data handles streaming when response is empty is expected to eq [["", 0]] #post behaves like a request method sends request body sends url encoded parameters handles headers with multiple values retrieves the response body represents empty body response as blank string handles proxy failures handles connection error supports timeout option sends user agent retrieves the response headers parses the reason phrase sends url encoded nested parameters sends files handles deflate compression handles requests with proxy handles gzip compression supports open_timeout option streaming when response contains big data handles streaming when response is empty is expected to eq [["", 0]] #options behaves like a request method parses the reason phrase retrieves the response body sends url encoded parameters handles deflate compression handles requests with proxy sends user agent supports open_timeout option handles connection error handles headers with multiple values sends url encoded nested parameters represents empty body response as blank string sends request body retrieves the response headers handles gzip compression handles proxy failures supports timeout option streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #trace behaves like a request method handles requests with proxy retrieves the response body supports timeout option retrieves the response headers handles gzip compression sends url encoded nested parameters handles connection error handles headers with multiple values represents empty body response as blank string parses the reason phrase sends request body handles deflate compression sends url encoded parameters handles proxy failures sends user agent supports open_timeout option streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #get behaves like a request method supports timeout option parses the reason phrase handles deflate compression handles headers with multiple values handles requests with proxy sends request body retrieves the response headers handles proxy failures handles connection error sends user agent handles gzip compression supports open_timeout option sends url encoded nested parameters sends url encoded parameters retrieves the response body represents empty body response as blank string streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #head behaves like a request method retrieves the response headers sends url encoded parameters sends url encoded nested parameters retrieves the response body handles requests with proxy represents empty body response as blank string supports open_timeout option handles proxy failures supports timeout option handles headers with multiple values sends user agent parses the reason phrase sends request body handles connection error streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #patch behaves like a request method handles headers with multiple values handles gzip compression handles requests with proxy represents empty body response as blank string sends request body sends user agent sends files handles proxy failures parses the reason phrase handles deflate compression supports timeout option handles connection error sends url encoded nested parameters retrieves the response headers retrieves the response body sends url encoded parameters supports open_timeout option streaming when response contains big data handles streaming when response is empty is expected to eq [["", 0]] #delete behaves like a request method represents empty body response as blank string sends url encoded parameters handles deflate compression parses the reason phrase sends url encoded nested parameters handles headers with multiple values supports open_timeout option supports timeout option retrieves the response body sends user agent retrieves the response headers handles proxy failures handles connection error handles gzip compression handles requests with proxy sends request body streaming when response contains big data handles streaming when response is empty is expected to eq [["", 0]] Faraday::Adapter::Typhoeus behaves like an adapter with SSL enabled #put behaves like a request method handles headers with multiple values retrieves the response body handles connection error supports open_timeout option sends url encoded nested parameters sends user agent sends url encoded parameters handles proxy failures sends request body handles requests with proxy supports timeout option retrieves the response headers sends files represents empty body response as blank string with parallel setup handles parallel requests status handles parallel requests body #options behaves like a request method sends url encoded parameters sends url encoded nested parameters supports open_timeout option handles proxy failures sends request body retrieves the response body handles connection error represents empty body response as blank string supports timeout option retrieves the response headers sends user agent handles requests with proxy handles headers with multiple values with parallel setup handles parallel requests body handles parallel requests status #trace behaves like a request method represents empty body response as blank string handles headers with multiple values retrieves the response body retrieves the response headers supports open_timeout option sends url encoded nested parameters sends request body handles requests with proxy supports timeout option sends url encoded parameters handles connection error handles proxy failures sends user agent with parallel setup handles parallel requests status handles parallel requests body #get behaves like a request method retrieves the response headers handles headers with multiple values supports timeout option retrieves the response body sends url encoded nested parameters sends user agent sends request body supports open_timeout option handles connection error sends url encoded parameters handles proxy failures represents empty body response as blank string handles requests with proxy with parallel setup handles parallel requests status handles parallel requests body #head behaves like a request method sends request body handles proxy failures supports timeout option handles headers with multiple values sends url encoded nested parameters retrieves the response headers supports open_timeout option sends user agent handles requests with proxy sends url encoded parameters retrieves the response body represents empty body response as blank string handles connection error with parallel setup handles parallel requests body handles parallel requests status #delete behaves like a request method sends user agent retrieves the response body handles headers with multiple values supports open_timeout option represents empty body response as blank string handles connection error handles requests with proxy handles proxy failures supports timeout option sends url encoded nested parameters sends url encoded parameters sends request body retrieves the response headers with parallel setup handles parallel requests body handles parallel requests status #patch behaves like a request method handles headers with multiple values supports open_timeout option handles proxy failures retrieves the response body retrieves the response headers sends url encoded parameters handles requests with proxy supports timeout option sends url encoded nested parameters sends user agent handles connection error sends request body represents empty body response as blank string sends files with parallel setup handles parallel requests body handles parallel requests status #post behaves like a request method retrieves the response body retrieves the response headers supports timeout option supports open_timeout option handles proxy failures handles requests with proxy sends url encoded parameters handles connection error sends user agent sends url encoded nested parameters sends files represents empty body response as blank string handles headers with multiple values sends request body with parallel setup handles parallel requests status handles parallel requests body with SSL disabled #trace behaves like a request method retrieves the response body handles headers with multiple values handles proxy failures retrieves the response headers sends url encoded nested parameters sends url encoded parameters supports open_timeout option handles connection error handles requests with proxy sends user agent represents empty body response as blank string sends request body supports timeout option with parallel setup handles parallel requests status handles parallel requests body #head behaves like a request method supports timeout option handles proxy failures supports open_timeout option handles headers with multiple values represents empty body response as blank string sends url encoded parameters handles connection error sends user agent retrieves the response headers sends url encoded nested parameters retrieves the response body sends request body handles requests with proxy with parallel setup handles parallel requests body handles parallel requests status #delete behaves like a request method handles requests with proxy handles proxy failures sends url encoded parameters handles headers with multiple values sends user agent retrieves the response body sends request body retrieves the response headers supports open_timeout option sends url encoded nested parameters handles connection error supports timeout option represents empty body response as blank string with parallel setup handles parallel requests body handles parallel requests status #put behaves like a request method supports timeout option represents empty body response as blank string supports open_timeout option sends user agent retrieves the response headers handles connection error handles headers with multiple values handles proxy failures sends files sends request body handles requests with proxy sends url encoded nested parameters retrieves the response body sends url encoded parameters with parallel setup handles parallel requests body handles parallel requests status #options behaves like a request method sends url encoded nested parameters sends url encoded parameters handles requests with proxy retrieves the response body supports open_timeout option sends user agent handles headers with multiple values retrieves the response headers handles connection error sends request body represents empty body response as blank string handles proxy failures supports timeout option with parallel setup handles parallel requests status handles parallel requests body #post behaves like a request method handles connection error supports open_timeout option supports timeout option sends request body sends url encoded nested parameters sends url encoded parameters handles requests with proxy handles headers with multiple values handles proxy failures retrieves the response body represents empty body response as blank string sends user agent retrieves the response headers sends files with parallel setup handles parallel requests body handles parallel requests status #get behaves like a request method handles proxy failures supports open_timeout option sends url encoded nested parameters supports timeout option sends user agent retrieves the response headers handles requests with proxy sends request body handles headers with multiple values represents empty body response as blank string sends url encoded parameters handles connection error retrieves the response body with parallel setup handles parallel requests body handles parallel requests status #patch behaves like a request method sends user agent sends url encoded nested parameters sends request body supports open_timeout option sends url encoded parameters handles proxy failures retrieves the response body handles requests with proxy handles headers with multiple values retrieves the response headers supports timeout option sends files represents empty body response as blank string handles connection error with parallel setup handles parallel requests body handles parallel requests status Faraday::Options #merge deeply merges options with nil deeply merges options with options having nil sub-options merges options with hashes deeply merges two options deeply merges options with hashes #fetch when the fetched key has a value works with key grabs value when the fetched key has no value needs a default if key is missing accepts block uses falsey default #key? returns true if the key exists and is not nil #from is expected to raise NoMethodError works with hash with sub object works with options works with deep hash works with options with sub object respects inheritance works with hash works with nil #empty? returns true only if all options are nil #clear clears the options #each_key allows to iterate through keys #deep_dup duplicate options and also suboptions #dup duplicate options but not sub-options #value? returns true if any key has that value #memoized accepts block requires block #each_value allows to iterate through values #update updates options from hashes #delete allows to remove value for key Faraday::Adapter::Rack behaves like an adapter with SSL enabled #trace behaves like a request method sends request body handles connection error retrieves the response body represents empty body response as blank string sends url encoded nested parameters supports timeout option handles headers with multiple values sends user agent supports open_timeout option handles proxy failures retrieves the response headers sends url encoded parameters handles requests with proxy #get behaves like a request method handles requests with proxy handles proxy failures retrieves the response body handles connection error sends url encoded nested parameters sends request body sends user agent supports timeout option handles headers with multiple values supports open_timeout option retrieves the response headers represents empty body response as blank string sends url encoded parameters #post behaves like a request method supports timeout option supports open_timeout option sends request body handles connection error retrieves the response body sends url encoded nested parameters sends url encoded parameters represents empty body response as blank string sends user agent handles requests with proxy sends files handles headers with multiple values handles proxy failures retrieves the response headers #patch behaves like a request method handles requests with proxy handles connection error supports open_timeout option sends request body retrieves the response body sends files handles headers with multiple values retrieves the response headers handles proxy failures sends url encoded parameters sends user agent sends url encoded nested parameters represents empty body response as blank string supports timeout option #put behaves like a request method handles headers with multiple values handles proxy failures sends url encoded parameters sends user agent handles requests with proxy sends request body supports timeout option sends url encoded nested parameters represents empty body response as blank string retrieves the response headers retrieves the response body supports open_timeout option sends files handles connection error #delete behaves like a request method supports open_timeout option supports timeout option retrieves the response headers handles requests with proxy sends url encoded parameters sends user agent handles headers with multiple values retrieves the response body handles proxy failures handles connection error represents empty body response as blank string sends request body sends url encoded nested parameters #options behaves like a request method retrieves the response body handles proxy failures handles connection error retrieves the response headers handles headers with multiple values sends url encoded parameters supports open_timeout option sends request body supports timeout option sends url encoded nested parameters represents empty body response as blank string handles requests with proxy sends user agent #head behaves like a request method sends user agent supports timeout option handles connection error handles requests with proxy sends url encoded parameters sends request body represents empty body response as blank string handles headers with multiple values supports open_timeout option retrieves the response headers handles proxy failures sends url encoded nested parameters with SSL disabled #delete behaves like a request method supports open_timeout option sends user agent supports timeout option handles headers with multiple values handles proxy failures handles requests with proxy handles connection error retrieves the response headers retrieves the response body sends url encoded nested parameters sends url encoded parameters sends request body represents empty body response as blank string #patch behaves like a request method sends user agent supports timeout option handles connection error retrieves the response body sends request body retrieves the response headers sends url encoded nested parameters handles requests with proxy represents empty body response as blank string handles proxy failures sends url encoded parameters supports open_timeout option sends files handles headers with multiple values #post behaves like a request method handles proxy failures represents empty body response as blank string handles requests with proxy supports timeout option retrieves the response body sends files sends user agent supports open_timeout option handles headers with multiple values retrieves the response headers sends url encoded parameters sends request body sends url encoded nested parameters handles connection error #head behaves like a request method sends url encoded nested parameters sends request body supports timeout option handles connection error handles headers with multiple values retrieves the response headers represents empty body response as blank string handles requests with proxy supports open_timeout option sends user agent handles proxy failures sends url encoded parameters #get behaves like a request method handles connection error handles requests with proxy handles headers with multiple values sends user agent retrieves the response body sends url encoded parameters represents empty body response as blank string supports open_timeout option sends request body sends url encoded nested parameters retrieves the response headers supports timeout option handles proxy failures #put behaves like a request method sends request body sends files retrieves the response body sends url encoded nested parameters retrieves the response headers supports open_timeout option sends user agent handles proxy failures supports timeout option handles connection error handles requests with proxy represents empty body response as blank string handles headers with multiple values sends url encoded parameters #trace behaves like a request method handles requests with proxy sends user agent sends request body supports open_timeout option sends url encoded nested parameters represents empty body response as blank string sends url encoded parameters handles connection error handles headers with multiple values supports timeout option retrieves the response headers handles proxy failures retrieves the response body #options behaves like a request method supports timeout option sends user agent represents empty body response as blank string handles connection error sends url encoded parameters handles requests with proxy handles headers with multiple values retrieves the response body sends url encoded nested parameters supports open_timeout option retrieves the response headers handles proxy failures sends request body Faraday::Request::Authorization authorization when passed two strings is expected to eq "custom abc def" and request already has an authentication header does not interfere with existing authorization when passed a string and a hash is expected to eq "baz foo=\"42\"" and request already has an authentication header does not interfere with existing authorization basic_auth when passed very long values is expected to eq "Basic QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU...UFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBOg==" and request already has an authentication header does not interfere with existing authorization when passed correct params is expected to eq "Basic YWxhZGRpbjpvcGVuc2VzYW1l" and request already has an authentication header does not interfere with existing authorization token_auth when other values are provided is expected to match /foo="42"/ is expected to match /token="baz"/ is expected to match /^Token / and request already has an authentication header does not interfere with existing authorization when passed correct params is expected to eq "Token token=\"quux\"" and request already has an authentication header does not interfere with existing authorization Faraday::Adapter::Excon allows to provide adapter specific configs config sets timeout sets timeout and open_timeout sets open_timeout behaves like an adapter with SSL disabled #post behaves like a request method sends user agent represents empty body response as blank string handles connection error retrieves the response headers handles proxy failures supports timeout option handles headers with multiple values sends url encoded nested parameters sends request body sends url encoded parameters sends files parses the reason phrase supports open_timeout option retrieves the response body handles requests with proxy #patch behaves like a request method sends url encoded nested parameters retrieves the response headers represents empty body response as blank string handles requests with proxy supports open_timeout option retrieves the response body handles proxy failures handles connection error sends files parses the reason phrase sends url encoded parameters handles headers with multiple values supports timeout option sends request body sends user agent #get behaves like a request method retrieves the response body represents empty body response as blank string handles headers with multiple values handles requests with proxy retrieves the response headers sends url encoded parameters sends user agent handles connection error supports open_timeout option supports timeout option sends request body handles proxy failures parses the reason phrase sends url encoded nested parameters #options behaves like a request method handles connection error retrieves the response headers sends request body parses the reason phrase handles requests with proxy handles proxy failures retrieves the response body supports timeout option represents empty body response as blank string sends url encoded nested parameters supports open_timeout option sends url encoded parameters sends user agent handles headers with multiple values #put behaves like a request method represents empty body response as blank string sends user agent handles proxy failures handles requests with proxy supports open_timeout option sends request body retrieves the response headers parses the reason phrase sends url encoded nested parameters sends files handles headers with multiple values sends url encoded parameters handles connection error retrieves the response body supports timeout option #trace behaves like a request method represents empty body response as blank string sends user agent supports timeout option supports open_timeout option sends url encoded parameters retrieves the response headers retrieves the response body sends url encoded nested parameters handles connection error sends request body parses the reason phrase handles requests with proxy handles headers with multiple values handles proxy failures #head behaves like a request method represents empty body response as blank string handles requests with proxy supports timeout option handles headers with multiple values sends user agent retrieves the response headers handles proxy failures sends url encoded parameters sends request body parses the reason phrase retrieves the response body sends url encoded nested parameters handles connection error supports open_timeout option #delete behaves like a request method sends url encoded nested parameters sends user agent handles connection error handles requests with proxy retrieves the response body handles headers with multiple values represents empty body response as blank string sends request body parses the reason phrase sends url encoded parameters supports timeout option handles proxy failures supports open_timeout option retrieves the response headers with SSL enabled #post behaves like a request method sends request body parses the reason phrase sends user agent handles requests with proxy retrieves the response body handles connection error sends url encoded parameters sends url encoded nested parameters supports open_timeout option retrieves the response headers sends files handles proxy failures supports timeout option handles headers with multiple values represents empty body response as blank string #put behaves like a request method sends url encoded nested parameters parses the reason phrase handles connection error handles proxy failures represents empty body response as blank string sends user agent sends url encoded parameters handles headers with multiple values sends files handles requests with proxy supports open_timeout option retrieves the response headers retrieves the response body sends request body supports timeout option #head behaves like a request method handles headers with multiple values retrieves the response body represents empty body response as blank string handles connection error handles requests with proxy handles proxy failures sends user agent retrieves the response headers sends request body sends url encoded parameters supports timeout option sends url encoded nested parameters supports open_timeout option parses the reason phrase #trace behaves like a request method supports timeout option sends url encoded parameters parses the reason phrase retrieves the response headers sends request body supports open_timeout option handles connection error represents empty body response as blank string handles requests with proxy sends url encoded nested parameters handles proxy failures sends user agent handles headers with multiple values retrieves the response body #get behaves like a request method parses the reason phrase retrieves the response headers handles proxy failures handles requests with proxy retrieves the response body supports timeout option supports open_timeout option represents empty body response as blank string sends url encoded parameters sends url encoded nested parameters sends request body handles headers with multiple values handles connection error sends user agent #patch behaves like a request method parses the reason phrase retrieves the response body sends url encoded parameters handles proxy failures sends files supports timeout option handles connection error handles requests with proxy retrieves the response headers represents empty body response as blank string handles headers with multiple values sends user agent sends url encoded nested parameters sends request body supports open_timeout option #delete behaves like a request method handles requests with proxy sends url encoded parameters handles proxy failures parses the reason phrase represents empty body response as blank string supports open_timeout option retrieves the response headers handles connection error sends user agent retrieves the response body handles headers with multiple values sends url encoded nested parameters sends request body supports timeout option #options behaves like a request method sends user agent represents empty body response as blank string sends url encoded nested parameters handles proxy failures handles connection error sends url encoded parameters parses the reason phrase supports open_timeout option handles headers with multiple values retrieves the response headers retrieves the response body supports timeout option sends request body handles requests with proxy Faraday::Request::Instrumentation instruments with default name defaults to ActiveSupport::Notifications is expected to eq "request.faraday" with custom name is expected to eq "custom" instruments with custom name with custom instrumenter is expected to eq :custom Faraday::CompositeReadIO with utf8 multibyte part is expected to eq "\x86\xE3\x83\x95\xE3\x82\xA1\xE3\x82\xA4\xE3\x83\xAB" allows to read in chunks with empty parts is expected to eq 0 is expected to be nil is expected to eq "" with 2 parts allows to read in chunks allows to rewind while reading in chunks is expected to eq "abcd1234" is expected to eq 8 with mix of empty and non-empty parts allows to read in chunks with empty composite_io is expected to eq "" is expected to eq 0 is expected to be nil Faraday::RequestOptions allows to set the request proxy Faraday::FlatParamsEncoder encodes empty array in hash decodes arrays decodes boolean values encodes boolean values encodes boolean values in array behaves like a params encoder escapes safe buffer encodes nil raises type error for empty string Faraday::Adapter::HTTPClient allows to provide adapter specific configs Options configures open timeout configures timeout configures multiple timeouts behaves like an adapter with SSL disabled #head behaves like a request method binds local socket represents empty body response as blank string sends request body handles connection error retrieves the response body sends url encoded nested parameters sends url encoded parameters handles proxy failures supports open_timeout option sends user agent retrieves the response headers handles headers with multiple values handles requests with proxy supports timeout option parses the reason phrase #put behaves like a request method sends request body supports open_timeout option parses the reason phrase handles gzip compression retrieves the response headers handles headers with multiple values supports timeout option sends url encoded nested parameters sends files handles connection error handles proxy failures sends url encoded parameters binds local socket handles requests with proxy retrieves the response body handles deflate compression sends user agent represents empty body response as blank string #trace behaves like a request method binds local socket supports open_timeout option handles gzip compression sends user agent retrieves the response body retrieves the response headers handles requests with proxy sends url encoded parameters handles headers with multiple values handles deflate compression handles proxy failures parses the reason phrase supports timeout option sends request body sends url encoded nested parameters represents empty body response as blank string handles connection error #post behaves like a request method supports open_timeout option sends url encoded parameters handles gzip compression handles headers with multiple values retrieves the response headers sends request body handles connection error handles proxy failures binds local socket sends user agent parses the reason phrase handles requests with proxy sends url encoded nested parameters retrieves the response body handles deflate compression supports timeout option represents empty body response as blank string sends files #delete behaves like a request method handles headers with multiple values sends user agent parses the reason phrase handles deflate compression supports timeout option supports open_timeout option handles gzip compression binds local socket sends url encoded parameters represents empty body response as blank string handles requests with proxy sends request body retrieves the response body sends url encoded nested parameters handles connection error handles proxy failures retrieves the response headers #options behaves like a request method handles proxy failures sends request body handles headers with multiple values handles connection error sends user agent supports timeout option sends url encoded nested parameters handles deflate compression retrieves the response body binds local socket handles requests with proxy handles gzip compression represents empty body response as blank string retrieves the response headers supports open_timeout option parses the reason phrase sends url encoded parameters #patch behaves like a request method parses the reason phrase sends files supports open_timeout option binds local socket retrieves the response body sends url encoded parameters handles headers with multiple values sends url encoded nested parameters handles deflate compression handles connection error sends user agent represents empty body response as blank string handles requests with proxy retrieves the response headers sends request body handles proxy failures handles gzip compression supports timeout option #get behaves like a request method sends user agent represents empty body response as blank string handles headers with multiple values sends request body handles connection error handles gzip compression handles proxy failures parses the reason phrase sends url encoded nested parameters sends url encoded parameters supports open_timeout option handles deflate compression supports timeout option retrieves the response headers handles requests with proxy binds local socket retrieves the response body with SSL enabled #options behaves like a request method handles connection error handles headers with multiple values parses the reason phrase handles deflate compression sends url encoded nested parameters handles requests with proxy sends request body supports timeout option retrieves the response headers handles gzip compression sends url encoded parameters handles proxy failures retrieves the response body supports open_timeout option sends user agent binds local socket represents empty body response as blank string #get behaves like a request method represents empty body response as blank string sends user agent binds local socket supports timeout option handles connection error sends request body handles headers with multiple values handles deflate compression handles requests with proxy handles proxy failures retrieves the response headers sends url encoded parameters retrieves the response body sends url encoded nested parameters supports open_timeout option handles gzip compression parses the reason phrase #put behaves like a request method handles deflate compression sends url encoded parameters sends url encoded nested parameters supports timeout option binds local socket retrieves the response body parses the reason phrase handles gzip compression sends user agent handles proxy failures retrieves the response headers sends files supports open_timeout option handles connection error handles requests with proxy sends request body represents empty body response as blank string handles headers with multiple values #post behaves like a request method parses the reason phrase handles requests with proxy handles gzip compression handles deflate compression retrieves the response headers sends user agent represents empty body response as blank string handles headers with multiple values sends request body handles proxy failures supports timeout option sends url encoded nested parameters sends url encoded parameters retrieves the response body binds local socket sends files supports open_timeout option handles connection error #delete behaves like a request method handles proxy failures sends url encoded nested parameters binds local socket sends request body sends user agent handles requests with proxy handles connection error supports timeout option handles headers with multiple values retrieves the response headers parses the reason phrase handles gzip compression handles deflate compression retrieves the response body supports open_timeout option represents empty body response as blank string sends url encoded parameters #head behaves like a request method sends url encoded parameters sends request body sends user agent binds local socket retrieves the response body handles connection error supports timeout option represents empty body response as blank string sends url encoded nested parameters parses the reason phrase retrieves the response headers handles requests with proxy handles headers with multiple values supports open_timeout option handles proxy failures #patch behaves like a request method sends url encoded nested parameters retrieves the response headers handles requests with proxy sends request body parses the reason phrase handles headers with multiple values supports timeout option represents empty body response as blank string binds local socket handles proxy failures handles deflate compression handles gzip compression sends files retrieves the response body handles connection error supports open_timeout option sends url encoded parameters sends user agent #trace behaves like a request method sends url encoded nested parameters handles requests with proxy parses the reason phrase handles proxy failures handles connection error handles deflate compression supports timeout option retrieves the response headers binds local socket handles headers with multiple values sends url encoded parameters represents empty body response as blank string supports open_timeout option sends request body sends user agent retrieves the response body handles gzip compression Finished in 44.89 seconds (files took 0.81203 seconds to load) 2265 examples, 0 failures, 1 pending Randomized with seed 30990 + popd ~/build/BUILD/faraday-1.0.1 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-faraday-1.0.1-5.el9.noarch Provides: rubygem(faraday) = 1.0.1 rubygem-faraday = 1.0.1-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (rubygem(multipart-post) >= 1.2 with rubygem(multipart-post) < 3) ruby(rubygems) Processing files: rubygem-faraday-doc-1.0.1-5.el9.noarch Provides: rubygem-faraday-doc = 1.0.1-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rubygem-faraday-1.0.1-5.el9.aarch64 Wrote: /builddir/build/RPMS/rubygem-faraday-1.0.1-5.el9.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-faraday-doc-1.0.1-5.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.tZKsyS + umask 022 + cd /builddir/build/BUILD + cd faraday-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rubygem-faraday-1.0.1-5.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0