Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-grape/ruby-grape_1.4.0-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-grape-1.4.0-13aliyqhx/ruby-grape_1.4.0-1_all.buildinfo Get source package info: ruby-grape=1.4.0-1 Source URL: http://snapshot.notset.fr/mr/package/ruby-grape/1.4.0-1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adduser=3.118 autoconf=2.69-11.1 automake=1:1.16.2-3 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-7 binutils=2.35-1 binutils-common=2.35-1 binutils-x86-64-linux-gnu=2.35-1 bsdextrautils=2.36-2 bsdutils=1:2.36-2 build-essential=12.8 bzip2=1.0.8-4 ca-certificates=20200601 coreutils=8.32-3 cpp=4:10.1.0-1 cpp-10=10.2.0-3 dash=0.5.10.2-7 debconf=1.5.74 debhelper=13.2 debianutils=4.11 devscripts=2.20.4 dh-autoreconf=19 dh-strip-nondeterminism=1.9.0-1 diffutils=1:3.7-3 dirmngr=2.2.20-1 dpkg=1.20.5 dpkg-dev=1.20.5 dwz=0.13-5 fakeroot=1.24-1 file=1:5.38-5 findutils=4.7.0-1 g++=4:10.1.0-1 g++-10=10.2.0-3 gcc=4:10.1.0-1 gcc-10=10.2.0-3 gcc-10-base=10.2.0-3 gem2deb=1.2.1 gem2deb-test-runner=1.2.1 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 gnupg=2.2.20-1 gnupg-l10n=2.2.20-1 gnupg-utils=2.2.20-1 gpg=2.2.20-1 gpg-agent=2.2.20-1 gpg-wks-client=2.2.20-1 gpg-wks-server=2.2.20-1 gpgconf=2.2.20-1 gpgsm=2.2.20-1 gpgv=2.2.20-1 grep=3.4-1 groff-base=1.22.4-5 gzip=1.10-2 hostname=3.23 init-system-helpers=1.58 intltool-debian=0.35.0+20060710.5 javascript-common=11 libacl1=2.2.53-8 libarchive-zip-perl=1.68-1 libasan6=10.2.0-3 libassuan0=2.5.3-7.1 libatomic1=10.2.0-3 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-3 libaudit1=1:2.8.5-3+b1 libb-hooks-op-check-perl=0.22-1+b2 libbinutils=2.35-1 libblkid1=2.36-2 libbz2-1.0=1.0.8-4 libc-bin=2.31-3 libc-dev-bin=2.31-3 libc6=2.31-3 libc6-dev=2.31-3 libcap-ng0=0.7.9-2.2 libcc1-0=10.2.0-3 libclass-method-modifiers-perl=2.13-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.16-1 libcrypt1=1:4.4.16-1 libctf-nobfd0=2.35-1 libctf0=2.35-1 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.253 libdebhelper-perl=13.2 libdevel-callchecker-perl=0.008-1+b1 libdpkg-perl=1.20.5 libdynaloader-functions-perl=0.003-1 libelf1=0.180-1+b1 libencode-locale-perl=1.05-1 libexpat1=2.2.9-1 libfakeroot=1.24-1 libffi7=3.3-4 libfile-homedir-perl=1.004-1 libfile-listing-perl=6.04-1 libfile-stripnondeterminism-perl=1.9.0-1 libfile-which-perl=1.23-1 libgcc-10-dev=10.2.0-3 libgcc-s1=10.2.0-3 libgcrypt20=1.8.6-2 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.64.4-1 libgmp-dev=2:6.2.0+dfsg-6 libgmp10=2:6.2.0+dfsg-6 libgmpxx4ldbl=2:6.2.0+dfsg-6 libgnutls30=3.6.14-2+b1 libgomp1=10.2.0-3 libgpg-error0=1.38-2 libhogweed6=3.6-2 libhtml-parser-perl=3.72-5 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.08-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.25-1 libhttp-negotiate-perl=6.01-1 libicu67=67.1-3 libidn2-0=2.3.0-1 libimport-into-perl=1.002005-1 libio-html-perl=1.001-1 libio-pty-perl=1:1.12-1 libio-socket-ssl-perl=2.067-1 libipc-run-perl=20200505.0-1 libisl22=0.22.1-1 libitm1=10.2.0-3 libjs-jquery=3.5.1+dfsg-4 libjs-jquery-easing=12-1.1 libjs-jquery-fancybox=12-1.1 libjs-jquery-mousewheel=1:3.1.13-2 libjs-jquery-ui=1.12.1+dfsg-5 libksba8=1.4.0-2 libldap-2.4-2=2.4.50+dfsg-1+b1 libldap-common=2.4.50+dfsg-1 liblsan0=10.2.0-3 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.09-1 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-5 libmagic1=1:5.38-5 libmodule-runtime-perl=0.016-1 libmoo-perl=2.004000-1 libmount1=2.36-2 libmpc3=1.2.0~rc1-1 libmpfr6=4.1.0-3 libncursesw6=6.2-1 libnet-http-perl=6.19-1 libnet-ssleay-perl=1.88-3 libnettle8=3.6-2 libnpth0=1.6-2 libp11-kit0=0.23.20-1 libpam-modules=1.3.1-5 libpam-modules-bin=1.3.1-5 libpam-runtime=1.3.1-5 libpam0g=1.3.1-5 libparams-classify-perl=0.015-1+b2 libpcre2-8-0=10.34-7 libpcre3=2:8.39-13 libperl5.30=5.30.3-4 libpipeline1=1.5.2-2 libpython3-stdlib=3.8.2-3 libpython3.8-minimal=3.8.5-2 libpython3.8-stdlib=3.8.5-2 libquadmath0=10.2.0-3 libreadline8=8.0-4 librole-tiny-perl=2.001004-1 libruby2.7=2.7.1-3 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.4.3-1+b1 libselinux1=3.1-2 libsemanage-common=3.1-1 libsemanage1=3.1-1 libsepol1=3.1-1 libsigsegv2=2.12-2 libsmartcols1=2.36-2 libsqlite3-0=3.32.3-1 libssl1.1=1.1.1g-1 libstdc++-10-dev=10.2.0-3 libstdc++6=10.2.0-3 libstrictures-perl=2.000006-1 libsub-override-perl=0.09-2 libsub-quote-perl=2.006006-1 libsystemd0=246-2 libtasn1-6=4.16.0-2 libtimedate-perl=2.3300-1 libtinfo6=6.2-1 libtool=2.4.6-14 libtry-tiny-perl=0.30-1 libtsan0=10.2.0-3 libubsan1=10.2.0-3 libuchardet0=0.0.7-1 libudev1=246-2 libunistring2=0.9.10-4 liburi-perl=1.76-2 libuuid1=2.36-2 libwww-perl=6.46-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.10+dfsg-5+b1 libyaml-0-2=0.2.2-1 libzstd1=1.4.5+dfsg-3 linux-libc-dev=5.7.10-1 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.3-4 man-db=2.9.3-2 mawk=1.3.4.20200120-2 mime-support=3.64 ncurses-base=6.2-1 ncurses-bin=6.2-1 netbase=6.1 node-jquery=3.5.1+dfsg-4 openssl=1.1.1g-1 passwd=1:4.8.1-1 patch=2.7.6-6 patchutils=0.4.2-1 perl=5.30.3-4 perl-base=5.30.3-4 perl-modules-5.30=5.30.3-4 perl-openssl-defaults=5 pinentry-curses=1.1.0-4 po-debconf=1.0.21 python3=3.8.2-3 python3-minimal=3.8.2-3 python3.8=3.8.5-2 python3.8-minimal=3.8.5-2 rake=13.0.1-4 readline-common=8.0-4 ruby=1:2.7+1 ruby-activesupport=2:6.0.3.2+dfsg-8 ruby-all-dev=1:2.7+1 ruby-atomic=1.1.16-3 ruby-axiom-types=0.1.1-1 ruby-builder=3.2.4-1 ruby-coercible=1.0.0-2 ruby-concurrent=1.1.6+dfsg-3 ruby-cookiejar=0.3.3-1 ruby-coveralls=0.8.23-1 ruby-descendants-tracker=0.0.4-2 ruby-diff-lcs=1.4.4-1 ruby-docile=1.1.5-2 ruby-domain-name=0.5.20160216-2 ruby-dry-configurable=0.9.0-2 ruby-dry-container=0.7.2-2 ruby-dry-core=0.4.9-2 ruby-dry-equalizer=0.3.0-2 ruby-dry-inflector=0.2.0-2 ruby-dry-logic=1.0.5-2 ruby-dry-types=1.2.2-2 ruby-equalizer=0.0.11-2 ruby-grape-entity=0.8.0-1 ruby-hashie=3.5.5-2 ruby-http-cookie=1.0.3-1 ruby-i18n=1.8.5-1 ruby-ice-nine=0.11.2-1 ruby-mime-types=3.3.1-1 ruby-mime-types-data=3.2015.1120-1 ruby-minitest=5.13.0-1 ruby-multi-json=1.14.1-1 ruby-multi-xml=0.6.0-1 ruby-mustermann=1.1.1-1 ruby-mustermann-grape=1.0.1-1 ruby-net-telnet=0.1.1-2 ruby-netrc=0.11.0-3 ruby-power-assert=1.1.7-1 ruby-rack=2.1.1-5 ruby-rack-accept=0.4.5-3 ruby-rack-test=0.7.0-1 ruby-rest-client=2.0.2-3.1 ruby-rspec=3.9.0c1e0m1s2-1 ruby-rspec-core=3.9.0c1e0m1s2-1 ruby-rspec-expectations=3.9.0c1e0m1s2-1 ruby-rspec-mocks=3.9.0c1e0m1s2-1 ruby-rspec-support=3.9.0c1e0m1s2-1 ruby-ruby2-keywords=0.0.2-2 ruby-setup=3.4.1-9 ruby-simplecov=0.18.5-1 ruby-simplecov-html=0.11.0-1 ruby-sync=0.5.0-2 ruby-term-ansicolor=1.3.0-1 ruby-test-unit=3.3.5-1 ruby-thor=0.20.3-2 ruby-thread-safe=0.3.6-1 ruby-tins=1.1.0-2 ruby-tzinfo=1.2.6-1 ruby-unf=0.1.4-2 ruby-unf-ext=0.0.7.6-1+b2 ruby-virtus=1.0.5-3 ruby-xmlrpc=0.3.0-2 ruby-zeitwerk=2.2.2-1 ruby2.7=2.7.1-3 ruby2.7-dev=2.7.1-3 rubygems-integration=1.17.2 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-3 tar=1.30+dfsg-7 tzdata=2020a-1 util-linux=2.36-2 wdiff=1.2.2-2+b1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200807T204512Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d ruby-grape=1.4.0-1 && mkdir -p /build/ruby-grape-Mq1JkT && dpkg-source --no-check -x /*.dsc /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0 && chown -R builduser:builduser /build/ruby-grape-Mq1JkT" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1596022469" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-grape-Mq1JkT /tmp/ruby-grape-1.4.0-13aliyqhx bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200807T204512Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.7s3NEHj59p as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.7s3NEHj59p Reading package lists... Building dependency tree... util-linux is already the newest version (2.36-2). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 132 kB of archives. After this operation, 393 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20200807T204512Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200807T204512Z unstable/main amd64 fakeroot amd64 1.24-1 [85.9 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 132 kB in 0s (1086 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4578 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.24-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.24-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.24-1_amd64.deb ... Unpacking fakeroot (1.24-1) ... Setting up libfakeroot:amd64 (1.24-1) ... Setting up fakeroot (1.24-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-3) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20200807T204512Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.7s3NEHj59p Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20200807T204512Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Fetched 22.6 MB in 21s (1089 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.7s3NEHj59p I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-grape=1.4.0-1 && mkdir -p /build/ruby-grape-Mq1JkT && dpkg-source --no-check -x /*.dsc /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0 && chown -R builduser:builduser /build/ruby-grape-Mq1JkT"' exec /tmp/mmdebstrap.7s3NEHj59p Reading package lists... NOTICE: 'ruby-grape' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ruby-team/ruby-grape.git Please use: git clone https://salsa.debian.org/ruby-team/ruby-grape.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 240 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-grape 1.4.0-1 (dsc) [2376 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-grape 1.4.0-1 (tar) [233 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-grape 1.4.0-1 (diff) [4284 B] Fetched 240 kB in 0s (949 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-grape_1.4.0-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-grape in /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0 dpkg-source: info: unpacking ruby-grape_1.4.0.orig.tar.gz dpkg-source: info: unpacking ruby-grape_1.4.0-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Do-not-require-bundler-nor-rubygems.patch dpkg-source: info: applying disable-integration-test.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1596022469" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.7s3NEHj59p dpkg-buildpackage: info: source package ruby-grape dpkg-buildpackage: info: source version 1.4.0-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Pirate Praveen dpkg-source --before-build . debian/rules clean dh clean --buildsystem=ruby --with ruby debian/rules override_dh_auto_clean make[1]: Entering directory '/build/ruby-grape-Mq1JkT/ruby-grape-1.4.0' dh_auto_clean dh_ruby --clean dh_ruby --clean rm -rf coverage make[1]: Leaving directory '/build/ruby-grape-Mq1JkT/ruby-grape-1.4.0' dh_autoreconf_clean -O--buildsystem=ruby dh_clean -O--buildsystem=ruby debian/rules binary-indep dh binary-indep --buildsystem=ruby --with ruby dh_update_autotools_config -i -O--buildsystem=ruby dh_autoreconf -i -O--buildsystem=ruby dh_auto_configure -i -O--buildsystem=ruby dh_ruby --configure dh_auto_build -i -O--buildsystem=ruby dh_ruby --build dh_ruby --build dh_auto_test -i -O--buildsystem=ruby dh_ruby --test create-stamp debian/debhelper-build-stamp dh_testroot -i -O--buildsystem=ruby dh_prep -i -O--buildsystem=ruby dh_auto_install -i -O--buildsystem=ruby dh_ruby --install /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape dh_ruby --install ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/http/headers.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/http/headers.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validator_factory.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validator_factory.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/multiple_attributes_iterator.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/multiple_attributes_iterator.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/types/file.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/types/file.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/types/primitive_coercer.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/types/primitive_coercer.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/types/build_coercer.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/types/build_coercer.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/types/array_coercer.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/types/array_coercer.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/types/custom_type_coercer.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/types/custom_type_coercer.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/types/set_coercer.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/types/set_coercer.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/types/dry_type_coercer.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/types/dry_type_coercer.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/types/multiple_type_coercer.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/types/multiple_type_coercer.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/types/custom_type_collection_coercer.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/types/custom_type_collection_coercer.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/types/json.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/types/json.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/types/variant_collection_coercer.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/types/variant_collection_coercer.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/types.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/types.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/attributes_iterator.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/attributes_iterator.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/same_as.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/same_as.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/as.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/as.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/values.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/values.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/exactly_one_of.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/exactly_one_of.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/regexp.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/regexp.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/base.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/base.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/coerce.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/coerce.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/multiple_params_base.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/multiple_params_base.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/presence.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/presence.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/allow_blank.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/allow_blank.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/at_least_one_of.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/at_least_one_of.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/default.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/default.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/all_or_none.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/all_or_none.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/except_values.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/except_values.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/validators/mutual_exclusion.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/validators/mutual_exclusion.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/params_scope.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/params_scope.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations/single_attribute_iterator.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations/single_attribute_iterator.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/formatter.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/formatter.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/cookies.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/cookies.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/locale/en.yml /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/locale/en.yml install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/configuration.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/configuration.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/api.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/api.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/callbacks.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/callbacks.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/inside_route.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/inside_route.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/logger.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/logger.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/headers.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/headers.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/request_response.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/request_response.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/middleware.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/middleware.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/desc.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/desc.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/routing.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/routing.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/helpers.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/helpers.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/validations.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/validations.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/parameters.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/parameters.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/settings.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/dsl/settings.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/serve_stream/file_body.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/serve_stream/file_body.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/serve_stream/stream_response.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/serve_stream/stream_response.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/serve_stream/sendfile_response.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/serve_stream/sendfile_response.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/version.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/version.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/endpoint.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/endpoint.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/api.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/api.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/namespace.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/namespace.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/presenters/presenter.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/presenters/presenter.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/extensions/hashie/mash.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/extensions/hashie/mash.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/extensions/deep_mergeable_hash.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/extensions/deep_mergeable_hash.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/extensions/deep_symbolize_hash.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/extensions/deep_symbolize_hash.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/extensions/active_support/hash_with_indifferent_access.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/extensions/active_support/hash_with_indifferent_access.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/extensions/hash.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/extensions/hash.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/incompatible_option_values.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/incompatible_option_values.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/invalid_message_body.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/invalid_message_body.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/validation_errors.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/validation_errors.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/invalid_with_option_for_represent.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/invalid_with_option_for_represent.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/invalid_response.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/invalid_response.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/unknown_options.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/unknown_options.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/base.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/base.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/invalid_versioner_option.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/invalid_versioner_option.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/unknown_parameter.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/unknown_parameter.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/validation_array_errors.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/validation_array_errors.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/missing_option.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/missing_option.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/unknown_validator.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/unknown_validator.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/invalid_version_header.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/invalid_version_header.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/method_not_allowed.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/method_not_allowed.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/invalid_formatter.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/invalid_formatter.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/invalid_accept_header.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/invalid_accept_header.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/missing_mime_type.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/missing_mime_type.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/unsupported_group_type.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/unsupported_group_type.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/missing_group_type.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/missing_group_type.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/missing_vendor_option.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/missing_vendor_option.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/validation.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/exceptions/validation.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/router.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/router.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/api/instance.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/api/instance.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/api/helpers.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/api/helpers.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/content_types.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/content_types.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/formatter/txt.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/formatter/txt.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/formatter/xml.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/formatter/xml.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/formatter/json.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/formatter/json.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/formatter/serializable_hash.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/formatter/serializable_hash.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/parser.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/parser.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/filter.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/filter.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/formatter.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/formatter.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/versioner/parse_media_type_patch.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/versioner/parse_media_type_patch.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/versioner/param.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/versioner/param.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/versioner/path.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/versioner/path.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/versioner/header.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/versioner/header.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/versioner/accept_version_header.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/versioner/accept_version_header.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/base.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/base.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/auth/dsl.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/auth/dsl.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/auth/strategies.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/auth/strategies.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/auth/base.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/auth/base.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/auth/strategy_info.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/auth/strategy_info.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/globals.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/globals.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/error.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/error.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/versioner.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/versioner.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/stack.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/stack.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/helpers.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/middleware/helpers.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/request.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/request.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/config.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/config.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/path.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/path.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/eager_load.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/eager_load.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/registrable.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/registrable.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/stackable_values.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/stackable_values.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/endpoint_configuration.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/endpoint_configuration.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/cache.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/cache.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/inheritable_setting.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/inheritable_setting.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/lazy_value.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/lazy_value.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/reverse_stackable_values.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/reverse_stackable_values.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/inheritable_values.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/inheritable_values.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/strict_hash_configuration.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/strict_hash_configuration.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/lazy_block.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/lazy_block.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/xml.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/xml.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/lazy_object.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/lazy_object.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/json.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/json.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/base_inheritable.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/base_inheritable.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/util/env.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/util/env.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/error_formatter.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/error_formatter.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/validations.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/validations.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/parser/xml.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/parser/xml.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/parser/json.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/parser/json.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/error_formatter/base.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/error_formatter/base.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/error_formatter/txt.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/error_formatter/txt.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/error_formatter/xml.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/error_formatter/xml.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/error_formatter/json.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/error_formatter/json.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/router/attribute_translator.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/router/attribute_translator.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/router/pattern.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/router/pattern.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/router/route.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape/router/route.rb install -D -m644 /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape.rb /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby/grape.rb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/share/rubygems-integration/all/specifications/grape-1.4.0.gemspec dh_installchangelogs -pruby-grape /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/CHANGELOG.md upstream /usr/bin/ruby2.7 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.7 │ └──────────────────────────────────────────────────────────────────────────────┘ GEM_PATH=/build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -e gem\ \"grape\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.7 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/debian/ruby-grape/usr/share/rubygems-integration/all:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0 ruby2.7 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.7 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec ./spec/grape/api/custom_validations_spec.rb ./spec/grape/api/deeply_included_options_spec.rb ./spec/grape/api/defines_boolean_in_params_spec.rb ./spec/grape/api/inherited_helpers_spec.rb ./spec/grape/api/instance_spec.rb ./spec/grape/api/invalid_format_spec.rb ./spec/grape/api/namespace_parameters_in_route_spec.rb ./spec/grape/api/nested_helpers_spec.rb ./spec/grape/api/optional_parameters_in_route_spec.rb ./spec/grape/api/parameters_modification_spec.rb ./spec/grape/api/patch_method_helpers_spec.rb ./spec/grape/api/recognize_path_spec.rb ./spec/grape/api/required_parameters_in_route_spec.rb ./spec/grape/api/required_parameters_with_invalid_method_spec.rb ./spec/grape/api/routes_with_requirements_spec.rb ./spec/grape/api/shared_helpers_exactly_one_of_spec.rb ./spec/grape/api/shared_helpers_spec.rb ./spec/grape/api_remount_spec.rb ./spec/grape/api_spec.rb ./spec/grape/config_spec.rb ./spec/grape/dsl/callbacks_spec.rb ./spec/grape/dsl/configuration_spec.rb ./spec/grape/dsl/desc_spec.rb ./spec/grape/dsl/headers_spec.rb ./spec/grape/dsl/helpers_spec.rb ./spec/grape/dsl/inside_route_spec.rb ./spec/grape/dsl/logger_spec.rb ./spec/grape/dsl/middleware_spec.rb ./spec/grape/dsl/parameters_spec.rb ./spec/grape/dsl/request_response_spec.rb ./spec/grape/dsl/routing_spec.rb ./spec/grape/dsl/settings_spec.rb ./spec/grape/dsl/validations_spec.rb ./spec/grape/endpoint_spec.rb ./spec/grape/exceptions/base_spec.rb ./spec/grape/exceptions/body_parse_errors_spec.rb ./spec/grape/exceptions/invalid_accept_header_spec.rb ./spec/grape/exceptions/invalid_formatter_spec.rb ./spec/grape/exceptions/invalid_response_spec.rb ./spec/grape/exceptions/invalid_versioner_option_spec.rb ./spec/grape/exceptions/missing_mime_type_spec.rb ./spec/grape/exceptions/missing_option_spec.rb ./spec/grape/exceptions/unknown_options_spec.rb ./spec/grape/exceptions/unknown_validator_spec.rb ./spec/grape/exceptions/validation_errors_spec.rb ./spec/grape/exceptions/validation_spec.rb ./spec/grape/extensions/param_builders/hash_spec.rb ./spec/grape/extensions/param_builders/hash_with_indifferent_access_spec.rb ./spec/grape/extensions/param_builders/hashie/mash_spec.rb ./spec/grape/integration/global_namespace_function_spec.rb ./spec/grape/integration/rack_sendfile_spec.rb ./spec/grape/integration/rack_spec.rb ./spec/grape/loading_spec.rb ./spec/grape/middleware/auth/base_spec.rb ./spec/grape/middleware/auth/dsl_spec.rb ./spec/grape/middleware/auth/strategies_spec.rb ./spec/grape/middleware/base_spec.rb ./spec/grape/middleware/error_spec.rb ./spec/grape/middleware/exception_spec.rb ./spec/grape/middleware/formatter_spec.rb ./spec/grape/middleware/globals_spec.rb ./spec/grape/middleware/stack_spec.rb ./spec/grape/middleware/versioner/accept_version_header_spec.rb ./spec/grape/middleware/versioner/header_spec.rb ./spec/grape/middleware/versioner/param_spec.rb ./spec/grape/middleware/versioner/path_spec.rb ./spec/grape/middleware/versioner_spec.rb ./spec/grape/named_api_spec.rb ./spec/grape/parser_spec.rb ./spec/grape/path_spec.rb ./spec/grape/presenters/presenter_spec.rb ./spec/grape/request_spec.rb ./spec/grape/util/inheritable_setting_spec.rb ./spec/grape/util/inheritable_values_spec.rb ./spec/grape/util/reverse_stackable_values_spec.rb ./spec/grape/util/stackable_values_spec.rb ./spec/grape/util/strict_hash_configuration_spec.rb ./spec/grape/validations/attributes_iterator_spec.rb ./spec/grape/validations/instance_behaivour_spec.rb ./spec/grape/validations/multiple_attributes_iterator_spec.rb ./spec/grape/validations/params_scope_spec.rb ./spec/grape/validations/single_attribute_iterator_spec.rb ./spec/grape/validations/types/array_coercer_spec.rb ./spec/grape/validations/types/primitive_coercer_spec.rb ./spec/grape/validations/types/set_coercer_spec.rb ./spec/grape/validations/types_spec.rb ./spec/grape/validations/validators/all_or_none_spec.rb ./spec/grape/validations/validators/allow_blank_spec.rb ./spec/grape/validations/validators/at_least_one_of_spec.rb ./spec/grape/validations/validators/coerce_spec.rb ./spec/grape/validations/validators/default_spec.rb ./spec/grape/validations/validators/exactly_one_of_spec.rb ./spec/grape/validations/validators/except_values_spec.rb ./spec/grape/validations/validators/mutual_exclusion_spec.rb ./spec/grape/validations/validators/presence_spec.rb ./spec/grape/validations/validators/regexp_spec.rb ./spec/grape/validations/validators/same_as_spec.rb ./spec/grape/validations/validators/values_spec.rb ./spec/grape/validations_spec.rb ./spec/integration/eager_load/eager_load_spec.rb ./spec/integration/multi_json/json_spec.rb ./spec/integration/multi_xml/xml_spec.rb --format documentation /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api_spec.rb:166: warning: assigned but unused variable - internal_namespace /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/validations/validators/except_values_spec.rb:11: warning: method redefined; discarding old excepts [Coveralls] Set up the SimpleCov formatter. [Coveralls] Using SimpleCov's default settings. Grape::Validations using a custom length validator /usr/lib/ruby/vendor_ruby/rack/builder.rb:102: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/error.rb:30: warning: The called method `initialize' is defined here under 140 characters /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:10: warning: method redefined; discarding old validate_param! /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:10: warning: previous definition of validate_param! was here over 140 characters /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:10: warning: method redefined; discarding old validate_param! /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:10: warning: previous definition of validate_param! was here specified in the query string using a custom body-only validator allows field in body /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:54: warning: method redefined; discarding old validate /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:54: warning: previous definition of validate was here ignores field in query using a custom validator with message_key fails with message using a custom request/param validator fail when non-admin user sets an admin field /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:123: warning: method redefined; discarding old validate /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:123: warning: previous definition of validate was here does not fail when we send non-admin fields only /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:123: warning: method redefined; discarding old validate /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:123: warning: previous definition of validate was here does not fail when we send non-admin and admin=false fields only /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:123: warning: method redefined; discarding old validate /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:123: warning: previous definition of validate was here does not fail when we send admin fields and we are admin /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:123: warning: method redefined; discarding old validate /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api/custom_validations_spec.rb:123: warning: previous definition of validate was here fails when we send admin fields and we are not admin Grape::API works for unspecified format works for specified format doesn't work for format different than specified Grape::API::Instance boolean constant sets Boolean as a type Params endpoint type params type is a boolean Grape::API::Helpers non overriding subclass given expected params inherits helpers from a superclass with lack of expected params returns missing error overriding subclass given expected params overrides helpers from a superclass with lack of expected params returns missing error example subclass given expected params inherits helpers from a superclass with lack of expected params returns missing error Grape::API::Instance when an instance is mounted on the root can call the instance endpoint when an instance is the root can call the instance endpoint top level setting does not inherit settings from the superclass (Grape::API::Instance) with multiple moutes does not raise a FrozenError on first instance responds the correct body at the first instance does not raise a FrozenError on second instance responds the correct body at the second instance Grape::Endpoint get no format json format invalid format Grape::Endpoint get responds without ext put responds Grape::API::Helpers can access helpers from a mounted resource can access helpers from a mounted resource in a nested resource Grape::Endpoint get responds without ext responds with ext put responds Grape::Endpoint when route modifies param value param default should not change Grape::API::Helpers patch public private default default public private default Grape::API .recognize_path fetches endpoint by given path returns nil if given path does not match with registered routes Grape::Endpoint get responds put responds Grape::Endpoint post 405 Grape::Endpoint get routes to a namespace param with dots routes to a path with multiple params with dots routes to namespace and path params with dots, with overridden requirements routes to namespace and path params with dots, with merged requirements Grape::API::Helpers defines parameters Grape::API::Helpers defines parameters Grape::API remounting an API with a defined route when mounting one instance can access the endpoint when mounting twice can access the votes in both places when mounting on namespace can access the votes in both places with dynamic configuration when mounting an endpoint conditional on a configuration mounts the endpoints only when configured to do so when using an expression derived from a configuration mounts the endpoint with the name does not mount the endpoint with a null name when the expression lives in a namespace mounts the endpoint with the name does not mount the endpoint with a null name when executing a standard block within a `mounted` block with all dynamic params mounts the API and obtains the description and headers definition when executing a custom block on mount mounts the endpoints only when configured to do so when the configuration is part of the arguments of a method mounts the endpoint in the location it is configured when the configuration is the value in a key-arg pair takes the param from the configuration on the DescSCope mounts the endpoint with the appropiate tags on the ParamScope mounts the endpoint in the location it is configured on dynamic checks can read the configuration on lambdas when the configuration is read within a namespace will use the dynamic configuration on all routes a very complex configuration example when the namespace should be mounted gets a response when should be mounted is nil gets a response when it should not be mounted gets a response when the configuration is read in a helper will use the dynamic configuration on all routes when the configuration is read within the response block will use the dynamic configuration on all routes Grape::API .prefix routes root through with the prefix routes through with the prefix supports OPTIONS disallows POST .version when defined returns version value when not defined returns nil .version using path it should behave like versioning sets the API version adds the prefix before the API version is able to specify version as a nesting is able to specify multiple versions does not overwrite version parameter with API version with different versions for the same endpoint without a prefix allows the same endpoint to be implemented with a prefix allows the same endpoint to be implemented with before block defined within a version block calls before block that is defined within the version block with catch-all v1 finds endpoint finds catch all v2 finds endpoint finds catch all .version using param it should behave like versioning sets the API version adds the prefix before the API version is able to specify version as a nesting is able to specify multiple versions does not overwrite version parameter with API version with different versions for the same endpoint without a prefix allows the same endpoint to be implemented with a prefix allows the same endpoint to be implemented with before block defined within a version block calls before block that is defined within the version block with catch-all v1 finds endpoint finds catch all v2 finds endpoint finds catch all .version using header it should behave like versioning sets the API version adds the prefix before the API version is able to specify version as a nesting is able to specify multiple versions does not overwrite version parameter with API version with different versions for the same endpoint without a prefix allows the same endpoint to be implemented with a prefix allows the same endpoint to be implemented with before block defined within a version block calls before block that is defined within the version block with catch-all v1 finds endpoint finds catch all v2 finds endpoint finds catch all .version using accept_version_header it should behave like versioning sets the API version adds the prefix before the API version is able to specify version as a nesting is able to specify multiple versions does not overwrite version parameter with API version with different versions for the same endpoint without a prefix allows the same endpoint to be implemented with a prefix allows the same endpoint to be implemented with before block defined within a version block calls before block that is defined within the version block with catch-all v1 finds endpoint finds catch all v2 finds endpoint finds catch all .represent requires a :with option adds the association to the :representations setting .namespace is retrievable and converted to a path comes after the prefix and version cancels itself after the block is over is stackable accepts path segments correctly is callable with nil just to push onto the stack `.group` is an alias `.resource` is an alias `.resources` is an alias `.segment` is an alias .call it does not add to the app setup calls the app .route_param adds a parameterized route segment namespace defines requirements with a single hash with param type definitions is used by passing to options .route allows for no path handles empty calls allows for multiple paths allows for format without corrupting a param allows for format in namespace with no path allows for multiple verbs allows for multipart paths allows for :any as a verb allows for catch-all in a namespace allows and properly constrain a POST method allows and properly constrain a GET method allows and properly constrain a HEAD method allows and properly constrain a DELETE method allows and properly constrain a PUT method allows and properly constrain a OPTIONS method allows and properly constrain a PATCH method returns a 201 response code for POST by default returns a 405 for an unsupported method with an X-Custom-Header runs only the before filter on 405 bad method runs before filter exactly once on 405 bad method runs all filters and body with a custom OPTIONS method 405 responses includes an Allow header specifying supported methods 405 responses includes an Content-Type header overwrites the default HEAD request root routes should work with header versioned APIs header versioned APIs with multiple headers param versioned APIs Accept-Version header versioned APIs unversioned APIs path versioned APIs when a single version provided without a format with a format when array of versions provided is expected to eql "root" is expected to eql "root" format allows .json allows .txt put allows a(n) String json object in params stores input in api.request.input allows a(n) Symbol json object in params stores input in api.request.input allows a(n) Integer json object in params stores input in api.request.input allows a(n) Float json object in params stores input in api.request.input allows a(n) Hash json object in params stores input in api.request.input allows a(n) Array json object in params stores input in api.request.input allows a(n) TrueClass json object in params stores input in api.request.input allows a(n) FalseClass json object in params stores input in api.request.input allows a(n) NilClass json object in params stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input post allows a(n) String json object in params stores input in api.request.input allows a(n) Symbol json object in params stores input in api.request.input allows a(n) Integer json object in params stores input in api.request.input allows a(n) Float json object in params stores input in api.request.input allows a(n) Hash json object in params stores input in api.request.input allows a(n) Array json object in params stores input in api.request.input allows a(n) TrueClass json object in params stores input in api.request.input allows a(n) FalseClass json object in params stores input in api.request.input allows a(n) NilClass json object in params stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input chunked transfer encoding stores input in api.request.input when format is xml returns a 405 for an unsupported method when accessing env returns a 405 for an unsupported method adds an OPTIONS route that returns a 204 has an empty body has an Allow header calls before hook does not call before_validation hook does not call after_validation hook calls after hook has no Content-Type has no Content-Length adds an OPTIONS route for namespaced endpoints that returns a 204 has an empty body has an Allow header calls the outer before filter calls the inner before filter has no Content-Type has no Content-Length adds a 405 Not Allowed route that returns a 405 contains error message in body has an Allow header has a X-Custom-Header when hook behaviour is controlled by attributes on the route when HTTP method is not defined responds with a 405 status when HTTP method is defined with attribute responds with the defined error in the before hook when HTTP method is defined and the underlying before hook expectation is not met ends up in the endpoint when HTTP method is defined and everything is like the before hooks expect ends up in the endpoint when HEAD is called for the defined GET responds with 401 because before expectations in before hooks are not met when HEAD is called for the defined GET responds with 200 because before hooks are not called allows HEAD on a GET request that returns a 200 has an empty body do_not_route_head! options does not contain HEAD does not allow HEAD on a GET request do_not_route_options! does not create an OPTIONS route does not include OPTIONS in Allow header .compile! requires the grape/eager_load file compiles the instance for rack! instance_for_rack when the app was not mounted returns the base_instance when the app was mounted returns the first mounted instance filters adds a before filter adds a before filter to current and child namespaces only adds a after_validation filter adds a after filter calls all filters when validation passes calls only before filters when validation fails calls filters in the correct order format sets content type for txt format sets content type for xml sets content type for json sets content type for serializable hash format sets content type for binary format returns raw data when content type binary [DEPRECATION] Use stream to use a Stream object. returns the content of the file with file streams the content of the file with stream sets content type for error sets content type for json error sets content type for xml error includes extension in format does not include extension in id with a custom content_type sets content type sets content type for error env["api.format"] uploads and downloads a PNG file via /attachment.png uploads and downloads a PNG file via attachment uploads and downloads a Ruby file custom middleware .middleware includes middleware arguments from settings includes all middleware from stacked settings .use adds middleware does not show up outside the namespace calls the middleware adds a block if one is given uses a block if one is given does not destroy the middleware settings on multiple runs mounts behind error middleware .insert_before runs before a given middleware .insert_after runs after a given middleware .insert inserts middleware in a specific location in the stack .http_basic /usr/lib/ruby/vendor_ruby/rack/builder.rb:102: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/middleware/auth/base.rb:13: warning: The called method `initialize' is defined here protects any resources on the same scope is scopable is callable via .auth as well has access to the current endpoint has access to helper methods can set instance variables accessible to routes .logger returns an instance of Logger class by default allows setting a custom logger defaults to a standard logger log format .helpers is accessible from the endpoint is scopable is reopenable allows for modules allows multiple calls with modules and blocks .scope scopes the various settings lifecycle when the api_call succeeds follows the standard life_cycle when the api_call has a controlled error follows the errored life_cycle (skips after) when the api_call has an exception follows the errored life_cycle (skips after) when the api_call fails validation follows the failed_validation cycle (skips after_validation, api_call & after) .finally when the ensure block has no exceptions when no API call is made has not executed the ensure code when no errors occurs executes the ensure code with a helper has access to the helper when an unhandled occurs inside the API call executes the ensure code when a handled error occurs inside the API call executes the ensure code .rescue_from does not rescue errors when rescue_from is not set uses custom helpers defined by using #helpers method rescues all errors if rescue_from :all is called rescues all errors with a json formatter rescues only certain errors if rescue_from is called with specific errors mimics default ruby "rescue" handler caught error of type StandardError in after callback inside Grape::Middleware::Formatter : StandardError can rescue exceptions raised in the formatter uses default_rescue_handler to handle invalid response from rescue_from with multiple apis avoids polluting global namespace CustomError subclass of Grape::Exceptions::Base does not re-raise exceptions of type Grape::Exceptions::Base rescues custom grape exceptions .rescue_from klass, block rescues Exception custom errors rescues an error via rescue_from :all rescues a specific error rescues a subclass of an error by default rescues multiple specific errors does not rescue a different error .rescue_from klass, lambda rescues an error with the lambda can execute the lambda with an argument .rescue_from klass, with: :method_name rescues an error with the specified method name aborts if the specified method name does not exist correctly chooses exception handler if :all handler is specified .rescue_from klass, rescue_subclasses: boolean rescues error as well as subclass errors with rescue_subclasses option set sets rescue_subclasses to true by default does not rescue child errors if rescue_subclasses is false .rescue_from :grape_exceptions rescues grape exceptions rescues grape exceptions with a user-defined handler .error_format rescues all errors and return :txt rescues all errors and return :txt with backtrace rescues all errors with a default formatter defaults the error formatter to format rescues all errors and return :json rescues all errors and return :json with backtrace rescues error! and return txt class returns a custom error format with class /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api_spec.rb:2410: warning: method redefined; discarding old call /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api_spec.rb:2388: warning: previous definition of call was here returns a custom error format with json format rescues error! called with a string and returns json rescues error! called with a symbol and returns json rescues error! called with a hash and returns json .content_type sets additional content-type allows to override content-type removes existing content types .formatter multiple formatters sets one formatter sets another formatter custom formatter uses json uses custom formatter custom formatter class uses json uses custom formatter .parser parses data in format requested by content-type lambda parser uses parser for text/custom uses parser for text/custom; charset=UTF-8 custom parser class uses custom parser multi_xml doesn't parse yaml none parser class does not parse data .default_format returns data in default format parses data in default format .default_error_status allows setting default_error_status has a default error status uses the default error status in error! http_codes is used as presenter presented with routes empty api structure returns an empty array of routes single method api structure returns one route api structure with two versions and a namespace returns the latest version set returns versions sets route paths sets route versions sets a nested namespace sets prefix api structure with additional parameters splits a string splits a string with limit sets params api structure with multiple apis sets params api structure with an api without params sets params api with a custom route setting exposed status can be set to arbitrary Integer value can be set with a status code symbol desc empty array of routes empty array of routes /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api_spec.rb:2945: The route_xxx methods such as route_foo have been deprecated, please use foo. describes a method has params which does not include format and version as named captures describes methods separately resets desc /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/spec/grape/api_spec.rb:2986: The route_xxx methods such as route_foo have been deprecated, please use foo. namespaces and describe arbitrary parameters includes details describes a method with parameters does not inherit param descriptions in consequent namespaces merges the parameters of the namespace with the parameters of the method merges the parameters of nested namespaces groups nested params and prevents overwriting of params with same name in different groups uses full name of parameters in nested groups allows to set the type attribute on :group element parses parameters when no description is given does not symbolize params .mount with a bare rack app makes a bare Rack app available at the endpoint anchors the routes, passing all subroutes to it is able to cascade without a hash calls through setting the route to "/" mounting an API applies the settings of the mounting api applies the settings to nested mounted apis collects the routes of the mounted api mounts on a path mounts on a nested path responds to options responds to options with path versioning mounts a versioned API with nested resources mounts a prefixed API with nested resources applies format to a mounted API with nested resources applies auth to a mounted API with nested resources mounts multiple versioned APIs with nested resources recognizes potential versions with mounted path when some rescues are defined by mounted inherits parent rescues prefers rescues defined by mounted if they rescue similar error class prefers rescues defined by mounted even if outer is more specific prefers more specific rescues defined by mounted when mounting class extends a subclass of Grape::API mounts APIs with the same superclass when including a module should correctly include module in nested mount .endpoints adds one for each route created .compile sets the instance .change! invalidates any compiled instance .endpoint path .route plain provides access to route info with desc returns route description returns route parameters .format :txt forces txt without an extension does not force txt with an extension forces txt from a non-accepting header :txt only forces txt without an extension accepts specified extension does not accept extensions other than specified forces txt from a non-accepting header :json forces json without an extension does not force json with an extension forces json from a non-accepting header can be overwritten with an explicit content type raised :error from middleware :serializable_hash instance root array :xml string hash array raised :error from middleware .configure allows configuring the api when given a block returns self calls the block passing the config when not given a block returns a configuration object catch-all anchor=true anchor=false cascading via version cascades does not cascade via endpoint cascades does not cascade with json default_error_formatter returns json error with unsafe HTML format specified escapes the HTML body false returns blank body plain text returns blank body normal class methods can find the appropiate name is equal to itself const_missing raises an error .configure is configured to the new value Grape::DSL::Callbacks .before adds a block to "before" .before_validation adds a block to "before_validation" .after_validation adds a block to "after_validation" .after adds a block to "after" Grape::DSL::Desc .desc sets a description can be set with a block can be set with options and a block Grape::DSL::Headers #header returns nil set returns value Grape::DSL::Helpers .helpers adds a module with the given block uses provided modules uses many provided modules with an external file sets Boolean as a Grape::API::Boolean in child classes is available Grape::Endpoint #version defaults to nil returns env[api.version] #error! throws :error thrown sets status default_error_status sets status to default_error_status #redirect default sets status to 302 sets location header permanent sets status to 301 sets location header #status defaults to 200 on GET defaults to 200 on GET defaults to 200 on GET defaults to 201 on POST defaults to 204 on DELETE defaults to 200 on DELETE with a body present returns status set accepts symbol for status raises error if unknow symbol is passed accepts unknown Integer status codes raises error if status is not a integer or symbol #return_no_content sets the status code and body #content_type returns default set returns value #cookies returns an instance of Cookies #body returns default set returns value false sets status to 204 #file set as file path emits a warning that this method is deprecated forwards the call to sendfile as object (backward compatibility) emits a warning that this method is deprecated forwards the call to stream get emits a warning that this method is deprecated fowards call to sendfile #sendfile returns default set as file path sends no deprecation warnings returns value wrapped in StreamResponse does not change the Cache-Control header does not change the Content-Length header does not change the Transfer-Encoding header as object raises an error that only a file path is supported #stream returns default set as a file path emits no deprecation warnings returns file body wrapped in StreamResponse sets Cache-Control header to no-cache sets Content-Length header to nil sets Transfer-Encoding header to nil as a stream object emits no deprecation warnings returns value wrapped in StreamResponse sets Cache-Control header to no-cache sets Content-Length header to nil sets Transfer-Encoding header to nil as a non-stream object raises an error that the object must implement :each #route returns route_info #present dummy presents dummy object with entity instance presents dummy object multiple entities instance presents both dummy objects non mergeable entity instance fails #declared is not available by default Grape::DSL::Logger .logger sets a logger returns a logger Grape::DSL::Middleware .use adds a middleware with the right operation .insert adds a middleware with the right operation .insert_before adds a middleware with the right operation .insert_after adds a middleware with the right operation .middleware returns the middleware stack Grape::DSL::Parameters #use /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/parameters.rb:61: warning: instance variable @api not initialized calls processes associated with named params /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/parameters.rb:61: warning: instance variable @api not initialized raises error when non-existent named param is called #use_scope is alias to #use #includes is alias to #use #requires adds a required parameter #optional adds an optional parameter #with creates a scope with group attributes #mutually_exclusive adds an mutally exclusive parameter validation #exactly_one_of adds an exactly of one parameter validation #at_least_one_of adds an at least one of parameter validation #all_or_none_of adds an all or none of parameter validation #group is alias to #requires #params inherits params from parent when params argument is an array of hashes returns values of each hash for @element key when params argument is a hash returns value for @element key when params argument is not a array or a hash returns empty hash Grape::DSL::RequestResponse .default_format sets the default format returns the format without paramter .format sets a new format .formatter sets the formatter for a content type .parser sets a parser for a content type .default_error_formatter sets a new error formatter .error_formatter sets a error_formatter understands syntactic sugar .content_type sets a content type for a format .content_types returns all content types .default_error_status sets a default error status .rescue_from :all sets rescue all to true sets given proc as rescue handler sets given block as rescue handler sets a rescue handler declared through :with option abort if :with option value is not Symbol, String or Proc abort if both :with option and block are passed :grape_exceptions sets rescue all to true sets rescue_grape_exceptions to true list of exceptions is passed sets hash of exceptions as rescue handlers rescues only base handlers if rescue_subclasses: false option is passed sets given proc as rescue handler for each key in hash sets given block as rescue handler for each key in hash sets a rescue handler declared through :with option for each key in hash .represent sets a presenter for a class Grape::DSL::Routing .version sets a version for route .prefix sets a prefix for route .scope create a scope without affecting the URL .do_not_route_head! sets do not route head option .do_not_route_options! sets do not route options option .mount mounts on a nested path mounts multiple routes at once .route marks end of the route resets validations defines a new endpoint does not duplicate identical endpoints generates correct endpoint options .get delegates to .route .post delegates to .route .put delegates to .route .head delegates to .route .delete delegates to .route .options delegates to .route .patch delegates to .route .namespace creates a new namespace with given name and options calls #joined_space_path on Namespace .group is alias to #namespace .resource is alias to #namespace .resources is alias to #namespace .segment is alias to #namespace .routes returns value received from #prepare_routes when #routes was already called once it does not call prepare_routes again .route_param calls #namespace with given params nests requirements option under param name does not modify options parameter .versions returns last defined version Grape::DSL::Settings #unset deletes a key from settings #get_or_set sets a values returns a value when nil is new value is provided #global_setting delegates to get_or_set #unset_global_setting delegates to unset #route_setting delegates to get_or_set sets a value until the next route #unset_route_setting delegates to unset #namespace_setting delegates to get_or_set sets a value until the end of a namespace resets values after leaving nested namespaces #unset_namespace_setting delegates to unset #namespace_inheritable delegates to get_or_set inherits values from surrounding namespace #unset_namespace_inheritable delegates to unset #namespace_stackable delegates to get_or_set stacks values from surrounding namespace #unset_namespace_stackable delegates to unset #api_class_setting delegates to get_or_set #unset_api_class_setting delegates to unset #within_namespace calls start and end for a namespace returns the last result complex scenario plays well Grape::DSL::Validations .reset_validations! resets declared params resets validations resets params resets documentation params does not reset documentation description .params returns a ParamsScope evaluates block .document_attribute creates a param documentation Grape::Endpoint sets itself in the env upon call does not persist params between calls resets all instance variables (except block) between calls allows explicit return calls .before_each is settable via block is settable via reference is able to override a helper is able to stack helper #initialize takes a settings stack, options, and a block #status is callable from within a block is set as default to 200 for get is set as default to 201 for post #header is callable from within a block #headers includes request headers includes additional request headers includes headers passed as symbols #cookies is callable from within a block sets browser cookies and does not set response cookies sets and update browser cookies deletes cookie deletes cookies with path #params default class should be a ActiveSupport::HashWithIndifferentAccess sets a value to params params #declared should show nil for nested params if include_missing is true does not work in a before filter has as many keys as there are declared params has a optional param with default value all the time builds nested params builds nested params when given array filters out any additional params that are given stringifies if that option is passed does not include missing attributes if that option is passed does not include renamed missing attributes if that option is passed includes attributes with value that evaluates to false includes attributes with value that evaluates to nil includes missing attributes with defaults when there are nested hashes does not include missing attributes when there are nested hashes when params are not built with default class returns an object that corresponds with the params class - hash with indifferent access /usr/lib/ruby/vendor_ruby/hashie/mash.rb:86: warning: instance variable @disable_warnings not initialized /usr/lib/ruby/vendor_ruby/hashie/mash.rb:86: warning: instance variable @disable_warnings not initialized W, [2021-10-10T23:36:23.371886 #970064] WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#first defined in Enumerable. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method. /usr/lib/ruby/vendor_ruby/hashie/mash.rb:86: warning: instance variable @disable_warnings not initialized /usr/lib/ruby/vendor_ruby/hashie/mash.rb:86: warning: instance variable @disable_warnings not initialized W, [2021-10-10T23:36:23.372527 #970064] WARN -- : You are setting a key that conflicts with a built-in method Hashie::Mash#first defined in Enumerable. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method. returns an object that corresponds with the params class - hashie mash returns an object that corresponds with the params class - hash sets nested objects when the param is missing to be a hash when include_missing is true to be an array when include_missing is true to be an array when nested and include_missing is true to be nil when include_missing is false #declared; call from child namespace is expected to eq 200 with include_parent_namespaces: false returns declared parameters only from current namespace with include_parent_namespaces: true returns declared parameters from every parent namespace without declaration returns all requested parameters #declared; from a nested mounted endpoint can access parent attributes #declared; mixed nesting can access parent route_param #declared; with multiple route_param return only :id without :artist_id return only :artist_id without :id return :filter and :id parameters in declared for second enpoint inside route_param return :compositor_id for mounter in route_param #params is available to the caller parses from path segments deeply converts nested params responds with a 415 for an unsupported content-type does not accept text/plain in JSON format if application/json is specified as content type with special requirements parses email param with provided requirements for params parses many params with provided regexps namespace requirements parse email param with provided requirements for params should override outer namespace's requirements from body parameters converts JSON bodies to params does not convert empty JSON bodies to params converts XML bodies to params converts XML bodies to params does not include parameters not defined by the body content type with params should not response with 406 for same type without params should response with given content type in headers precedence route string params have higher precedence than body params route string params have higher precedence than URL params sets a value to params params #error! accepts a message accepts a code accepts an object and render it in format accepts a frozen object can specifiy headers merges additional headers with headers set before call does not merges additional headers with headers set after call sets the status code for the endpoint #redirect redirects to a url with status 302 has status code 303 if it is not get request and it is http 1.1 support permanent redirect allows for an optional redirect body override .generate_api_method raises NameError if the method name is already in use raises ArgumentError if a block is not given returns a Proc filters allows adding to response with present before filters runs the before filter if set after filters overrides the response body if it sets it does not override the response body with its return when terminating the response with error! breaks normal call chain allows prior and parent filters of same type to run anchoring delete 204 allows for the anchoring option with a delete method anchors paths by default for the delete method responds to /example/and/some/more for the non-anchored delete method delete 200, with response body responds to /example/and/some/more for the non-anchored delete method delete 200, with a return value (no explicit body) responds to /example delete method delete 204, with nil has return value (no explicit body) responds to /example delete method delete 204, with empty array has return value (no explicit body) responds to /example delete method all other allows for the anchoring option with a POST method anchors paths by default for the POST method responds to /example/and/some/more for the non-anchored POST method allows for the anchoring option with a GET method anchors paths by default for the GET method responds to /example/and/some/more for the non-anchored GET method allows for the anchoring option with a HEAD method anchors paths by default for the HEAD method responds to /example/and/some/more for the non-anchored HEAD method allows for the anchoring option with a PUT method anchors paths by default for the PUT method responds to /example/and/some/more for the non-anchored PUT method allows for the anchoring option with a OPTIONS method anchors paths by default for the OPTIONS method responds to /example/and/some/more for the non-anchored OPTIONS method allows for the anchoring option with a PATCH method anchors paths by default for the PATCH method responds to /example/and/some/more for the non-anchored PATCH method request is set to the url requested should include version v1 should include version v1 should include prefix version headers result in a 406 response if they are invalid result in a 406 response if they cannot be parsed by rack-accept binary [DEPRECATION] Use stream to use a Stream object. suports stream objects in response validation errors returns the errors, and passes headers instrumentation notifies AS::N Grape::Exceptions::Base #compose_message when I18n enforces available locales when the fallback locale is available returns the translated message when the fallback locale is not available returns the translation string when I18n does not enforce available locales when the fallback locale is available returns the translated message when the fallback locale is not available returns the translated message Grape::Exceptions::ValidationErrors api with rescue_from :all handler with content_type json can recover from failed body parsing with content_type xml can recover from failed body parsing with content_type text can recover from failed body parsing with no specific content_type can recover from failed body parsing api with rescue_from :grape_exceptions handler with content_type json returns body parsing error message with content_type xml returns body parsing error message api without a rescue handler and with content_type json can recover from failed body parsing with content_type xml can recover from failed body parsing with content_type text can recover from failed body parsing and with no specific content_type can recover from failed body parsing Grape::Exceptions::InvalidAcceptHeader API with cascade=false and rescue_from :all handler that received a request with correct vendor and version it should behave like a valid request does return with status 200 does return the expected result that receives an invalid vendor in the request it should behave like a rescued request does not include the X-Cascade=pass header does show rescue handler processing API with cascade=false and without a rescue handler that received a request with correct vendor and version it should behave like a valid request does return with status 200 does return the expected result that receives an invalid version in the request it should behave like a not-cascaded request does not include the X-Cascade=pass header does not accept the request an invalid vendor in the request it should behave like a not-cascaded request does not include the X-Cascade=pass header does not accept the request API with cascade=false and with rescue_from :all handler and http_codes that received a request with correct vendor and version it should behave like a valid request does return with status 200 does return the expected result that receives an invalid vendor in the request it should behave like a rescued request does not include the X-Cascade=pass header does show rescue handler processing API with cascade=false, http_codes but without a rescue handler that received a request with correct vendor and version it should behave like a valid request does return with status 200 does return the expected result that receives an invalid version in the request it should behave like a not-cascaded request does not include the X-Cascade=pass header does not accept the request an invalid vendor in the request it should behave like a not-cascaded request does not include the X-Cascade=pass header does not accept the request API with cascade=true and rescue_from :all handler that received a request with correct vendor and version it should behave like a valid request does return with status 200 does return the expected result that receives an invalid version in the request it should behave like a cascaded request does not find a matching route an invalid vendor in the request it should behave like a cascaded request does not find a matching route API with cascade=true and without a rescue handler that received a request with correct vendor and version it should behave like a valid request does return with status 200 does return the expected result that receives an invalid version in the request it should behave like a cascaded request does not find a matching route an invalid vendor in the request it should behave like a cascaded request does not find a matching route API with cascade=true and with rescue_from :all handler and http_codes that received a request with correct vendor and version it should behave like a valid request does return with status 200 does return the expected result that receives an invalid version in the request it should behave like a cascaded request does not find a matching route an invalid vendor in the request it should behave like a cascaded request does not find a matching route API with cascade=true, http_codes but without a rescue handler that received a request with correct vendor and version it should behave like a valid request does return with status 200 does return the expected result that receives an invalid version in the request it should behave like a cascaded request does not find a matching route an invalid vendor in the request it should behave like a cascaded request does not find a matching route Grape::Exceptions::InvalidFormatter #message contains the problem in the message Grape::Exceptions::InvalidResponse #message contains the problem in the message Grape::Exceptions::InvalidVersionerOption #message contains the problem in the message Grape::Exceptions::MissingMimeType #message contains the problem in the message contains the resolution in the message Grape::Exceptions::MissingOption #message contains the problem in the message Grape::Exceptions::UnknownOptions #message contains the problem in the message Grape::Exceptions::UnknownValidator #message contains the problem in the message Grape::Exceptions::ValidationErrors initialize should assign headers through base class message is not repeated is expected to include "FooBar is invalid" is expected to eq 1 #full_messages with errors returns an array with each errors full message when attributes is an array of symbols returns an array with an error full message api /usr/lib/ruby/2.7.0/json/common.rb:224: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/exceptions/validation_errors.rb:42: warning: The called method `to_json' is defined here can return structured json with separate fields Grape::Exceptions::Validation fails when params are missing when message is a symbol stores message_key when message is a String does not store the message_key Grape::Extensions::Hash::ParamBuilder in an endpoint #params should be of type Hash in an api symbolizes params keys symbolizes the params #params should be Hash Grape::Extensions::ActiveSupport::HashWithIndifferentAccess::ParamBuilder in an endpoint #params should be of type Hash in an api #params is a Hash parses sub hash params params are indifferent to symbol or string keys responds to string keys Grape::Extensions::Hashie::Mash::ParamBuilder in an endpoint #params should be of type Hashie::Mash in an api is indifferent to key or symbol access #params should be Hashie::Mash in a nested namespace api should be Hashie::Mash Grape::API with a global namespace function works Rack::Sendfile when calling sendfile contains Sendfile headers when streaming non file content not contains Sendfile headers Rack correctly populates params from a Tempfile when the app is mounted finds the app on the namespace Grape::API execute first request in reasonable time Grape::Middleware::Auth::Base authenticates if given valid creds throws a 401 is wrong auth is given Grape::Middleware::Auth::DSL .auth stets auth parameters can be called multiple times .http_basic stets auth parameters .http_digest stets auth parameters Grape::Middleware::Auth::Strategies Basic Auth throws a 401 if no auth is given authenticates if given valid creds throws a 401 is wrong auth is given Digest MD5 Auth is a digest authentication challenge throws a 401 if no auth is given authenticates if given valid creds throws a 401 if given invalid creds Grape::Middleware::Base has the app as an accessor calls through to the app is able to access the response callbacks calls #before calls #after callbacks on error calls #after after callback overwrites application response after callback with errors does not overwrite the application response with patched warnings does show a warning #response Array status body header Rack::Response status body header #context allows access to response context options persists options passed at initialization defaults persists the default options overrides default options when provided header is able to set a header header overwrite overwrites header by after headers Grape::Middleware::Error sets the status code appropriately sets the error message appropriately defaults to a 500 status has a default message with http code adds the status code if wanted presents an error message Grape::Middleware::Error with defaults does not trap errors by default with rescue_all StandardError exception sets the message appropriately defaults to a 500 status Non-StandardError exception does not trap errors other than StandardError Non-StandardError exception with a provided rescue handler default error response rescues the exception using the default handler custom error response rescues the exception using the provided handler is possible to specify a different default status code is possible to return errors in json format is possible to return hash errors in json format is possible to return errors in jsonapi format is possible to return hash errors in jsonapi format is possible to return errors in xml format is possible to return hash errors in xml format is possible to specify a custom formatter does not trap regular error! codes responds to custom Grape exceptions appropriately with rescue_options :backtrace and :exception set to true is possible to return the backtrace and the original exception in json format is possible to return the backtrace and the original exception in xml format is possible to return the backtrace and the original exception in txt format Grape::Middleware::Formatter serialization looks at the bodies for possibly serializable data default format calls #to_json since default format is json jsonapi calls #to_json if the content type is jsonapi xml calls #to_xml if the content type is xml error handling rescues formatter-specific exceptions caught error of type StandardError in after callback inside Grape::Middleware::Formatter : StandardError does not rescue other exceptions detection uses the xml extension if one is provided uses the json extension if one is provided uses the format parameter if one is provided uses the default format if none is provided uses the requested format if provided in headers uses the file extension format if provided before headers accept header detection detects from the Accept header uses quality rankings to determine formats handles quality rankings mixed with nothing parses headers with other attributes parses headers with vendor and api version parses headers with symbols as hash keys with custom vendored content types it uses the custom type content-type is set for json is set for xml is set for txt is set for custom is set for vendored with registered type is set to closest generic for custom vendored/versioned without registered type format uses custom formatter uses custom json formatter default uses default json formatter no content responses does not modify a 100 response does not modify a 101 response does not modify a 102 response does not modify a 103 response does not modify a 104 response does not modify a 105 response does not modify a 106 response does not modify a 107 response does not modify a 108 response does not modify a 109 response does not modify a 110 response does not modify a 111 response does not modify a 112 response does not modify a 113 response does not modify a 114 response does not modify a 115 response does not modify a 116 response does not modify a 117 response does not modify a 118 response does not modify a 119 response does not modify a 120 response does not modify a 121 response does not modify a 122 response does not modify a 123 response does not modify a 124 response does not modify a 125 response does not modify a 126 response does not modify a 127 response does not modify a 128 response does not modify a 129 response does not modify a 130 response does not modify a 131 response does not modify a 132 response does not modify a 133 response does not modify a 134 response does not modify a 135 response does not modify a 136 response does not modify a 137 response does not modify a 138 response does not modify a 139 response does not modify a 140 response does not modify a 141 response does not modify a 142 response does not modify a 143 response does not modify a 144 response does not modify a 145 response does not modify a 146 response does not modify a 147 response does not modify a 148 response does not modify a 149 response does not modify a 150 response does not modify a 151 response does not modify a 152 response does not modify a 153 response does not modify a 154 response does not modify a 155 response does not modify a 156 response does not modify a 157 response does not modify a 158 response does not modify a 159 response does not modify a 160 response does not modify a 161 response does not modify a 162 response does not modify a 163 response does not modify a 164 response does not modify a 165 response does not modify a 166 response does not modify a 167 response does not modify a 168 response does not modify a 169 response does not modify a 170 response does not modify a 171 response does not modify a 172 response does not modify a 173 response does not modify a 174 response does not modify a 175 response does not modify a 176 response does not modify a 177 response does not modify a 178 response does not modify a 179 response does not modify a 180 response does not modify a 181 response does not modify a 182 response does not modify a 183 response does not modify a 184 response does not modify a 185 response does not modify a 186 response does not modify a 187 response does not modify a 188 response does not modify a 189 response does not modify a 190 response does not modify a 191 response does not modify a 192 response does not modify a 193 response does not modify a 194 response does not modify a 195 response does not modify a 196 response does not modify a 197 response does not modify a 198 response does not modify a 199 response does not modify a 204 response does not modify a 304 response input parses the chunked body from POST and copies values into rack.request.from_hash rewinds IO parses the body from an xml POST and copies values into rack.request.from_hash ignores application/x-www-form-urlencoded ignores multipart/form-data ignores multipart/related ignores multipart/mixed parses the chunked body from PATCH and copies values into rack.request.from_hash rewinds IO parses the body from an xml PATCH and copies values into rack.request.from_hash ignores application/x-www-form-urlencoded ignores multipart/form-data ignores multipart/related ignores multipart/mixed parses the chunked body from PUT and copies values into rack.request.from_hash rewinds IO parses the body from an xml PUT and copies values into rack.request.from_hash ignores application/x-www-form-urlencoded ignores multipart/form-data ignores multipart/related ignores multipart/mixed parses the chunked body from DELETE and copies values into rack.request.from_hash rewinds IO parses the body from an xml DELETE and copies values into rack.request.from_hash ignores application/x-www-form-urlencoded ignores multipart/form-data ignores multipart/related ignores multipart/mixed when body is not nil or empty when Content-Type is supported parses the body from POST and copies values into rack.request.form_hash when Content-Type is not supported returns a 415 HTTP error status when body is nil does not read and parse the body when body is empty does not read and parse the body application/json parses the body from POST and copies values into rack.request.form_hash application/json; charset=utf-8 parses the body from POST and copies values into rack.request.form_hash when body is not nil or empty when Content-Type is supported parses the body from PATCH and copies values into rack.request.form_hash when Content-Type is not supported returns a 415 HTTP error status when body is nil does not read and parse the body when body is empty does not read and parse the body application/json parses the body from PATCH and copies values into rack.request.form_hash application/json; charset=utf-8 parses the body from PATCH and copies values into rack.request.form_hash when body is not nil or empty when Content-Type is supported parses the body from PUT and copies values into rack.request.form_hash when Content-Type is not supported returns a 415 HTTP error status when body is nil does not read and parse the body when body is empty does not read and parse the body application/json parses the body from PUT and copies values into rack.request.form_hash application/json; charset=utf-8 parses the body from PUT and copies values into rack.request.form_hash when body is not nil or empty when Content-Type is supported parses the body from DELETE and copies values into rack.request.form_hash when Content-Type is not supported returns a 415 HTTP error status when body is nil does not read and parse the body when body is empty does not read and parse the body application/json parses the body from DELETE and copies values into rack.request.form_hash application/json; charset=utf-8 parses the body from DELETE and copies values into rack.request.form_hash send file returns a file response inheritable formatters returns response by invalid formatter custom parser raises exception and rescue options are enabled for backtrace and original_exception adds the backtrace and original_exception to the error output Grape::Middleware::Globals calls through to the app environment should set the grape.request environment should set the grape.request.headers environment should set the grape.request.params environment Grape::Middleware::Stack #use pushes a middleware class onto the stack pushes a middleware class with arguments onto the stack pushes a middleware class with block arguments onto the stack #insert inserts a middleware class at the integer index #insert_before inserts a middleware before another middleware class inserts a middleware before an anonymous class given by its superclass raises an error on an invalid index #insert_after inserts a middleware after another middleware class inserts a middleware after an anonymous class given by its superclass raises an error on an invalid index #merge_with applies a collection of operations and middlewares middleware spec with proc declaration exists properly forwards spec arguments #build returns a rack builder instance when @others are present applies the middleware specs stored in @others #concat adds non :use specs to @others calls +merge_with+ with the :use specs Grape::Middleware::Versioner::AcceptVersionHeader succeeds if :strict is not set succeeds if :strict is set to false api.version is set is set if format provided fails with 406 Not Acceptable if version is not supported when :strict is set fails with 406 Not Acceptable if header is not set fails with 406 Not Acceptable if header is empty succeeds if proper header is set when :strict and cascade: false fails with 406 Not Acceptable if header is not set fails with 406 Not Acceptable if header is empty succeeds if proper header is set Grape::Middleware::Versioner::Header succeeds if :strict is not set succeeds if :strict is set to false succeeds if :strict is set to false and given an invalid header api.type and api.subtype sets type and subtype to first choice of content type if no preference given sets preferred type sets preferred type and subtype api.format is set is nil if not provided when version is set to v1 is set is nil if not provided when version is set to v1 is set is nil if not provided api.vendor is set is set if format provided fails with 406 Not Acceptable if vendor is invalid when version is set is set is set if format provided fails with 406 Not Acceptable if vendor is invalid api.version is set is set if format provided fails with 406 Not Acceptable if version is invalid when :strict is set fails with 406 Not Acceptable if header is not set fails with 406 Not Acceptable if header is empty succeeds if proper header is set when :strict and cascade: false fails with 406 Not Acceptable if header is not set fails with 406 Not Acceptable if header is application/xml fails with 406 Not Acceptable if header is empty fails with 406 Not Acceptable if header contains a single invalid accept succeeds if proper header is set when multiple versions are specified succeeds with v1 succeeds with v2 fails with another version when there are multiple versions with complex vendor specified with rescue_from :all with header versioned endpoints and a rescue_all block defined responds correctly to a v1 request responds correctly to a v2 request Grape::Middleware::Versioner::Param sets the API version based on the default param (apiver) cuts (only) the version out of the params provides a nil version if no version is given with specified parameter name sets the API version based on the custom parameter name does not set the API version based on the default param with specified versions throws an error if a non-allowed version is specified allows versions that have been specified when no version is set returns a 200 (matches the first version found) when there are multiple versions without a custom param responds correctly to a v1 request responds correctly to a v2 request when there are multiple versions with a custom param responds correctly to a v1 request responds correctly to a v2 request Grape::Middleware::Versioner::Path sets the API version based on the first path does not cut the version out of the path provides a nil version if no path is given with a pattern sets the version if it matches ignores the version if it fails to match with specified versions as ["v1", "v2"] throws an error if a non-allowed version is specified allows versions that have been specified with specified versions as [:v1, :v2] throws an error if a non-allowed version is specified allows versions that have been specified with specified versions as [:v1, "v2"] throws an error if a non-allowed version is specified allows versions that have been specified with specified versions as ["v1", :v2] throws an error if a non-allowed version is specified allows versions that have been specified with prefix, but requested version is not matched recognizes potential version with mount path recognizes potential version Grape::Middleware::Versioner recognizes :path recognizes :header recognizes :param recognizes :accept_version_header A named API can access the name of the API Grape::Parser .builtin_parsers returns an instance of Hash includes json and xml parsers by default .parsers returns an instance of Hash includes built-in parsers with :parsers option includes passed :parsers values with added parser by using `register` keyword includes added parser .parser_for calls .parsers returns parser correctly when parser is available returns registered parser if available when parser is an instance of Symbol returns an instance of Method returns object which can be called when parser does not exist returns nil Grape::Path #initialize remembers the path remembers the namespace remebers the settings #mount_path is nil when no mount path setting exists is nil when the mount path is nil splits the mount path #root_prefix is nil when no root prefix setting exists is nil when the mount path is nil splits the mount path #uses_path_versioning? is false when the version setting is nil is false when the version option is header is true when the version option is path #namespace? is false when the namespace is nil is false when the namespace starts with whitespace is false when the namespace is the root path is true otherwise #path? is false when the path is nil is false when the path starts with whitespace is false when the path is the root path is true otherwise #path uses the namespace after the mount path and root prefix uses the raw path after the namespace mount_path is not included when it is nil is included when it is not nil root_prefix is not included when it is nil is included after the mount path #suffix when using a specific format accepts specified format when path versioning is used includes a '/' when path versioning is not used does not include a '/' when the path has a namespace does not include a '/' when the path has a path includes a '/' otherwise #path_with_suffix combines the path and suffix when using a specific format might have a suffix with specified format Grape::Presenters::Presenter represent represent object present instance /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/dsl/inside_route.rb:436: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/presenters/presenter.rb:6: warning: The called method `represent' is defined here presents dummy hash multiple presenter instance presents both dummy presenter Grape::Request #params by default returns stringified parameter keys when build_params_with: Grape::Extensions::Hash::ParamBuilder is specified returns symbolized params with grape.routing_args cuts version and route_info when the param_builder is set to Hashie when the API does not include a specific param builder is expected to be a kind of Hashie::Mash when the API includes a specific param builder is expected to be a kind of Hash #headers with http headers in env cuts HTTP_ prefix and capitalizes header name words with non-HTTP_* stuff in env does not include them with symbolic header names converts them to string Grape::Util::InheritableSetting #global sets a global value sets the global inherited values overrides global values should handle different parents #api_class is specific to the class #namespace sets a value until the end of a namespace uses new values when a new namespace starts #namespace_inheritable works with inheritable values should handle different parents #namespace_stackable works with stackable values #namespace_reverse_stackable works with reverse stackable values #route sets a value until the next route works with route values #api_class is specific to the class #inherit_from notifies clones #point_in_time_copy resets point_in_time_copies decouples namespace values decouples namespace inheritable values decouples namespace stackable values decouples namespace reverse stackable values decouples route values adds itself to original as clone #to_hash return all settings as a hash Grape::Util::InheritableValues #delete deletes a key does not delete parent values #[] returns a value returns parent value when no value is set overwrites parent value with the current one parent values are not changed #[]= sets a value #to_hash returns a Hash representation #clone complex (i.e. not primitive) data types (ex. entity classes, please see bug #891) copies values; does not duplicate them Grape::Util::ReverseStackableValues #keys returns all keys returns merged keys with parent #delete deletes a key does not delete parent values #[] returns an array of values returns parent value when no value is set combines parent and actual values (actual first) parent values are not changed #[]= sets a value pushes further values can handle array values #to_hash returns a Hash representation #clone copies all values complex (i.e. not primitive) data types (ex. middleware, please see bug #930) copies values; does not duplicate them Grape::Util::StackableValues #keys returns all keys returns merged keys with parent #delete deletes a key does not delete parent values #[] returns an array of values returns parent value when no value is set combines parent and actual values parent values are not changed #[]= sets a value pushes further values can handle array values #to_hash returns a Hash representation #clone copies all values complex (i.e. not primitive) data types (ex. middleware, please see bug #930) copies values; does not duplicate them StrictHashConfiguration set nested configs Validator with instance variables passes validation every time Grape::Validations::MultipleAttributesIterator #each when params is a hash yields the whole params hash without the list of attrs when params is an array yields each element of the array without the list of attrs Grape::Validations::ParamsScope raises an error if the dependent parameter was never specified returns a sensible error message within a nested context includes the nested parameter within #declared(params) includes level 2 nested parameters outside the given within #declared(params) includes deeply nested parameters within #declared(params) setting a default when the default value is truthy adds documentation about the default value when the default value is false adds documentation about the default value when the default value is nil adds documentation about the default value without a default does not add documentation for the default value setting description allows setting desc allows setting description when using custom types coerces the parameter via the type's parse method param renaming is expected to eq "any-any2" is expected to eq "there we go-" is expected to eq "foo is empty" is expected to eq 200 is expected to eq "{\"baz\":{\"qux\":\"any\"}}" array without coerce type explicitly given sets the type based on first element fails to call API without Array type raises exception when values are of different type raises exception when range values have different endpoint types coercing values validation with proc allows the proc to pass validation without checking allows the proc to pass validation without checking in value [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. allows the proc to pass validation without checking in except with range values when left range endpoint isn't #kind_of? the type raises exception when right range endpoint isn't #kind_of? the type raises exception when the default is an array and is the entire range of allowed values does not raise an exception and is a subset of allowed values does not raise an exception when both range endpoints are #kind_of? the type accepts values in the range rejects values outside the range parameters in group errors when no type is provided allows Hash as type allows Array as type handles missing optional Array type errors with an unsupported type when validations are dependent on a parameter applies the validations only if the parameter is present applies the validations of multiple parameters applies only the appropriate validation raises an error if the dependent parameter was never specified does not raise an error if the dependent parameter is a Hash does not raise an error if when using nested given allows nested dependent parameters allows renaming of dependent parameters allows renaming of dependent on parameter raises an error if the dependent parameter is not the renamed one does not validate nested requires when given is false includes the parameter within #declared(params) returns a sensible error message within a nested context includes the nested parameter within #declared(params) includes level 2 nested parameters outside the given within #declared(params) default value in given block when dependency meets sets default value for dependent parameter when dependency does not meet does not set default value for dependent parameter when validations are dependent on a parameter within an array param should pass none Hash params when validations are dependent on a parameter within an array param within #declared(params).to_json applies the constraint within each value when validations are dependent on a parameter with specific value (case 0) skips validation when base param is missing skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 1) skips validation when base param is missing skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 2) skips validation when base param is missing skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 3) skips validation when base param is missing skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 4) skips validation when base param is missing skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 5) skips validation when base param is missing skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 6) skips validation when base param is missing skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 7) skips validation when base param is missing skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 8) skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 9) skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 10) skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 11) skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 12) skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 13) skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 14) skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) (case 15) skips validation when base param does not have a specified value applies the validation when base param has the specific value includes the parameter within #declared(params) failing fast when fail_fast is not defined does not stop validation when fail_fast is defined it stops the validation of other params for a single param when params have group attributes with validations when data is invalid returns a validation error applies group validations for every parameter when parameter has the same validator as a group returns a successful response prioritizes parameter validation over group validation with types when invalid date provided responds with HTTP error returns a validation error when created_at receives a valid date returns a successful response returns a date with several group attributes when data is invalid responds with HTTP error returns a validation error when correct data is provided returns a successful response with nested groups when data is invalid responds with HTTP error returns a validation error when correct data is provided returns a successful response with exactly_one_of validation for optional parameters within an Hash param when correct data is provided returns a successful response when invalid data is provided returns a failure response Grape::Validations::SingleAttributeIterator #each when params is a hash yields params and every single attribute from the list when params is an array yields every single attribute from the list for each of the array elements empty values marks params with empty values Grape::Validations::Types::ArrayCoercer #call an array of primitives coerces elements in the array an array of arrays coerces elements in the nested array an array of sets coerces elements in the nested set Grape::Validations::Types::PrimitiveCoercer #call BigDecimal coerces to BigDecimal coerces an empty string to nil Boolean coerces 'true' to true coerces 'true' to true coerces '1' to true coerces 'false' to false coerces 'false' to false coerces '0' to false returns an error when the given value cannot be coerced coerces an empty string to nil DateTime coerces an empty string to nil Float coerces an empty string to nil Integer coerces an empty string to nil Numeric coerces an empty string to nil Time coerces an empty string to nil String coerces to String does not coerce an empty string to nil Symbol coerces an empty string to nil the strict mode Boolean returns an error when the given value is not Boolean returns a value as it is when the given value is Boolean BigDecimal returns an error when the given value is not BigDecimal returns a value as it is when the given value is BigDecimal Grape::Validations::Types::SetCoercer #call a set of primitives coerces elements to the set a set of sets coerces elements in the nested set a set of sets of arrays coerces elements in the nested set Grape::Validations::Types ::primitive? recognizes Integer as a primitive recognizes Float as a primitive recognizes Numeric as a primitive recognizes BigDecimal as a primitive recognizes Grape::API::Boolean as a primitive recognizes String as a primitive recognizes Symbol as a primitive recognizes Date as a primitive recognizes DateTime as a primitive recognizes Time as a primitive identifies unknown types ::structure? recognizes Hash as a structure recognizes Array as a structure recognizes Set as a structure ::special? provides special handling for JSON provides special handling for [JSON] provides special handling for File provides special handling for Rack::Multipart::UploadedFile ::custom? returns false if the type does not respond to :parse returns true if the type responds to :parse with one argument returns false if the type's #parse method takes other than one argument ::build_coercer has internal cache variables caches the result of the build_coercer method Grape::Validations::AllOrNoneOfValidator #validate! when all restricted params are present does not return a validation error mixed with other params does not return a validation error when a subset of restricted params are present returns a validation error when custom message is specified returns a validation error when no restricted params are present does not return a validation error when restricted params are nested inside required hash returns a validation error with full names of the params when mutually exclusive params are nested inside array returns a validation error with full names of the params when mutually exclusive params are deeply nested returns a validation error with full names of the params Grape::Validations::AllowBlankValidator invalid input refuses empty string refuses only whitespaces refuses nil refuses missing custom validation message with invalid input refuses empty string refuses empty string for an optional param refuses only whitespaces refuses nil with valid input accepts valid input accepts empty input when allow_blank is false accepts empty input accepts empty when datetime allow_blank accepts empty when date allow_blank accepts empty when symbol allow_blank accepts empty when boolean allow_blank accepts false when boolean allow_blank allow_blank when Numeric accepts empty when integer allow_blank accepts empty when float allow_blank accepts empty when integer allow_blank in an optional group as a required param accepts a missing group, even with a disallwed blank param accepts a nested missing date value refuses a blank value in an existing group as an optional param accepts a missing group, even with a disallwed blank param accepts a nested missing optional value refuses a blank existing value in an existing scope in a required group as a required param refuses a blank value in a required existing group refuses a string value in a required hash group as an optional param accepts a nested missing value refuses a blank existing value in an existing scope refuses a string value in an optional hash group valid input allows missing optional strings accepts valid input accepts empty input when allow_blank is false accepts empty input accepts empty when datetime allow_blank accepts empty when date allow_blank accepts empty when symbol allow_blank accepts empty when boolean allow_blank accepts false when boolean allow_blank accepts value when time allow_blank allow_blank when Numeric accepts empty when integer allow_blank accepts empty when float allow_blank accepts empty when integer allow_blank in an optional group as a required param accepts a missing group, even with a disallwed blank param accepts a nested missing date value refuses a blank value in an existing group as an optional param accepts a missing group, even with a disallwed blank param accepts a nested missing optional value refuses a blank existing value in an existing scope in a required group as a required param refuses a blank value in a required existing group refuses a string value in a required hash group as an optional param accepts a nested missing value refuses a blank existing value in an existing scope refuses a string value in an optional hash group Grape::Validations::AtLeastOneOfValidator #validate! when all restricted params are present does not return a validation error mixed with other params does not return a validation error when a subset of restricted params are present does not return a validation error when none of the restricted params is selected returns a validation error when custom message is specified returns a validation error when exactly one of the restricted params is selected does not return a validation error when restricted params are nested inside hash when at least one of them is present does not return a validation error when none of them are present returns a validation error with full names of the params when restricted params are nested inside array when at least one of them is present does not return a validation error when none of them are present returns a validation error with full names of the params when restricted params are deeply nested when at least one of them is present does not return a validation error when none of them are present returns a validation error with full names of the params Grape::Validations::CoerceValidator coerce error on malformed input error on malformed input (Array) i18n i18n error on malformed input gives an english fallback error when default locale message is blank with a custom validation message errors on malformed input on custom coercion rules respects :coerce_with still validates type performs no additional coercion coerces BigDecimal Integer String is a custom type Boolean Nests integers json BigDecimal Boolean Array Array of Integers Array of Bools Array of type implementing parse Set of type implementing parse Array of a custom type Set Set of Integers Set of Bools File Rack::Multipart::UploadedFile File collection nil values primitive types respects the nil value respects the nil value respects the nil value respects the nil value respects the nil value respects the nil value respects the nil value respects the nil value respects the nil value respects the nil value respects the nil value respects the nil value structures types respects the nil value respects the nil value respects the nil value special types respects the nil value respects the nil value respects the nil value respects the nil value variant-member-type collections respects the nil value respects the nil value empty string primitive types is coerced to nil for type Integer is coerced to nil for type Float is coerced to nil for type BigDecimal is coerced to nil for type Numeric is coerced to nil for type Date is coerced to nil for type DateTime is coerced to nil for type Time is coerced to nil for type Grape::API::Boolean is coerced to nil for type Symbol is coerced to nil for type TrueClass is coerced to nil for type FalseClass is not coerced to nil for type String structures types is coerced to nil for type Array is coerced to nil for type Set special types is coerced to nil for type JSON is coerced to nil for type [JSON] variant-member-type collections is coerced to nil for type [Integer, String] is coerced to nil for type [Integer, String, [Integer, String]] using coerce_with parses parameters with Array type parses parameters with Array[String] type parses parameters with Array[Integer] type parses parameters even if type is valid uses parse where available accepts any callable must be supplied with :type or :coerce Integer type and coerce_with potentially returning nil accepts value that coerces to nil coerces to Integer returns invalid value if coercion returns a wrong type first-class JSON parses objects, hashes, and arrays works when declared optional accepts Array[JSON] shorthand doesn't make sense using coerce_with multiple types coerces to first possible type fails when no coercion is possible may not be supplied together with a single type for primitive collections allows singular form declaration allows multiple collection types allows collections with multiple types when params is Hashie::Mash for primitive collections allows singular form declaration allows multiple collection types /usr/lib/ruby/vendor_ruby/hashie/mash.rb:86: warning: instance variable @disable_warnings not initialized /usr/lib/ruby/vendor_ruby/hashie/mash.rb:86: warning: instance variable @disable_warnings not initialized /usr/lib/ruby/vendor_ruby/hashie/mash.rb:86: warning: instance variable @disable_warnings not initialized allows collections with multiple types custom coercion rules respects :coerce_with still validates type performs no additional coercion converter does not build a coercer multiple times Grape::Validations::DefaultValidator lets you leave required values nested inside an optional blank allows optional arrays to be omitted does not allows faulty optional arrays allows optional arrays with optional params set default value for optional param set default values for optional params set default values for missing params in the request set default values for optional params and allow to use required fields in the same time sets lambda based defaults at the time of call sets default values for grouped arrays optional group with defaults optional array without default value includes optional param with default value returns nil for optional array if param is not provided optional array with default value includes optional param with default value sets default value for optional array if param is not provided optional hash without default value includes optional param with default value returns nil for optional hash if param is not provided does not fail even if invalid params is passed to default validator optional hash with default value includes optional param with default value sets default value for optional hash if param is not provided sets default value from parent defaults for inner param if parent param is not provided sets own default value for inner param if parent param is provided optional with nil as value primitive types respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value structures types respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value special types respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value respects the default value variant-member-type collections respects the default value respects the default value respects the default value respects the default value Grape::Validations::ExactlyOneOfValidator #validate! when all params are present returns a validation error mixed with other params returns a validation error when a subset of params are present returns a validation error when custom message is specified returns a validation error when exacly one param is present does not return a validation error when none of the params are present returns a validation error when params are nested inside required hash returns a validation error with full names of the params when params are nested inside optional hash when params are passed returns a validation error with full names of the params when params are empty does not return a validation error when params are nested inside array returns a validation error with full names of the params when params are deeply nested returns a validation error with full names of the params Grape::Validations::ExceptValuesValidator raises IncompatibleOptionValues on a default value in exclude raises IncompatibleOptionValues when a default array has excluded values raises IncompatibleOptionValues when type is incompatible with values array 0: req_except - invalid-type1 0: req_except - invalid-type3 0: req_except - valid-type 1: req_except_hash - invalid-type1 1: req_except_hash - invalid-type3 1: req_except_hash - valid-type 2: req_except_custom_message - invalid-type1 2: req_except_custom_message - invalid-type3 2: req_except_custom_message - valid-type 3: req_except_no_value - invalid-type1 4: req_except_empty - invalid-type1 5: req_except_lambda - invalid-type1 5: req_except_lambda - invalid-type4 5: req_except_lambda - valid-type 6: req_except_lambda_custom_message - invalid-type1 6: req_except_lambda_custom_message - invalid-type4 6: req_except_lambda_custom_message - valid-type 7: opt_except_default - invalid-type1 7: opt_except_default - invalid-type3 7: opt_except_default - valid-type 7: opt_except_default - 8: opt_except_lambda_default - invalid-type1 8: opt_except_lambda_default - invalid-type3 8: opt_except_lambda_default - valid-type 8: opt_except_lambda_default - 9: req_except_type_coerce - invalid-type1 9: req_except_type_coerce - 11 9: req_except_type_coerce - 11 9: req_except_type_coerce - 3 9: req_except_type_coerce - 3 10: opt_except_type_coerce_default - invalid-type1 10: opt_except_type_coerce_default - 10 10: opt_except_type_coerce_default - 3 10: opt_except_type_coerce_default - 3 10: opt_except_type_coerce_default - 11: opt_except_array_type_coerce_default - invalid-type1 11: opt_except_array_type_coerce_default - 10 11: opt_except_array_type_coerce_default - [10] 11: opt_except_array_type_coerce_default - ["3"] 11: opt_except_array_type_coerce_default - [3] 11: opt_except_array_type_coerce_default - 12: req_except_range - 11 12: req_except_range - 13 Grape::Validations::MutualExclusionValidator #validate! when all mutually exclusive params are present returns a validation error mixed with other params returns a validation error when a subset of mutually exclusive params are present returns a validation error when custom message is specified returns a validation error when no mutually exclusive params are present does not return a validation error when mutually exclusive params are nested inside required hash returns a validation error with full names of the params when mutually exclusive params are nested inside optional hash when params are passed returns a validation error with full names of the params when params are empty does not return a validation error when mutually exclusive params are nested inside array returns a validation error with full names of the params when mutually exclusive params are deeply nested returns a validation error with full names of the params Grape::Validations::PresenceValidator without validation does not validate for any params with a custom validation message requires when missing requires when empty valid when set with a required regexp parameter supplied in the POST body validates id with a required non-empty string requires when missing requires when empty valid when set with multiple parameters per requires validates for all defined params with required parameters and no type validates name, company with nested parameters validates nested parameters with triply nested required parameters validates triple nested parameters with reused parameter documentation once required and once optional works with required works with optional with a custom type does not validate their type when it is missing Grape::Validations::RegexpValidator accepts nil accepts valid input custom validation message accepts nil accepts valid input with invalid input refuses inapppopriate refuses empty regexp with array refuses inapppopriate items refuses empty items refuses nil items accepts valid items accepts nil instead of array invalid input refuses inapppopriate refuses empty regexp with array refuses inapppopriate items refuses empty items refuses nil items accepts valid items accepts nil instead of array nested regexp with array refuses inapppopriate Grape::Validations::SameAsValidator / is the same is expected to eq "" is not the same is expected to eq "password_confirmation is not the same as password" /custom-message is the same is expected to eq "" is not the same is expected to eq "password_confirmation not match" Grape::Validations::ValuesValidator allows a valid value for a parameter does not allow an invalid value for a parameter rejects all values if values is an empty array allows a valid default value [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. allows a default value with except allows a valid default value allows a proc for values does not validate updated values without proc validates against values in a proc does not allow an invalid value for a parameter using lambda Error 'comparison of String with 0 failed' raised while validating attribute 'number' does not allow non-numeric string value for int value using lambda Error 'undefined method `>' for nil:NilClass' raised while validating attribute 'number' does not allow nil for int value using lambda allows numeric string for int value using lambda allows value using lambda does not allow invalid value using lambda validates against an empty array in a proc validates default value from proc validates default value from proc against values in a proc raises IncompatibleOptionValues on an invalid default value from proc raises IncompatibleOptionValues on an invalid default value raises IncompatibleOptionValues when type is incompatible with values array allows values to be a kind of the coerced type not just an instance of it allows values to be a kind of the coerced type in an array raises IncompatibleOptionValues when values contains a value that is not a kind of the type raises IncompatibleOptionValues when except contains a value that is not a kind of the type allows a blank value when the allow_blank option is true with a custom validation message allows a valid value for a parameter does not allow an invalid value for a parameter validates against values in a proc does not allow an invalid value for a parameter using lambda with a custom exclude validation message [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. does not allow an invalid value for a parameter with a custom exclude validation message [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. does not allow an invalid value for a parameter exclude with a standard custom validation message [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. does not allow an invalid value for a parameter nil value for a parameter does not allow for root params scope allows for a required param in child scope accepts for an optional param with a list of values boolean values allows a value from the list rejects a value which is not in the list with a lambda values only evaluates values dynamically with each request chooses default with a range of values allows a single value inside of the range allows an array of values inside of the range rejects a single value outside the range rejects an array of values if any of them are outside the range exclusive excepts [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. allows any other value outside excepts [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. allows any other value outside excepts when type is included [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. rejects values that matches except [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. rejects an array of values if any of them matches except exclusive excepts with lambda [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. allows any other value outside excepts when type is included [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. allows any other value outside excepts [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. rejects values that matches except exclusive excepts with lambda and coercion [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. allows any other value outside excepts [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. rejects values that matches except with mixed values and excepts [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. allows value, but not in except [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. rejects except [DEPRECATION] The values validator except option is deprecated. Use the except validator instead. rejects outside except and outside value custom validation using proc [DEPRECATION] The values validator proc option is deprecated. The lambda expression can now be assigned directly to values. accepts a single valid value [DEPRECATION] The values validator proc option is deprecated. The lambda expression can now be assigned directly to values. accepts multiple valid values [DEPRECATION] The values validator proc option is deprecated. The lambda expression can now be assigned directly to values. rejects a single invalid value [DEPRECATION] The values validator proc option is deprecated. The lambda expression can now be assigned directly to values. rejects an invalid value among valid ones [DEPRECATION] The values validator proc option is deprecated. The lambda expression can now be assigned directly to values. uses supplied message Grape::Validations params optional validates when params is present doesn't validate when param not present adds to declared parameters optional using Grape::Entity documentation adds entity documentation to declared params works when field_a and field_b are not present works when field_a is present works when field_b is present required errors when param not present doesn't throw a missing param when param is present adds to declared parameters works when required field is present but nil requires with nested params validates correctly in deep nested params requires :all using Grape::Entity documentation adds entity documentation to declared params errors when required_field is not present works when required_field is present requires :none using Grape::Entity documentation adds entity documentation to declared params errors when required_field is not present works when required_field is present requires :all or :none but except a non-existent field using Grape::Entity documentation requires :all adds only the entity documentation to declared params, nothing more requires :none adds only the entity documentation to declared params, nothing more required with an Array block errors when param not present errors when param is not an Array doesn't throw a missing param when param is present doesn't throw a missing param when param is present but empty adds to declared parameters required with an Array and a Hash block does not output index [0] for Hash types required with a Hash block errors when param not present errors when nested param not present errors when param is not a Hash doesn't throw a missing param when param is present adds to declared parameters hash with a required param with validation errors when param is not a Hash works when all params match group errors when param not present doesn't throw a missing param when param is present adds to declared parameters group params with nested params which has a type errors when group param is invalid custom validator for a Hash which is optional doesn't throw an error if the validation passes errors if the validation fails which is required doesn't throw an error if the validation passes errors if the validation fails validation within arrays can handle new scopes within child elements errors when a parameter is not present errors when a parameter is not present in array within array handle errors for all array elements safely handles empty arrays and blank parameters errors when param is not an Array with block param requires defaults to Array type optional defaults to Array type group defaults to Array type validation within arrays with JSON can handle new scopes within child elements errors when a parameter is not present safely handles empty arrays and blank parameters optional with an Array block doesn't throw a missing param when the group isn't present doesn't throw a missing param when both group and param are given errors when group is present, but required param is not errors when param is present but isn't an Array adds to declared parameters nested optional Array blocks does no internal validations if the outer group is blank does internal validations if the outer group is present handles deep nesting handles validation within arrays adds to declared parameters multiple validation errors throws the validation errors custom validation when using optional with a custom validator validates when param is present skips validation when parameter isn't present validates with custom validator when param present and incorrect type when using requires with a custom validator validates when param is present validates when param is not present nested namespaces the parent namespace uses the validator the nested namespace inherits the custom validator peer namespaces does not have the validator namespaces nested in peers should also not have the validator when nested, specifying a route should clear out the validations for deeper nested params when using options on param validates param with custom validator with options named can be defined in helpers in helper module which kind of Grape::DSL::Helpers::BaseHelper can be included in usual params by #use by #use with multiple params with block returns defaults overrides default value for order overrides default value for order_by fails with invalid value documentation can be included with a hash all or none optional params with a custom validation message errors when any one is present works when all params are present works when none are present mutually exclusive optional params errors when two or more are present with custom validation message errors when two or more are present more than one set of mutually exclusive params errors for all sets with a custom validation message errors for all sets in a group works when only one from the set is present errors when more than one from the set is present mutually exclusive params inside Hash group invalidates if request param is invalid type exactly one of params errors when none are present succeeds when one is present errors when two or more are present with a custom validation message errors when none are present succeeds when one is present errors when two or more are present nested params errors when none are present succeeds when one is present errors when two or more are present at least one of params errors when none are present does not error when one is present does not error when two are present with a custom validation message errors when none are present does not error when one is present does not error when two are present nested params errors when none are present does not error when one is present does not error when two are present in a group works when only one from the set is present errors when no parameter from the set is present errors when more than one from the set is present does not falsely think the param is there if it is provided outside the block Grape /build/ruby-grape-Mq1JkT/ruby-grape-1.4.0/lib/grape/eager_load.rb:20: warning: possibly useless use of :: in void context eager_load! compile! JSON uses multi_json (PENDING: Temporarily skipped with xit) MultiXml uses multi_xml Pending: (Failures listed here are expected and do not affect your suite's status) 1) JSON uses multi_json # Temporarily skipped with xit # ./spec/integration/multi_json/json_spec.rb:6 Finished in 10.89 seconds (files took 6.64 seconds to load) 2043 examples, 0 failures, 1 pending [Coveralls] Outside the CI environment, not sending data. ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ dh_installdocs -i -O--buildsystem=ruby dh_ruby_fixdocs -i -O--buildsystem=ruby dh_installchangelogs -i -O--buildsystem=ruby dh_installinit -i -O--buildsystem=ruby dh_installsystemduser -i -O--buildsystem=ruby dh_perl -i -O--buildsystem=ruby dh_link -i -O--buildsystem=ruby dh_strip_nondeterminism -i -O--buildsystem=ruby dh_compress -X.rb -i -O--buildsystem=ruby dh_fixperms -i -O--buildsystem=ruby dh_missing -i -O--buildsystem=ruby dh_installdeb -i -O--buildsystem=ruby dh_gencontrol -i -O--buildsystem=ruby dpkg-gencontrol: warning: Depends field of package ruby-grape: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package ruby-grape: substitution variable ${ruby:Depends} unused, but is defined dh_md5sums -i -O--buildsystem=ruby dh_builddeb -i -O--buildsystem=ruby dpkg-deb: building package 'ruby-grape' in '../ruby-grape_1.4.0-1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ruby-grape_1.4.0-1_all.changes dpkg-genchanges: info: binary-only arch-indep upload (source code and arch-specific packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/ruby-grape-Mq1JkT /tmp/ruby-grape-1.4.0-13aliyqhx I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.7s3NEHj59p... I: success in 398.2279 seconds md5: ruby-grape_1.4.0-1_all.deb: OK sha1: ruby-grape_1.4.0-1_all.deb: OK sha256: ruby-grape_1.4.0-1_all.deb: OK Checksums: OK