Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-faraday.spec'], chrootPath='/var/lib/mock/f45-build-34970-692/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x9c50zg8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x9c50zg8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3f6831dad0a8431987ba161738034388', '-D', '/var/lib/mock/f45-build-34970-692/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x9c50zg8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1784160000 Wrote: /builddir/build/SRPMS/rubygem-faraday-1.0.1-20.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/rubygem-faraday.spec'], chrootPath='/var/lib/mock/f45-build-34970-692/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x9c50zg8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x9c50zg8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '826ea4fa708846c199ebfb974e5de226', '-D', '/var/lib/mock/f45-build-34970-692/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.x9c50zg8:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1784160000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.8hno23 Creating(rpmbuild.env): /builddir/build/BUILD/rubygem-faraday-1.0.1-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/rubygem-faraday-1.0.1-build" RPM_OPT_FLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 " RPM_ARCH="noarch" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/rubygem-faraday-1.0.1-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="rubygem-faraday" RPM_PACKAGE_VERSION="1.0.1" RPM_PACKAGE_RELEASE="20.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/rubygem-faraday-1.0.1-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iS5hcI + umask 022 + cd /builddir/build/BUILD/rubygem-faraday-1.0.1-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/rubygem-faraday-1.0.1-build + rm -rf faraday-1.0.1 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/faraday-1.0.1.gem Unpacked gem: '/builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1' + STATUS=0 + '[' 0 -ne 0 ']' + cd faraday-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/rpmuncompress /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 -f + /usr/bin/rpmuncompress /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 -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/faraday-pr1523-testsuite-undefined-method-change.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/faraday-pr1560-ruby34-backtrace-change.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/faraday-pr1604-ruby34-hash-inspect-formatting-change.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/faraday-rack-pr13-rack31-rack_input.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/faraday-pr1549-unespace-rack-utils-query-result.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PKnvDH + umask 022 + cd /builddir/build/BUILD/rubygem-faraday-1.0.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd faraday-1.0.1 + gem build ../faraday-1.0.1.gemspec WARNING: expected RubyGems version 4.0.20, was 3.0.3 WARNING: See https://guides.rubygems.org/specification-reference/ for help 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 -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'\'' --with-cxxflags='\''-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'\'' --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-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 '\'' ' + 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/rubygem-faraday-1.0.1-build/faraday-1.0.1 Bin dir: /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/bin Gem home: /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems Plugins dir: /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/plugins /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/CHANGELOG.md /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/LICENSE.md /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/README.md /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/Rakefile /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/examples/client_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/examples/client_test.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/em_http.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/em_http_ssl_patch.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/em_synchrony/parallel_manager.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/excon.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/httpclient.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/net_http.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/net_http_persistent.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/patron.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/rack.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/test.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter/typhoeus.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/adapter_registry.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/autoload.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/connection.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/dependency_loader.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/encoders/flat_params_encoder.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/encoders/nested_params_encoder.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/error.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/file_part.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/logging/formatter.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/middleware.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/middleware_registry.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/options.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/options/connection_options.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/options/env.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/options/proxy_options.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/options/request_options.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/options/ssl_options.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/param_part.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/parameters.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/rack_builder.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/authorization.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/basic_authentication.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/instrumentation.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/multipart.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/retry.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/token_authentication.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/request/url_encoded.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/response.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/response/logger.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/response/raise_error.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/utils.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/utils/headers.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/lib/faraday/utils/params_hash.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/external_adapters/faraday_specs_setup.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/em_http_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/em_synchrony_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/excon_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/httpclient_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/net_http_persistent_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/net_http_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/patron_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/rack_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter/typhoeus_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter_registry_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/adapter_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/composite_read_io_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/connection_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/error_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/middleware_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/options/env_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/options/options_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/options/proxy_options_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/options/request_options_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/params_encoders/flat_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/params_encoders/nested_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/rack_builder_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/request/authorization_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/request/instrumentation_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/request/multipart_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/request/retry_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/request/url_encoded_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/request_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/response/logger_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/response/middleware_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/response/raise_error_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/response_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/utils/headers_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday/utils_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/faraday_spec.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/spec_helper.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/disabling_stub.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/fake_safe_buffer.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/helper_methods.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/shared_examples/adapter.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/shared_examples/params_encoder.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/shared_examples/request_method.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1/spec/support/streaming_response_checker.rb /builddir/build/BUILD/rubygem-faraday-1.0.1-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 aliki documentation for faraday-1.0.1 Done installing documentation for faraday after 3 seconds 1 gem installed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qCF3gm + umask 022 + cd /builddir/build/BUILD/rubygem-faraday-1.0.1-build + '[' /builddir/build/BUILD/rubygem-faraday-1.0.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rubygem-faraday-1.0.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/rubygem-faraday-1.0.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rubygem-faraday-1.0.1-build + mkdir /builddir/build/BUILD/rubygem-faraday-1.0.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd faraday-1.0.1 + mkdir -p /builddir/build/BUILD/rubygem-faraday-1.0.1-build/BUILDROOT/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/BUILD/rubygem-faraday-1.0.1-build/BUILDROOT/usr/share/gems/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/rubygem-faraday-1.0.1-build/BUILDROOT Scanned 132 directories and 710 files, processed 80 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/rubygem-faraday-1.0.1-build/BUILDROOT/usr Scanned 131 directories and 710 files, considered 710 files, read 368 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.2JJceV + umask 022 + cd /builddir/build/BUILD/rubygem-faraday-1.0.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd faraday-1.0.1 + pushd ./usr/share/gems/gems/faraday-1.0.1 ~/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1/usr/share/gems/gems/faraday-1.0.1 ~/build/BUILD/rubygem-faraday-1.0.1-build/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/rubygem-faraday-1.0.1-build/multipart_parser -rspec_helper -r/builddir/build/SOURCES/parser.rb spec -f d Top level ::CompositeIO is deprecated, require 'multipart/post' and use `Multipart::Post::CompositeReadIO` instead! Top level ::Parts is deprecated, require 'multipart/post' and use `Multipart::Post::Parts` instead! Randomized with seed 60885 Faraday::Request supports marshal serialization when method is post is expected to eq :post when setting the url on setup with a URI is expected to eq "http://sushi.com/api/foo.json?a=1" is expected to eq # is expected to eq {"a" => "1"} when setting the url on setup with a path including params is expected to eq "http://sushi.com/api/foo.json?a=1&b=2" is expected to eq "foo.json" is expected to eq {"a" => "1", "b" => "2"} 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} when setting a header on setup with []= syntax is expected to eq "Faraday" is expected to eq "1.0" is expected to eq "Faraday" when nothing particular is configured is expected to be falsey is expected to eq :get with global request options set is expected to eq 3 is expected to eq 3 is expected to eq 5 is expected to eq 5 and per-request options set is expected to eq 5 is expected to eq "boo" is expected to eq 10 is expected to eq {bar: "bar", foo: "foo"} is expected to eq 5 is expected to eq {consumer_key: "anonymous", consumer_secret: "xyz"} is expected to eq 10 when setting the body on setup is expected to eq "hi" is expected to eq "hi" Faraday::Request::Instrumentation instruments with default name defaults to ActiveSupport::Notifications is expected to eq "request.faraday" with custom name instruments with custom name is expected to eq "custom" with custom instrumenter is expected to eq :custom Faraday::Adapter::Typhoeus behaves like an adapter with SSL enabled #get behaves like a request method sends request body sends url encoded parameters represents empty body response as blank string supports open_timeout option retrieves the response headers handles headers with multiple values sends user agent handles requests with proxy handles proxy failures sends url encoded nested parameters supports timeout option handles connection error retrieves the response body with parallel setup handles parallel requests status handles parallel requests body #post behaves like a request method sends url encoded parameters handles connection error handles proxy failures sends user agent handles requests with proxy sends files retrieves the response body supports timeout option supports open_timeout option handles headers with multiple values retrieves the response headers sends url encoded nested parameters sends request body represents empty body response as blank string with parallel setup handles parallel requests status handles parallel requests body #delete behaves like a request method retrieves the response headers retrieves the response body handles connection error represents empty body response as blank string sends request body supports open_timeout option sends user agent handles requests with proxy sends url encoded parameters handles headers with multiple values supports timeout option sends url encoded nested parameters handles proxy failures with parallel setup handles parallel requests body handles parallel requests status #put behaves like a request method sends url encoded nested parameters retrieves the response headers retrieves the response body sends request body handles requests with proxy handles connection error handles proxy failures handles headers with multiple values sends url encoded parameters represents empty body response as blank string supports open_timeout option sends files sends user agent supports timeout option with parallel setup handles parallel requests status handles parallel requests body #options behaves like a request method sends request body handles headers with multiple values handles requests with proxy retrieves the response body handles connection error handles proxy failures sends user agent sends url encoded nested parameters represents empty body response as blank string sends url encoded parameters retrieves the response headers supports timeout option supports open_timeout option with parallel setup handles parallel requests body handles parallel requests status #trace behaves like a request method supports open_timeout option sends url encoded parameters retrieves the response headers handles headers with multiple values sends user agent retrieves the response body handles connection error represents empty body response as blank string sends url encoded nested parameters sends request body handles proxy failures supports timeout option handles requests with proxy with parallel setup handles parallel requests body handles parallel requests status #head behaves like a request method handles requests with proxy represents empty body response as blank string retrieves the response headers retrieves the response body sends url encoded parameters sends request body supports timeout option handles connection error handles headers with multiple values supports open_timeout option sends user agent sends url encoded nested parameters handles proxy failures with parallel setup handles parallel requests body handles parallel requests status #patch behaves like a request method handles requests with proxy retrieves the response body handles connection error sends request body sends user agent sends url encoded parameters represents empty body response as blank string sends url encoded nested parameters handles headers with multiple values supports timeout option retrieves the response headers handles proxy failures sends files supports open_timeout option with parallel setup handles parallel requests status handles parallel requests body with SSL disabled #get behaves like a request method handles headers with multiple values handles connection error handles proxy failures sends url encoded nested parameters handles requests with proxy represents empty body response as blank string retrieves the response headers retrieves the response body sends url encoded parameters sends user agent supports timeout option supports open_timeout option sends request body with parallel setup handles parallel requests body handles parallel requests status #post behaves like a request method sends url encoded parameters handles requests with proxy sends files handles headers with multiple values supports timeout option represents empty body response as blank string sends user agent supports open_timeout option sends url encoded nested parameters sends request body handles proxy failures retrieves the response body handles connection error retrieves the response headers with parallel setup handles parallel requests body handles parallel requests status #patch behaves like a request method sends user agent handles headers with multiple values supports timeout option represents empty body response as blank string sends request body sends url encoded parameters handles requests with proxy supports open_timeout option handles connection error retrieves the response body sends url encoded nested parameters sends files handles proxy failures retrieves the response headers with parallel setup handles parallel requests body handles parallel requests status #trace behaves like a request method sends user agent handles connection error handles headers with multiple values sends url encoded parameters retrieves the response headers sends request body sends url encoded nested parameters supports timeout option supports open_timeout option retrieves the response body handles requests with proxy handles proxy failures represents empty body response as blank string with parallel setup handles parallel requests status handles parallel requests body #options behaves like a request method represents empty body response as blank string sends request body retrieves the response body supports timeout option handles headers with multiple values supports open_timeout option sends user agent sends url encoded parameters sends url encoded nested parameters handles proxy failures handles connection error handles requests with proxy retrieves the response headers with parallel setup handles parallel requests body handles parallel requests status #delete behaves like a request method sends request body handles requests with proxy handles connection error sends url encoded parameters sends url encoded nested parameters sends user agent handles proxy failures retrieves the response headers supports open_timeout option represents empty body response as blank string supports timeout option handles headers with multiple values retrieves the response body with parallel setup handles parallel requests body handles parallel requests status #head behaves like a request method represents empty body response as blank string retrieves the response body supports open_timeout option sends request body sends user agent handles proxy failures retrieves the response headers handles requests with proxy handles connection error sends url encoded parameters handles headers with multiple values supports timeout option sends url encoded nested parameters with parallel setup handles parallel requests body handles parallel requests status #put behaves like a request method sends files handles requests with proxy sends url encoded parameters represents empty body response as blank string retrieves the response body handles connection error sends url encoded nested parameters sends request body handles headers with multiple values handles proxy failures retrieves the response headers sends user agent supports open_timeout option supports timeout option with parallel setup handles parallel requests status handles parallel requests body Faraday::NestedParamsEncoder encodes empty array value encodes nil array value decodes nested subkeys dont have to be in brackets decodes nested ignores malformed keys decodes nested arrays rack compat decodes arrays decodes nested ignores invalid array decodes nested final value overrides any type decodes nested array mixed types encodes boolean values decodes nested ignores repeated array notation encodes boolean values in array decodes hashes encodes rack compat encodes empty string array value behaves like a params encoder escapes safe buffer raises type error for empty string encodes nil when expecting nested hash but getting non nested 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 array but getting hash behaves like a wrong decoding is expected to raise TypeError when expecting hash but getting string 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 Faraday::Utils URI parsing parses with URI parses with default parser escapes safe buffer replaces headers hash parses with block headers parsing parse headers for aggregated responses Faraday::AdapterRegistry #initialize looks up class by symbol name caches lookups with explicit name is expected to raise NameError looks up class by string name is expected to raise NameError caches lookups with implicit name Faraday::Adapter::HTTPClient allows to provide adapter specific configs behaves like an adapter with SSL disabled #head behaves like a request method retrieves the response body handles headers with multiple values supports open_timeout option retrieves the response headers handles proxy failures sends request body binds local socket sends url encoded parameters handles connection error represents empty body response as blank string sends url encoded nested parameters handles requests with proxy parses the reason phrase sends user agent supports timeout option #get behaves like a request method handles proxy failures handles gzip compression represents empty body response as blank string sends url encoded nested parameters handles connection error retrieves the response body retrieves the response headers supports open_timeout option sends request body sends url encoded parameters sends user agent parses the reason phrase handles requests with proxy supports timeout option handles deflate compression binds local socket handles headers with multiple values #options behaves like a request method supports timeout option handles deflate compression parses the reason phrase handles connection error sends request body binds local socket handles proxy failures handles headers with multiple values handles requests with proxy sends url encoded nested parameters supports open_timeout option retrieves the response headers sends user agent represents empty body response as blank string handles gzip compression sends url encoded parameters retrieves the response body #post behaves like a request method handles deflate compression handles proxy failures sends files handles requests with proxy sends url encoded nested parameters supports timeout option represents empty body response as blank string binds local socket sends request body retrieves the response headers retrieves the response body parses the reason phrase sends url encoded parameters sends user agent handles headers with multiple values handles gzip compression supports open_timeout option handles connection error #put behaves like a request method sends files handles connection error represents empty body response as blank string sends request body supports timeout option parses the reason phrase retrieves the response headers handles headers with multiple values handles proxy failures sends url encoded parameters handles deflate compression supports open_timeout option binds local socket handles requests with proxy retrieves the response body handles gzip compression sends url encoded nested parameters sends user agent #trace behaves like a request method parses the reason phrase binds local socket handles deflate compression sends request body supports open_timeout option handles proxy failures supports timeout option sends url encoded parameters handles headers with multiple values retrieves the response body handles requests with proxy sends url encoded nested parameters retrieves the response headers represents empty body response as blank string sends user agent handles gzip compression handles connection error #delete behaves like a request method binds local socket handles headers with multiple values handles proxy failures parses the reason phrase handles connection error sends request body represents empty body response as blank string supports open_timeout option sends url encoded parameters handles gzip compression sends user agent handles requests with proxy retrieves the response body handles deflate compression retrieves the response headers sends url encoded nested parameters supports timeout option #patch behaves like a request method handles proxy failures binds local socket supports timeout option sends request body sends files handles gzip compression handles headers with multiple values handles deflate compression handles connection error retrieves the response body supports open_timeout option retrieves the response headers sends url encoded nested parameters represents empty body response as blank string parses the reason phrase sends url encoded parameters handles requests with proxy sends user agent with SSL enabled #get behaves like a request method retrieves the response body represents empty body response as blank string handles gzip compression sends url encoded nested parameters binds local socket sends user agent parses the reason phrase handles connection error handles proxy failures handles deflate compression supports open_timeout option sends url encoded parameters retrieves the response headers handles headers with multiple values handles requests with proxy sends request body supports timeout option #head behaves like a request method handles headers with multiple values handles proxy failures sends request body sends user agent parses the reason phrase sends url encoded parameters retrieves the response body sends url encoded nested parameters retrieves the response headers handles connection error handles requests with proxy binds local socket supports open_timeout option represents empty body response as blank string supports timeout option #trace behaves like a request method handles headers with multiple values represents empty body response as blank string sends url encoded nested parameters sends url encoded parameters parses the reason phrase handles requests with proxy sends user agent retrieves the response headers handles proxy failures supports open_timeout option supports timeout option sends request body retrieves the response body handles deflate compression binds local socket handles gzip compression handles connection error #put behaves like a request method handles connection error retrieves the response headers sends url encoded nested parameters represents empty body response as blank string parses the reason phrase handles gzip compression sends files sends url encoded parameters retrieves the response body handles requests with proxy binds local socket supports open_timeout option handles deflate compression supports timeout option handles proxy failures handles headers with multiple values sends user agent sends request body #options behaves like a request method handles proxy failures represents empty body response as blank string handles deflate compression supports open_timeout option retrieves the response body handles requests with proxy parses the reason phrase handles connection error binds local socket sends url encoded nested parameters handles headers with multiple values handles gzip compression sends user agent sends url encoded parameters supports timeout option sends request body retrieves the response headers #delete behaves like a request method handles gzip compression sends url encoded parameters retrieves the response body represents empty body response as blank string sends request body handles deflate compression sends url encoded nested parameters supports open_timeout option parses the reason phrase handles requests with proxy handles proxy failures handles connection error sends user agent handles headers with multiple values retrieves the response headers supports timeout option binds local socket #patch behaves like a request method sends request body sends user agent handles headers with multiple values sends url encoded nested parameters parses the reason phrase handles requests with proxy retrieves the response body sends files sends url encoded parameters handles connection error binds local socket handles proxy failures supports open_timeout option retrieves the response headers handles gzip compression handles deflate compression represents empty body response as blank string supports timeout option #post behaves like a request method handles proxy failures handles headers with multiple values sends url encoded nested parameters retrieves the response headers sends request body parses the reason phrase supports timeout option sends url encoded parameters supports open_timeout option handles connection error handles requests with proxy binds local socket handles deflate compression handles gzip compression sends files represents empty body response as blank string sends user agent retrieves the response body Options configures multiple timeouts configures open timeout configures timeout Faraday::Utils::Headers when Content-Type is set to application/json is expected to eq "application/json" is expected to eq "application/json" is expected to eq ["Content-Type"] is expected to eq "application/json" is expected to include "content-type" 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" #fetch is expected to eq false raises an error if key not found calls a block when provided is expected to be nil is expected to eq "default" is expected to eq "Invalid key" is expected to eq "application/json" is expected to eq "application/json" is expected to eq "application/json" #parse when response headers include a blank line is expected to eq "text/html" when response headers leave http status line out is expected to eq "text/html" is expected to eq "text/html" is expected to eq ["Content-Type"] when response headers values include a colon is expected to eq "http://sushi.com/" #delete is expected to be nil is expected to eq 0 is expected not to include "content-type" is expected to eq "application/json" Faraday::Middleware #close with app that doesn't support #close should issue warning with app that supports #close should issue warning Faraday::Adapter::Rack behaves like an adapter with SSL enabled #put behaves like a request method handles connection error sends url encoded nested parameters supports open_timeout option supports timeout option retrieves the response body sends files handles proxy failures retrieves the response headers handles headers with multiple values handles requests with proxy sends request body sends url encoded parameters represents empty body response as blank string sends user agent #delete behaves like a request method represents empty body response as blank string retrieves the response headers supports timeout option sends user agent sends request body sends url encoded nested parameters sends url encoded parameters handles headers with multiple values supports open_timeout option handles requests with proxy retrieves the response body handles connection error handles proxy failures #options behaves like a request method sends url encoded nested parameters sends url encoded parameters sends user agent retrieves the response headers handles connection error sends request body supports timeout option represents empty body response as blank string retrieves the response body handles requests with proxy handles headers with multiple values handles proxy failures supports open_timeout option #patch behaves like a request method handles proxy failures sends request body sends files supports timeout option sends url encoded parameters supports open_timeout option represents empty body response as blank string sends url encoded nested parameters handles requests with proxy retrieves the response headers retrieves the response body sends user agent handles headers with multiple values handles connection error #get behaves like a request method supports timeout option retrieves the response headers sends user agent handles connection error handles requests with proxy supports open_timeout option sends url encoded nested parameters sends request body represents empty body response as blank string handles headers with multiple values handles proxy failures retrieves the response body sends url encoded parameters #post behaves like a request method sends request body represents empty body response as blank string sends url encoded parameters handles proxy failures handles requests with proxy retrieves the response body sends user agent retrieves the response headers supports timeout option supports open_timeout option sends url encoded nested parameters sends files handles headers with multiple values handles connection error #head behaves like a request method 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 url encoded nested parameters sends user agent handles connection error sends request body handles proxy failures supports timeout option sends url encoded parameters #trace behaves like a request method supports open_timeout option retrieves the response headers sends url encoded parameters retrieves the response body represents empty body response as blank string handles connection error supports timeout option handles requests with proxy sends request body sends user agent handles headers with multiple values handles proxy failures sends url encoded nested parameters with SSL disabled #delete behaves like a request method sends request body retrieves the response headers supports open_timeout option sends url encoded nested parameters handles headers with multiple values sends user agent retrieves the response body handles proxy failures represents empty body response as blank string sends url encoded parameters handles requests with proxy supports timeout option handles connection error #put behaves like a request method handles requests with proxy handles connection error sends user agent sends files sends request body handles headers with multiple values represents empty body response as blank string sends url encoded parameters retrieves the response headers supports open_timeout option supports timeout option retrieves the response body handles proxy failures sends url encoded nested parameters #head behaves like a request method sends request body sends url encoded nested parameters handles proxy failures handles connection error handles requests with proxy represents empty body response as blank string supports open_timeout option handles headers with multiple values sends user agent sends url encoded parameters retrieves the response headers supports timeout option #get behaves like a request method handles headers with multiple values supports timeout option sends request body represents empty body response as blank string handles connection error sends user agent supports open_timeout option retrieves the response headers retrieves the response body handles requests with proxy handles proxy failures sends url encoded nested parameters sends url encoded parameters #trace behaves like a request method sends user agent sends url encoded nested parameters supports timeout option sends url encoded parameters supports open_timeout option handles connection error handles requests with proxy represents empty body response as blank string handles headers with multiple values handles proxy failures sends request body retrieves the response body retrieves the response headers #options behaves like a request method handles connection error sends url encoded parameters handles proxy failures retrieves the response headers sends request body supports timeout option handles requests with proxy represents empty body response as blank string handles headers with multiple values sends url encoded nested parameters sends user agent retrieves the response body supports open_timeout option #post behaves like a request method retrieves the response headers handles headers with multiple values sends url encoded nested parameters sends url encoded parameters supports timeout option sends request body represents empty body response as blank string retrieves the response body sends user agent sends files handles connection error supports open_timeout option handles requests with proxy handles proxy failures #patch behaves like a request method handles requests with proxy represents empty body response as blank string sends user agent handles connection error handles headers with multiple values retrieves the response body sends request body sends files supports open_timeout option supports timeout option sends url encoded parameters handles proxy failures sends url encoded nested parameters retrieves the response headers Faraday has a version number proxies to default_connection proxies methods that exist on the default_connection proxied methods can be accessed uses method_missing on Faraday if there is no proxyable method Faraday::Adapter::NetHttpPersistent allows to set pool_size on initialize sets max_retries to 0 allows to provide adapter specific configs behaves like an adapter with SSL enabled #put behaves like a request method supports timeout option sends url encoded nested parameters handles deflate compression handles gzip compression handles connection error retrieves the response body sends request body parses the reason phrase handles headers with multiple values retrieves the response headers sends user agent sends url encoded parameters represents empty body response as blank string supports open_timeout option handles requests with proxy handles proxy failures sends files #trace behaves like a request method retrieves the response headers handles connection error handles proxy failures represents empty body response as blank string handles gzip compression parses the reason phrase handles deflate compression sends request body sends user agent retrieves the response body supports open_timeout option sends url encoded parameters handles headers with multiple values handles requests with proxy supports timeout option sends url encoded nested parameters #get behaves like a request method handles gzip compression sends user agent handles headers with multiple values handles requests with proxy parses the reason phrase handles proxy failures retrieves the response headers handles connection error supports open_timeout option retrieves the response body represents empty body response as blank string supports timeout option handles deflate compression sends url encoded nested parameters sends request body sends url encoded parameters #head behaves like a request method supports timeout option sends url encoded parameters retrieves the response headers supports open_timeout option handles headers with multiple values retrieves the response body parses the reason phrase sends url encoded nested parameters sends request body handles proxy failures handles connection error handles requests with proxy represents empty body response as blank string sends user agent #patch behaves like a request method handles connection error represents empty body response as blank string sends user agent supports open_timeout option handles proxy failures sends url encoded nested parameters supports timeout option retrieves the response body handles deflate compression handles requests with proxy parses the reason phrase handles gzip compression handles headers with multiple values retrieves the response headers sends request body sends files sends url encoded parameters #post behaves like a request method sends request body retrieves the response headers supports open_timeout option handles connection error sends url encoded nested parameters handles requests with proxy retrieves the response body handles gzip compression handles proxy failures handles headers with multiple values parses the reason phrase sends url encoded parameters sends files sends user agent supports timeout option handles deflate compression represents empty body response as blank string #options behaves like a request method retrieves the response body handles gzip compression supports open_timeout option sends request body handles headers with multiple values handles deflate compression handles connection error represents empty body response as blank string handles proxy failures sends url encoded parameters sends user agent supports timeout option retrieves the response headers sends url encoded nested parameters handles requests with proxy parses the reason phrase #delete behaves like a request method sends request body handles requests with proxy handles headers with multiple values handles deflate compression supports timeout option handles connection error retrieves the response headers handles gzip compression handles proxy failures represents empty body response as blank string sends user agent parses the reason phrase sends url encoded parameters retrieves the response body sends url encoded nested parameters supports open_timeout option with SSL disabled #trace behaves like a request method handles deflate compression handles headers with multiple values sends request body handles connection error supports open_timeout option handles requests with proxy retrieves the response body supports timeout option parses the reason phrase represents empty body response as blank string sends url encoded nested parameters retrieves the response headers handles proxy failures handles gzip compression sends user agent sends url encoded parameters #head behaves like a request method handles headers with multiple values supports open_timeout option sends user agent sends request body retrieves the response body represents empty body response as blank string parses the reason phrase sends url encoded nested parameters sends url encoded parameters handles requests with proxy handles connection error retrieves the response headers handles proxy failures supports timeout option #delete behaves like a request method handles connection error supports open_timeout option sends url encoded nested parameters handles headers with multiple values sends request body parses the reason phrase handles requests with proxy represents empty body response as blank string sends url encoded parameters retrieves the response headers handles deflate compression handles gzip compression sends user agent supports timeout option retrieves the response body handles proxy failures #get behaves like a request method supports timeout option represents empty body response as blank string handles gzip compression sends user agent retrieves the response body handles deflate compression handles requests with proxy retrieves the response headers sends url encoded parameters sends request body parses the reason phrase handles connection error sends url encoded nested parameters handles headers with multiple values handles proxy failures supports open_timeout option #options behaves like a request method retrieves the response headers sends request body handles connection error handles requests with proxy represents empty body response as blank string sends user agent parses the reason phrase supports open_timeout option handles headers with multiple values handles deflate compression supports timeout option handles gzip compression handles proxy failures sends url encoded nested parameters retrieves the response body sends url encoded parameters #patch behaves like a request method supports open_timeout option retrieves the response headers handles proxy failures sends request body represents empty body response as blank string handles connection error supports timeout option handles gzip compression sends user agent handles deflate compression sends files retrieves the response body parses the reason phrase handles requests with proxy handles headers with multiple values sends url encoded nested parameters sends url encoded parameters #put behaves like a request method handles deflate compression parses the reason phrase handles gzip compression supports open_timeout option handles requests with proxy supports timeout option handles headers with multiple values sends user agent handles connection error handles proxy failures sends request body sends files retrieves the response body sends url encoded parameters represents empty body response as blank string retrieves the response headers sends url encoded nested parameters #post behaves like a request method handles proxy failures parses the reason phrase handles deflate compression handles requests with proxy retrieves the response headers retrieves the response body sends user agent handles headers with multiple values represents empty body response as blank string supports timeout option sends url encoded parameters handles gzip compression sends request body sends url encoded nested parameters handles connection error supports open_timeout option sends files min_version Faraday::Request::Multipart FilePart: when multipart objects in param forms a multipart request behaves like a multipart request generates a unique boundary for each request UploadIO: when multipart objects in param 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 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 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::RackBuilder with custom empty block is expected to be nil is expected to eq Faraday::Adapter::NetHttp with custom handler and adapter locks the stack after making a request dup stack is unlocked allows to compare handlers when having two handlers allows insert_after allows to swap handlers allows to delete a handler allows insert_before when having a single handler allows rebuilding allows insert_before allows use raises an error trying to use an unregistered symbol allows insert_after is expected to eq [Apple] with custom adapter only is expected to eq Faraday::Adapter::Test is expected to be nil with custom registered middleware allows to register with constant allows to register with string allows to register with symbol allows to register with Proc with default stack is expected to eq Faraday::Adapter::NetHttp is expected to eq Faraday::Request::UrlEncoded when having a handler with broken dependency raises an error while making a request Faraday::RequestOptions allows to set the request proxy Faraday::Response::Middleware 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 with a custom ResponseMiddleware parses the response Faraday::FlatParamsEncoder encodes boolean values in array decodes boolean values encodes boolean values encodes empty array in hash decodes arrays behaves like a params encoder raises type error for empty string escapes safe buffer encodes nil Faraday::CompositeReadIO with mix of empty and non-empty parts allows to read in chunks with 2 parts allows to rewind while reading in chunks allows to read in chunks is expected to eq 8 is expected to eq "abcd1234" with empty composite_io is expected to eq 0 is expected to eq "" is expected to be nil with empty parts is expected to eq "" is expected to eq 0 is expected to be nil 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 Faraday::Adapter #request_timeout gets :open timeout gets :write timeout gets :read timeout attempts unknown timeout type Faraday::Adapter::EMHttp allows to provide adapter specific configs Options configures timeout and open_timeout configures all timeout settings configures timeout behaves like an adapter with SSL disabled #get behaves like a request method handles headers with multiple values sends request body binds local socket retrieves the response headers sends url encoded parameters represents empty body response as blank string sends user agent supports timeout option retrieves the response body handles requests with proxy supports open_timeout option sends url encoded nested parameters handles proxy failures handles connection error parses the reason phrase with parallel setup handles parallel requests body handles parallel requests status #delete behaves like a request method supports open_timeout option sends url encoded parameters represents empty body response as blank string sends user agent parses the reason phrase supports timeout option retrieves the response headers sends url encoded nested parameters handles requests with proxy sends request body retrieves the response body handles proxy failures binds local socket handles connection error handles headers with multiple values with parallel setup handles parallel requests status handles parallel requests body #options behaves like a request method represents empty body response as blank string handles connection error retrieves the response body sends request body sends user agent binds local socket parses the reason phrase handles headers with multiple values retrieves the response headers sends url encoded parameters handles proxy failures sends url encoded nested parameters handles requests with proxy supports open_timeout option supports timeout option with parallel setup handles parallel requests status handles parallel requests body #put behaves like a request method handles headers with multiple values parses the reason phrase sends user agent retrieves the response headers handles connection error sends url encoded nested parameters sends request body sends files supports timeout option represents empty body response as blank string retrieves the response body binds local socket handles requests with proxy handles proxy failures sends url encoded parameters supports open_timeout option with parallel setup handles parallel requests body handles parallel requests status #patch behaves like a request method handles headers with multiple values supports timeout option supports open_timeout option handles requests with proxy sends files handles connection error sends url encoded parameters sends url encoded nested parameters sends user agent retrieves the response headers retrieves the response body represents empty body response as blank string handles proxy failures sends request body parses the reason phrase binds local socket with parallel setup handles parallel requests status handles parallel requests body #trace behaves like a request method handles proxy failures sends request body retrieves the response headers sends url encoded parameters handles connection error retrieves the response body parses the reason phrase binds local socket supports open_timeout option handles headers with multiple values sends url encoded nested parameters supports timeout option handles requests with proxy sends user agent represents empty body response as blank string with parallel setup handles parallel requests body handles parallel requests status #head behaves like a request method sends request body handles requests with proxy handles connection error sends url encoded parameters sends user agent retrieves the response headers represents empty body response as blank string handles proxy failures supports timeout option handles headers with multiple values supports open_timeout option parses the reason phrase binds local socket sends url encoded nested parameters with parallel setup handles parallel requests status #post behaves like a request method retrieves the response headers handles headers with multiple values retrieves the response body parses the reason phrase supports open_timeout option sends url encoded nested parameters handles requests with proxy supports timeout option sends url encoded parameters sends user agent handles proxy failures handles connection error sends files sends request body binds local socket represents empty body response as blank string with parallel setup handles parallel requests body handles parallel requests status with SSL enabled #get behaves like a request method sends url encoded parameters parses the reason phrase retrieves the response body handles proxy failures handles headers with multiple values handles requests with proxy binds local socket retrieves the response headers represents empty body response as blank string supports open_timeout option sends url encoded nested parameters sends user agent handles connection error supports timeout option sends request body with parallel setup handles parallel requests body handles parallel requests status #head behaves like a request method handles connection error handles proxy failures supports open_timeout option retrieves the response headers represents empty body response as blank string handles requests with proxy sends user agent sends url encoded parameters supports timeout option handles headers with multiple values parses the reason phrase binds local socket sends request body sends url encoded nested parameters with parallel setup handles parallel requests status #delete behaves like a request method sends url encoded nested parameters supports open_timeout option supports timeout option handles connection error handles headers with multiple values handles requests with proxy sends user agent binds local socket retrieves the response body handles proxy failures sends request body sends url encoded parameters represents empty body response as blank string retrieves the response headers parses the reason phrase with parallel setup handles parallel requests body handles parallel requests status #options behaves like a request method represents empty body response as blank string handles proxy failures handles connection error retrieves the response headers handles requests with proxy supports timeout option sends url encoded nested parameters binds local socket sends url encoded parameters supports open_timeout option retrieves the response body sends user agent handles headers with multiple values sends request body parses the reason phrase with parallel setup handles parallel requests status handles parallel requests body #post behaves like a request method handles proxy failures retrieves the response headers sends files retrieves the response body handles requests with proxy sends url encoded parameters handles connection error supports open_timeout option supports timeout option sends request body sends url encoded nested parameters sends user agent handles headers with multiple values binds local socket represents empty body response as blank string parses the reason phrase with parallel setup handles parallel requests body handles parallel requests status #patch behaves like a request method handles connection error handles requests with proxy parses the reason phrase retrieves the response headers sends url encoded parameters sends user agent sends request body supports timeout option sends url encoded nested parameters retrieves the response body supports open_timeout option binds local socket handles proxy failures handles headers with multiple values sends files represents empty body response as blank string with parallel setup handles parallel requests status handles parallel requests body #put behaves like a request method supports open_timeout option sends user agent sends files handles headers with multiple values binds local socket represents empty body response as blank string supports timeout option retrieves the response headers handles requests with proxy sends url encoded nested parameters handles proxy failures sends url encoded parameters handles connection error sends request body retrieves the response body parses the reason phrase with parallel setup handles parallel requests status handles parallel requests body #trace behaves like a request method retrieves the response headers handles headers with multiple values handles connection error sends user agent sends url encoded parameters binds local socket represents empty body response as blank string sends request body handles requests with proxy supports open_timeout option supports timeout option handles proxy failures sends url encoded nested parameters parses the reason phrase retrieves the response body with parallel setup handles parallel requests status handles parallel requests body Faraday::Adapter::Excon allows to provide adapter specific configs behaves like an adapter with SSL enabled #delete behaves like a request method handles proxy failures handles connection error represents empty body response as blank string sends url encoded nested parameters sends user agent handles headers with multiple values retrieves the response headers sends request body supports timeout option supports open_timeout option sends url encoded parameters retrieves the response body handles requests with proxy parses the reason phrase #head behaves like a request method supports timeout option handles connection error parses the reason phrase sends user agent sends request body retrieves the response headers handles requests with proxy handles proxy failures retrieves the response body sends url encoded nested parameters sends url encoded parameters handles headers with multiple values represents empty body response as blank string supports open_timeout option #patch behaves like a request method sends url encoded parameters retrieves the response headers handles proxy failures represents empty body response as blank string parses the reason phrase retrieves the response body handles requests with proxy sends user agent sends url encoded nested parameters supports timeout option handles headers with multiple values supports open_timeout option sends files handles connection error sends request body #put behaves like a request method retrieves the response headers supports open_timeout option parses the reason phrase represents empty body response as blank string sends files handles connection error handles requests with proxy sends url encoded parameters sends request body sends user agent sends url encoded nested parameters supports timeout option handles headers with multiple values retrieves the response body handles proxy failures #options behaves like a request method handles requests with proxy supports open_timeout option sends url encoded parameters handles proxy failures sends request body represents empty body response as blank string retrieves the response body parses the reason phrase sends user agent retrieves the response headers handles headers with multiple values handles connection error sends url encoded nested parameters supports timeout option #post behaves like a request method retrieves the response headers sends url encoded parameters sends user agent represents empty body response as blank string parses the reason phrase handles proxy failures handles requests with proxy sends files sends url encoded nested parameters supports timeout option handles connection error retrieves the response body sends request body supports open_timeout option handles headers with multiple values #trace behaves like a request method handles requests with proxy handles connection error supports timeout option retrieves the response headers sends url encoded parameters handles headers with multiple values retrieves the response body represents empty body response as blank string handles proxy failures sends request body supports open_timeout option parses the reason phrase sends user agent sends url encoded nested parameters #get behaves like a request method supports timeout option represents empty body response as blank string supports open_timeout option handles connection error parses the reason phrase handles proxy failures sends user agent retrieves the response body sends request body sends url encoded nested parameters handles requests with proxy sends url encoded parameters retrieves the response headers handles headers with multiple values with SSL disabled #options behaves like a request method handles requests with proxy supports timeout option sends user agent parses the reason phrase handles connection error retrieves the response headers represents empty body response as blank string retrieves the response body sends request body sends url encoded parameters handles proxy failures handles headers with multiple values supports open_timeout option sends url encoded nested parameters #put behaves like a request method retrieves the response body sends request body sends files handles connection error sends url encoded parameters handles proxy failures supports open_timeout option handles headers with multiple values retrieves the response headers supports timeout option sends url encoded nested parameters represents empty body response as blank string sends user agent handles requests with proxy parses the reason phrase #head behaves like a request method handles headers with multiple values parses the reason phrase handles connection error sends url encoded nested parameters sends request body handles proxy failures sends user agent handles requests with proxy sends url encoded parameters represents empty body response as blank string supports open_timeout option supports timeout option retrieves the response body retrieves the response headers #post behaves like a request method sends user agent handles headers with multiple values sends url encoded nested parameters handles connection error retrieves the response headers supports timeout option retrieves the response body represents empty body response as blank string sends url encoded parameters sends request body handles requests with proxy supports open_timeout option handles proxy failures sends files parses the reason phrase #trace behaves like a request method supports open_timeout option sends url encoded nested parameters retrieves the response headers supports timeout option handles connection error represents empty body response as blank string handles headers with multiple values handles requests with proxy parses the reason phrase sends user agent handles proxy failures sends request body sends url encoded parameters retrieves the response body #delete behaves like a request method sends request body supports timeout option handles proxy failures retrieves the response headers handles requests with proxy sends user agent supports open_timeout option represents empty body response as blank string retrieves the response body handles connection error sends url encoded parameters parses the reason phrase handles headers with multiple values sends url encoded nested parameters #patch behaves like a request method sends user agent retrieves the response body handles proxy failures sends request body supports open_timeout option parses the reason phrase sends url encoded nested parameters represents empty body response as blank string sends files supports timeout option handles headers with multiple values handles connection error retrieves the response headers handles requests with proxy sends url encoded parameters #get behaves like a request method retrieves the response body handles proxy failures handles connection error handles requests with proxy supports open_timeout option sends request body represents empty body response as blank string retrieves the response headers sends user agent supports timeout option sends url encoded nested parameters parses the reason phrase sends url encoded parameters handles headers with multiple values config sets timeout sets timeout and open_timeout sets open_timeout Faraday::ProxyOptions allows hash access #from works with no auth works with nil works with string Faraday::Response::RaiseError raises Faraday::ClientError for other 4xx responses raises Faraday::UnprocessableEntityError for 422 responses raises Faraday::ConflictError for 409 responses raises Faraday::ProxyAuthError for 407 responses raises Faraday::ResourceNotFound for 404 responses raises no exception for 200 responses raises Faraday::NilStatusError for nil status in response raises Faraday::ServerError for 500 responses raises Faraday::ForbiddenError for 403 responses raises Faraday::UnauthorizedError for 401 responses raises Faraday::BadRequestError for 400 responses Faraday::Response is expected to raise RuntimeError 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" is expected to eq "yikes" #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 {"Content-Type" => "text/plain"} is expected to eq "yikes" is expected to be nil is expected to eq 404 #apply_request is expected to eq "yikes" is expected to eq :post #to_hash is expected to eq "yikes" is expected to eq 404 is expected to be a kind of Hash is expected to eq {"Content-Type" => "text/plain"} Faraday::ClientError .initialize with exception only is expected to eq nil is expected to eq # is expected to be nil is expected to eq "test" is expected to eq "#>" with string is expected to be nil is expected to eq "custom message" is expected to eq "#>" is expected to be nil with anything else #to_s is expected to eq "#>" is expected to be nil is expected to eq "[\"error1\", \"error2\"]" is expected to be nil with response hash is expected to eq "#" is expected to be nil is expected to eq "the server responded with status 400" is expected to eq {status: 400} Faraday::Options #merge deeply merges options with options having nil sub-options deeply merges options with nil deeply merges options with hashes deeply merges two options merges options with hashes #dup duplicate options but not sub-options #memoized accepts block requires block #update updates options from hashes #each_value allows to iterate through values #empty? returns true only if all options are nil #deep_dup duplicate options and also suboptions #clear clears the options #value? returns true if any key has that value #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 works with deep hash works with nil is expected to raise NoMethodError works with hash with sub object respects inheritance works with options with sub object works with hash works with options #each_key allows to iterate through keys #delete allows to remove value for key Faraday::Adapter::NetHttp checking http supports write_timeout is expected to eq 80 supports open_timeout supports read_timeout sets max_retries to 0 with https url is expected to eq 443 with http url including port is expected to eq 1234 with custom adapter config is expected to eq 123 behaves like an adapter with SSL enabled #options behaves like a request method handles gzip compression handles connection error parses the reason phrase represents empty body response as blank string supports timeout option retrieves the response headers supports open_timeout option handles deflate compression sends url encoded parameters sends url encoded nested parameters sends request body handles headers with multiple values sends user agent retrieves the response body handles proxy failures handles requests with proxy streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #patch behaves like a request method supports timeout option sends url encoded nested parameters represents empty body response as blank string parses the reason phrase sends user agent sends files sends request body handles gzip compression handles proxy failures retrieves the response headers supports open_timeout option retrieves the response body handles deflate compression sends url encoded parameters handles headers with multiple values handles connection error handles requests with proxy streaming when response contains big data handles streaming when response is empty is expected to eq [["", 0]] #put behaves like a request method handles deflate compression represents empty body response as blank string supports timeout option sends request body handles proxy failures sends files handles requests with proxy handles headers with multiple values retrieves the response body sends user agent sends url encoded parameters retrieves the response headers handles gzip compression parses the reason phrase handles connection error supports open_timeout option sends url encoded nested parameters streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #delete behaves like a request method sends request body supports timeout option handles deflate compression handles headers with multiple values handles connection error sends user agent parses the reason phrase sends url encoded parameters handles gzip compression supports open_timeout option represents empty body response as blank string retrieves the response headers handles proxy failures sends url encoded nested parameters retrieves the response body handles requests with proxy streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #post behaves like a request method parses the reason phrase handles proxy failures sends url encoded parameters represents empty body response as blank string supports open_timeout option handles gzip compression handles connection error sends request body supports timeout option retrieves the response body sends user agent sends url encoded nested parameters handles headers with multiple values sends files handles deflate compression retrieves the response headers handles requests with proxy streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #head behaves like a request method supports open_timeout option sends url encoded parameters handles proxy failures parses the reason phrase retrieves the response headers supports timeout option handles connection error handles headers with multiple values sends request body represents empty body response as blank string handles requests with proxy retrieves the response body sends url encoded nested parameters sends user agent streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #get behaves like a request method parses the reason phrase handles gzip compression handles deflate compression supports timeout option supports open_timeout option sends url encoded parameters retrieves the response headers handles proxy failures handles headers with multiple values represents empty body response as blank string handles requests with proxy handles connection error sends url encoded nested parameters retrieves the response body sends user agent sends request body streaming when response contains big data handles streaming when response is empty is expected to eq [["", 0]] #trace behaves like a request method supports open_timeout option handles deflate compression handles proxy failures sends user agent supports timeout option handles headers with multiple values sends url encoded parameters sends request body handles requests with proxy handles gzip compression retrieves the response headers parses the reason phrase represents empty body response as blank string retrieves the response body sends url encoded nested parameters handles connection error streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming with SSL disabled #post behaves like a request method handles gzip compression handles headers with multiple values handles requests with proxy sends request body retrieves the response headers supports timeout option parses the reason phrase sends files represents empty body response as blank string handles proxy failures sends url encoded parameters handles connection error supports open_timeout option retrieves the response body sends url encoded nested parameters handles deflate compression sends user agent streaming when response contains big data handles streaming when response is empty is expected to eq [["", 0]] #options behaves like a request method sends url encoded parameters handles deflate compression handles gzip compression parses the reason phrase handles proxy failures handles headers with multiple values sends user agent handles connection error sends url encoded nested parameters retrieves the response body retrieves the response headers supports timeout option represents empty body response as blank string supports open_timeout option handles requests with proxy sends request body streaming when response contains big data handles streaming when response is empty is expected to eq [["", 0]] #patch behaves like a request method represents empty body response as blank string retrieves the response body sends url encoded nested parameters handles deflate compression parses the reason phrase sends user agent handles requests with proxy sends url encoded parameters handles headers with multiple values supports open_timeout option sends request body retrieves the response headers handles proxy failures sends files handles gzip compression supports timeout option handles connection error streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #head behaves like a request method represents empty body response as blank string sends request body handles headers with multiple values handles proxy failures sends url encoded nested parameters supports timeout option sends user agent parses the reason phrase retrieves the response body supports open_timeout option handles requests with proxy sends url encoded parameters retrieves the response headers handles connection error streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #put behaves like a request method handles gzip compression handles connection error handles proxy failures supports open_timeout option handles deflate compression sends url encoded nested parameters retrieves the response headers supports timeout option handles headers with multiple values sends url encoded parameters parses the reason phrase sends user agent retrieves the response body sends files sends request body handles requests with proxy represents empty body response as blank string streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #get behaves like a request method sends url encoded nested parameters supports timeout option sends request body handles gzip compression parses the reason phrase sends url encoded parameters handles proxy failures handles headers with multiple values retrieves the response body represents empty body response as blank string retrieves the response headers handles deflate compression handles requests with proxy sends user agent handles connection error supports open_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 headers with multiple values sends url encoded parameters handles requests with proxy retrieves the response body handles proxy failures handles connection error parses the reason phrase sends request body sends user agent sends url encoded nested parameters supports timeout option retrieves the response headers handles deflate compression represents empty body response as blank string supports open_timeout option handles gzip compression streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming #delete behaves like a request method supports open_timeout option sends url encoded parameters parses the reason phrase retrieves the response body handles connection error represents empty body response as blank string handles proxy failures retrieves the response headers handles requests with proxy supports timeout option sends user agent sends url encoded nested parameters handles gzip compression handles deflate compression sends request body handles headers with multiple values streaming when response is empty is expected to eq [["", 0]] when response contains big data handles streaming Faraday::Response::Logger logs request headers by default still returns output logs filter url logs filter headers does not log response body by default logs method and url does not log request body by default logs response headers by default 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 with default formatter delegates logging to the formatter when not logging request headers does not log request headers if option is false when not logging response headers does not log response headers if option is false when logging response body log only response body without configuration defaults to stdout when logging request body log only request body when using log_level does not log headers on the info level logs request/request body on the specified level (debug) logs headers on the debug level does not log request/response body on the info level Faraday::Connection #build_request is expected to eq ["Authorization"] is expected to be falsey is expected to be empty is expected to be truthy proxy support accepts hash allows when ip address is not in no proxy list but url is accepts uri allows when url not in no proxy list test proxy requires uri accepts env without scheme allows when url in no proxy list fetches no proxy from nil env uses processes no_proxy before https_proxy fetches no proxy from blank env allows when prefixed url is not in no proxy list allows when subdomain url is in no proxy list accepts http env uses env https_proxy does not accept uppercase env accepts http env with auth allows when url is not in no proxy list but ip address is gives priority to manually set proxy uses processes no_proxy before http_proxy uses env http_proxy accepts hash with string uri allows in multi element no proxy list accepts string ignores env proxy if set that way performing a request dynamically checks proxy dynamically check no proxy #to_env parses url params into query escapes per spec bracketizes repeated params in query bracketizes nested params in query without braketizing repeated params in query request params with simple url test_overrides_request_params_block_url test_overrides_request_params_block test_overrides_request_params 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 url supports array params in 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 #close can close underlying app #respond_to? is expected to be truthy is expected to be truthy #build_url merges params uses params #build_exclusive_url does not add ending slash given empty url does not add ending slash given nil url does not use connection params overrides connection port for absolute url handles uri instances allows to provide params argument 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 "/fish/sake.html" is expected to eq "/fish/sake.html" is expected to eq "/sake.html" is expected to eq "/fish/sake.html" with complete url is expected to eq "/sake.html" is expected to eq "a=1" is expected to eq 80 is expected to eq "http" is expected to eq "sushi.com" with url_prefixed connection overrides base used default base with ending slash joins url to base with ending slash parses url and changes scheme .new with empty block is expected to eq 0 with implicit url param behaves like initializer with url with complex url is expected to eq "/fish" is expected to eq {"a" => "1"} is expected to eq 815 with simple url is expected to eq "sushi.com" is expected to eq 80 is expected to eq "/" is expected to eq "http" is expected to eq {} with explicit url param behaves like initializer with url with simple url is expected to eq "/" is expected to eq {} is expected to eq 80 is expected to eq "http" is expected to eq "sushi.com" with complex url is expected to eq 815 is expected to eq {"a" => "1"} is expected to eq "/fish" with block is expected to eq "/omnom" is expected to eq 0 with custom builder is expected to eq # with custom params and params in url is expected to eq {"a" => 3, "b" => "2"} with custom headers is expected to eq "Faraday" with custom params is expected to eq {"a" => 1} with ssl false is expected to be falsey #dup is expected to eq "text/plain" is expected to eq "1" is expected to eq # after manual changes is expected to be falsey is expected to be nil is expected to eq 1 is expected to eq 5 is expected to be falsey is expected to eq 1 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==" #token_auth is expected to eq "Token nonce=\"abc\", token=\"abcdef\"" default_connection_options assigning a default value behaves like default connection options default connection options persist with an instance overriding works with implicit url default connection uses default connection options works with instance connection options works with option url assigning a hash behaves like default connection options works with option url default connection options persist with an instance overriding works with instance connection options works with implicit url default connection uses default connection options Faraday::Env ignores false when fetching retains custom members allows to access string non members allows to access members allows to access symbol non members #body when response is not finished yet returns the request body when response is finished allows to access response_body returns the response body allows to access request_body Faraday::Request::Retry when an expected error happens is expected to eq 3 and new max_retry set to -9 is expected to eq 1 and legacy max_retry set to 1 is expected to eq 2 and new max_retry set to 3 is expected to eq 4 and legacy max_retry set to -9 is expected to eq 1 and both max_retry and interval are set is expected to be within 0.04 of 0.2 retry_after header support when retry_after bigger than interval is expected to be > 0.5 when retry_after smaller than interval is expected to be > 0.2 when retry_after is bigger than max_interval is expected to eq 1 when retry_after is a timestamp is expected to be > 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 #calculate_retry_interval with exponential backoff and max_interval is expected to eq 0.1 is expected to eq 0.3 is expected to eq 0.2 is expected to eq 0.3 with exponential backoff is expected to eq 0.2 is expected to eq 0.1 is expected to eq 0.4 with exponential backoff and interval_randomness is expected to be between 0.1 and 0.15 (inclusive) 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 retry_if option does not retry if retry_if block returns false checking exception UploadIO: should rewind files on retry retries if retry_if block always returns true FilePart: should rewind files on retry does not retry if retry_if block returns false checking env when explicitly specifying methods to retry does not call retry_if for specified methods with empty list of methods to retry calls retry_if for all methods Faraday::Request::Authorization token_auth when passed correct params is expected to eq "Token token=\"quux\"" and request already has an authentication header does not interfere with existing authorization when other values are provided is expected to match /foo="42"/ is expected to match /^Token / is expected to match /token="baz"/ and request already has an authentication header does not interfere with existing authorization basic_auth when passed correct params is expected to eq "Basic YWxhZGRpbjpvcGVuc2VzYW1l" and request already has an authentication header does not interfere with existing authorization 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 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 when passed two strings is expected to eq "custom abc def" and request already has an authentication header does not interfere with existing authorization Faraday::Request::UrlEncoded works with nested params works with with headers ignores custom content type works with no headers works with unicode works with non nested params does nothing without payload works with nested keys customising default_space_encoding uses the custom character to encode spaces Finished in 10.35 seconds (files took 1.76 seconds to load) 2265 examples, 0 failures, 1 pending Randomized with seed 60885 + popd ~/build/BUILD/rubygem-faraday-1.0.1-build/faraday-1.0.1 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rubygem-faraday-1.0.1-20.fc45.noarch Provides: rubygem(faraday) = 1.0.1 rubygem-faraday = 1.0.1-20.fc45 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-20.fc45.noarch Provides: rubygem-faraday-doc = 1.0.1-20.fc45 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/BUILD/rubygem-faraday-1.0.1-build/BUILDROOT Wrote: /builddir/build/RPMS/rubygem-faraday-1.0.1-20.fc45.noarch.rpm Wrote: /builddir/build/RPMS/rubygem-faraday-doc-1.0.1-20.fc45.noarch.rpm Child return code was: 0