Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-grape-entity/ruby-grape-entity_0.10.1-3_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-grape-entity-0.10.1-3020ttt8_/ruby-grape-entity_0.10.1-3_all.buildinfo Get source package info: ruby-grape-entity=0.10.1-3 Source URL: http://snapshot.notset.fr/mr/package/ruby-grape-entity/0.10.1-3/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adduser=3.118 autoconf=2.71-2 automake=1:1.16.5-1.1 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=12 base-passwd=3.5.52 bash=5.1-5 binutils=2.37-10 binutils-common=2.37-10 binutils-x86-64-linux-gnu=2.37-10 bsdextrautils=2.37.2-4 bsdutils=1:2.37.2-4 build-essential=12.9 bzip2=1.0.8-5 ca-certificates=20211016 coreutils=8.32-4.1 cpp=4:11.2.0-2 cpp-11=11.2.0-12 dash=0.5.11+git20210903+057cd650a4ed-3 debconf=1.5.79 debhelper=13.5.2 debianutils=5.5-1 devscripts=2.21.6 dh-autoreconf=20 dh-strip-nondeterminism=1.12.1-1 diffutils=1:3.7-5 dirmngr=2.2.27-2 dpkg=1.21.1 dpkg-dev=1.21.1 dwz=0.14-1 fakeroot=1.26-1 file=1:5.41-2 findutils=4.8.0-1 g++=4:11.2.0-2 g++-11=11.2.0-12 gcc=4:11.2.0-2 gcc-11=11.2.0-12 gcc-11-base=11.2.0-12 gem2deb=1.8 gem2deb-test-runner=1.8 gettext=0.21-4 gettext-base=0.21-4 gnupg=2.2.27-2 gnupg-l10n=2.2.27-2 gnupg-utils=2.2.27-2 gpg=2.2.27-2 gpg-agent=2.2.27-2 gpg-wks-client=2.2.27-2 gpg-wks-server=2.2.27-2 gpgconf=2.2.27-2 gpgsm=2.2.27-2 gpgv=2.2.27-2 grep=3.7-1 groff-base=1.22.4-7 gzip=1.10-4 hostname=3.23 init-system-helpers=1.61 intltool-debian=0.35.0+20060710.5 javascript-common=11+nmu1 libacl1=2.3.1-1 libarchive-zip-perl=1.68-1 libasan6=11.2.0-12 libassuan0=2.5.5-1 libatomic1=11.2.0-12 libattr1=1:2.5.1-1 libaudit-common=1:3.0.6-1 libaudit1=1:3.0.6-1+b1 libb-hooks-op-check-perl=0.22-1+b3 libbinutils=2.37-10 libblkid1=2.37.2-4 libbsd0=0.11.3-1 libbz2-1.0=1.0.8-5 libc-bin=2.32-5 libc-dev-bin=2.32-5 libc6=2.32-5 libc6-dev=2.32-5 libcap-ng0=0.7.9-2.2+b1 libcap2=1:2.44-1 libcc1-0=11.2.0-12 libclass-method-modifiers-perl=2.13-1 libclass-xsaccessor-perl=1.19-3+b7 libcom-err2=1.46.4-1 libcrypt-dev=1:4.4.26-1 libcrypt1=1:4.4.26-1 libctf-nobfd0=2.37-10 libctf0=2.37-10 libdb5.3=5.3.28+dfsg1-0.8 libdebconfclient0=0.261 libdebhelper-perl=13.5.2 libdevel-callchecker-perl=0.008-1+b2 libdpkg-perl=1.21.1 libdynaloader-functions-perl=0.003-1.1 libedit2=3.1-20210910-1 libelf1=0.186-1 libencode-locale-perl=1.05-1.1 libexpat1=2.4.1-3 libfakeroot=1.26-1 libffi8=3.4.2-3 libfile-dirlist-perl=0.05-2 libfile-homedir-perl=1.006-1 libfile-listing-perl=6.14-1 libfile-stripnondeterminism-perl=1.12.1-1 libfile-touch-perl=0.12-1 libfile-which-perl=1.23-1 libgcc-11-dev=11.2.0-12 libgcc-s1=11.2.0-12 libgcrypt20=1.9.4-4 libgdbm-compat4=1.22-1 libgdbm6=1.22-1 libgmp-dev=2:6.2.1+dfsg-3 libgmp10=2:6.2.1+dfsg-3 libgmpxx4ldbl=2:6.2.1+dfsg-3 libgnutls30=3.7.2-2 libgomp1=11.2.0-12 libgpg-error0=1.42-3 libgssapi-krb5-2=1.18.3-7 libhogweed6=3.7.3-1 libhtml-parser-perl=3.76-1 libhtml-tagset-perl=3.20-4 libhtml-tree-perl=5.07-2 libhttp-cookies-perl=6.10-1 libhttp-date-perl=6.05-1 libhttp-message-perl=6.35-1 libhttp-negotiate-perl=6.01-1 libicu67=67.1-7 libidn2-0=2.3.2-2 libimport-into-perl=1.002005-1 libio-html-perl=1.004-2 libio-pty-perl=1:1.15-2 libio-socket-ssl-perl=2.072-1 libipc-run-perl=20200505.0-1 libisl23=0.24-2 libitm1=11.2.0-12 libjs-jquery=3.5.1+dfsg+~3.5.5-8 libjs-jquery-easing=12-3 libjs-jquery-fancybox=12-3 libjs-jquery-mousewheel=1:3.1.13-3.1 libjs-jquery-ui=1.13.0+dfsg-1 libk5crypto3=1.18.3-7 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-7 libkrb5support0=1.18.3-7 libksba8=1.6.0-2 libldap-2.4-2=2.4.59+dfsg-1 liblsan0=11.2.0-12 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.10-1 liblz4-1=1.9.3-2 liblzma5=5.2.5-2 libmagic-mgc=1:5.41-2 libmagic1=1:5.41-2 libmd0=1.0.4-1 libmodule-runtime-perl=0.016-1 libmoo-perl=2.005004-3 libmount1=2.37.2-4 libmpc3=1.2.1-1 libmpdec3=2.5.1-2 libmpfr6=4.1.0-3 libncursesw6=6.3-1 libnet-http-perl=6.21-1 libnet-ssleay-perl=1.90-1 libnettle8=3.7.3-1 libnpth0=1.6-3 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libp11-kit0=0.24.0-6 libpam-modules=1.4.0-11 libpam-modules-bin=1.4.0-11 libpam-runtime=1.4.0-11 libpam0g=1.4.0-11 libparams-classify-perl=0.015-1+b3 libpcre2-8-0=10.39-3 libpcre3=2:8.39-13 libperl5.32=5.32.1-6 libpipeline1=1.5.4-1 libpython3-stdlib=3.9.8-1 libpython3.9-minimal=3.9.9-1 libpython3.9-stdlib=3.9.9-1 libquadmath0=11.2.0-12 libreadline8=8.1-2 librole-tiny-perl=2.002004-1 libruby2.7=2.7.4-1+b1 libruby3.0=3.0.2-5 libsasl2-2=2.1.27+dfsg2-2 libsasl2-modules-db=2.1.27+dfsg2-2 libseccomp2=2.5.3-2 libselinux1=3.3-1+b1 libsemanage-common=3.3-1 libsemanage2=3.3-1+b1 libsepol2=3.3-1 libsigsegv2=2.13-1 libsmartcols1=2.37.2-4 libsqlite3-0=3.36.0-2 libssl1.1=1.1.1l-1 libstdc++-11-dev=11.2.0-12 libstdc++6=11.2.0-12 libsub-override-perl=0.09-2 libsub-quote-perl=2.006006-1 libsystemd0=249.7-1 libtasn1-6=4.18.0-4 libtimedate-perl=2.3300-2 libtinfo6=6.3-1 libtirpc-common=1.3.2-2 libtirpc-dev=1.3.2-2 libtirpc3=1.3.2-2 libtool=2.4.6-15 libtry-tiny-perl=0.31-1 libtsan0=11.2.0-12 libubsan1=11.2.0-12 libuchardet0=0.0.7-1 libudev1=249.7-1 libunistring2=0.9.10-6 liburi-perl=5.10-1 libuuid1=2.37.2-4 libwww-perl=6.59-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.12+dfsg-5+b1 libyaml-0-2=0.2.2-1 libzstd1=1.4.8+dfsg-3 linux-libc-dev=5.15.5-1 login=1:4.8.1-2 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 media-types=4.0.0 ncurses-base=6.3-1 ncurses-bin=6.3-1 netbase=6.3 openssl=1.1.1l-1 passwd=1:4.8.1-2 patch=2.7.6-7 patchutils=0.4.2-1 perl=5.32.1-6 perl-base=5.32.1-6 perl-modules-5.32=5.32.1-6 perl-openssl-defaults=5 pinentry-curses=1.1.0-4 po-debconf=1.0.21+nmu1 python3=3.9.8-1 python3-minimal=3.9.8-1 python3.9=3.9.9-1 python3.9-minimal=3.9.9-1 rake=13.0.3-1 readline-common=8.1-2 rpcsvc-proto=1.4.2-4 ruby=1:2.7.6 ruby-activesupport=2:6.1.4.1+dfsg-8 ruby-all-dev=1:2.7.6 ruby-concurrent=1.1.6+dfsg-3 ruby-coveralls=0.8.23-2 ruby-diff-lcs=1.4.4-1 ruby-docile=1.1.5-2 ruby-domain-name=0.5.20190701-1 ruby-http-accept=1.7.0-2 ruby-http-cookie=1.0.3-1 ruby-i18n=1.8.11-1 ruby-mime-types=3.3.1-1 ruby-mime-types-data=3.2015.1120-1.1 ruby-minitest=5.13.0-1 ruby-multi-json=1.14.1-1 ruby-net-telnet=0.1.1-2 ruby-netrc=0.11.0-3 ruby-power-assert=1.1.7-2 ruby-rest-client=2.1.0-1 ruby-rspec=3.10.0c1e1m2s3-1 ruby-rspec-core=3.10.0c1e1m2s3-1 ruby-rspec-expectations=3.10.0c1e1m2s3-1 ruby-rspec-mocks=3.10.0c1e1m2s3-1 ruby-rspec-support=3.10.0c1e1m2s3-1 ruby-rubygems=3.2.27-3 ruby-simplecov=0.19.1-1 ruby-simplecov-html=0.12.3-1 ruby-sync=0.5.0-2 ruby-term-ansicolor=1.3.0-1.1 ruby-test-unit=3.3.9-1 ruby-thor=1.0.1-1 ruby-tins=1.1.0-2 ruby-tzinfo=2.0.4-3 ruby-unf=0.1.4-2 ruby-unf-ext=0.0.7.7-1+b1 ruby-xmlrpc=0.3.2-1 ruby-zeitwerk=2.4.2-1 ruby2.7=2.7.4-1+b1 ruby2.7-dev=2.7.4-1+b1 ruby3.0=3.0.2-5 ruby3.0-dev=3.0.2-5 rubygems-integration=1.18 sed=4.8-1 sensible-utils=0.0.17 sysvinit-utils=3.00-1 tar=1.34+dfsg-1 tzdata=2021e-1 util-linux=2.37.2-4 wdiff=1.2.2-2+b1 xz-utils=5.2.5-2 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/20211211T024809Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20211211T024809Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20211211T084309Z/ 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-entity=0.10.1-3 && mkdir -p /build/ruby-grape-entity-5lJ3Qa && dpkg-source --no-check -x /*.dsc /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1 && chown -R builduser:builduser /build/ruby-grape-entity-5lJ3Qa" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1639045751" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-grape-entity-5lJ3Qa /tmp/ruby-grape-entity-0.10.1-3020ttt8_ bookworm /dev/null deb http://snapshot.notset.fr/archive/debian/20211211T084309Z 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.zERWqRZkdL 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.zERWqRZkdL Reading package lists... Building dependency tree... util-linux is already the newest version (2.37.2-4). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20211211T084309Z unstable/main amd64 libfakeroot amd64 1.26-1 [47.3 kB] Get:2 http://snapshot.notset.fr/archive/debian/20211211T084309Z unstable/main amd64 fakeroot amd64 1.26-1 [87.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (539 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 ... 4679 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.26-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.26-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.26-1_amd64.deb ... Unpacking fakeroot (1.26-1) ... Setting up libfakeroot:amd64 (1.26-1) ... Setting up fakeroot (1.26-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.32-5) ... 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/20211211T024809Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20211211T024809Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20211211T084309Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.zERWqRZkdL Get:1 http://snapshot.notset.fr/archive/debian/20211211T024809Z bookworm InRelease [129 kB] Hit:2 http://snapshot.notset.fr/archive/debian/20211211T084309Z unstable InRelease Ign:3 http://snapshot.notset.fr/archive/debian/20211211T024809Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20211211T024809Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20211211T024809Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20211211T024809Z bookworm/main amd64 Packages Ign:3 http://snapshot.notset.fr/archive/debian/20211211T024809Z bookworm/main Sources Ign:4 http://snapshot.notset.fr/archive/debian/20211211T024809Z bookworm/main amd64 Packages Get:3 http://snapshot.notset.fr/archive/debian/20211211T024809Z bookworm/main Sources [11.7 MB] Get:4 http://snapshot.notset.fr/archive/debian/20211211T024809Z bookworm/main amd64 Packages [11.2 MB] Fetched 23.1 MB in 27s (851 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.zERWqRZkdL I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-grape-entity=0.10.1-3 && mkdir -p /build/ruby-grape-entity-5lJ3Qa && dpkg-source --no-check -x /*.dsc /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1 && chown -R builduser:builduser /build/ruby-grape-entity-5lJ3Qa"' exec /tmp/mmdebstrap.zERWqRZkdL Reading package lists... NOTICE: 'ruby-grape-entity' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ruby-team/ruby-grape-entity.git Please use: git clone https://salsa.debian.org/ruby-team/ruby-grape-entity.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 48.8 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20211211T024809Z bookworm/main ruby-grape-entity 0.10.1-3 (dsc) [2170 B] Get:2 http://snapshot.notset.fr/archive/debian/20211211T024809Z bookworm/main ruby-grape-entity 0.10.1-3 (tar) [42.6 kB] Get:3 http://snapshot.notset.fr/archive/debian/20211211T024809Z bookworm/main ruby-grape-entity 0.10.1-3 (diff) [4048 B] Fetched 48.8 kB in 0s (570 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-grape-entity_0.10.1-3.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-grape-entity in /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1 dpkg-source: info: unpacking ruby-grape-entity_0.10.1.orig.tar.gz dpkg-source: info: unpacking ruby-grape-entity_0.10.1-3.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-cleanup_spec_helper.patch dpkg-source: info: applying 0002-require-activerecord.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" LC_COLLATE="C.UTF-8" SOURCE_DATE_EPOCH="1639045751" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.zERWqRZkdL dpkg-buildpackage: info: source package ruby-grape-entity dpkg-buildpackage: info: source version 0.10.1-3 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-entity-5lJ3Qa/ruby-grape-entity-0.10.1' rm -fr /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/coverage dh_auto_clean dh_ruby --clean dh_ruby --clean make[1]: Leaving directory '/build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1' 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 --destdir=debian/ruby-grape-entity/ -i -O--buildsystem=ruby dh_ruby --install /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity dh_ruby --install ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/version.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/version.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/condition.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/condition.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/exposure.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/exposure.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/condition/base.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/condition/base.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/condition/block_condition.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/condition/block_condition.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/condition/symbol_condition.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/condition/symbol_condition.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/condition/hash_condition.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/condition/hash_condition.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/exposure/nesting_exposure/output_builder.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/exposure/nesting_exposure/output_builder.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/exposure/nesting_exposure/nested_exposures.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/exposure/nesting_exposure/nested_exposures.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/exposure/represent_exposure.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/exposure/represent_exposure.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/exposure/formatter_exposure.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/exposure/formatter_exposure.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/exposure/delegator_exposure.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/exposure/delegator_exposure.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/exposure/nesting_exposure.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/exposure/nesting_exposure.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/exposure/block_exposure.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/exposure/block_exposure.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/exposure/formatter_block_exposure.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/exposure/formatter_block_exposure.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/exposure/base.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/exposure/base.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/deprecated.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/deprecated.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/options.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/options.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/entity.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/entity.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/delegator.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/delegator.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/delegator/fetchable_object.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/delegator/fetchable_object.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/delegator/plain_object.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/delegator/plain_object.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/delegator/openstruct_object.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/delegator/openstruct_object.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/delegator/base.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/delegator/base.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity/delegator/hash_object.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity/delegator/hash_object.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape_entity.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape_entity.rb install -D -m644 /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/lib/grape-entity.rb /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby/grape-entity.rb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/share/rubygems-integration/all/specifications/grape-entity-0.10.1.gemspec dh_installchangelogs -pruby-grape-entity /build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/CHANGELOG.md upstream /usr/bin/ruby2.7 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.7 │ └──────────────────────────────────────────────────────────────────────────────┘ GEM_PATH=/build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/share/rubygems-integration/all:/build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/2.7.0:/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-entity\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.7 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/share/rubygems-integration/all:/build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/2.7.0:/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.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation [Coveralls] Set up the SimpleCov formatter. [Coveralls] Using SimpleCov's default settings. Grape::Entity class methods .expose works global on Grape::Entity multiple attributes is able to add multiple exposed attributes with a single call sets the same options for all.root_exposures passed option validation makes sure that :as only works on single attribute calls makes sure that :format_with as a proc cannot be used with a block makes sure unknown options are not silently ignored with a :merge option merges an exposure to the root allows to solve collisions providing a lambda to a :merge option and nested object is nil adds nothing to output with :expose_nil option when model is a PORO when expose_nil option is not provided exposes nil attributes when expose_nil option is true exposes nil attributes when expose_nil option is false does not expose nil attributes is only applied per attribute raises an error when applied to multiple attribute exposures when expose_nil option is false and block passed does not expose if block returns nil exposes is block returns a value when model is a hash when expose_nil option is not provided exposes nil attributes when expose_nil option is true exposes nil attributes when expose_nil option is false does not expose nil attributes is only applied per attribute raises an error when applied to multiple attribute exposures with nested structures when expose_nil option is false does not expose nil attributes with :default option when model is a PORO when default option is not provided exposes attributes values when default option is set exposes default values for attributes when default option is set and block passed return default value if block returns nil return value from block if block returns a value when model is a hash when expose_nil option is not provided exposes nil attributes when expose_nil option is true exposes nil attributes when expose_nil option is false does not expose nil attributes is only applied per attribute raises an error when applied to multiple attribute exposures with nested structures when expose_nil option is false does not expose nil attributes with a block errors out if called with multiple attributes references an instance of the entity with :using option with parameters passed to the block sets the :proc option in the exposure options references an instance of the entity without any options blocks with block passed in is expected to eq "result" with block passed in via & is expected to eq "result" with no parameters passed to the block adds a nested exposure represents the exposure as a hash of its nested.root_exposures does not represent nested.root_exposures whose conditions are not met does not represent attributes, declared inside nested exposure, outside of it merges complex nested attributes merges results of deeply nested double.root_exposures inside of nesting exposure serializes deeply nested presenter exposures is safe if its nested.root_exposures are safe merges attriutes if :merge option is passed inherited.root_exposures returns.root_exposures from an ancestor returns.root_exposures from multiple ancestor returns descendant.root_exposures as a priority not overrides exposure by default overrides parent class exposure when option is specified register formatters registers a formatter inherits formatters from ancestors does not allow registering a formatter without a block formats an exposure with a registered formatter formats an exposure with a :format_with lambda that returns a value from the entity instance formats an exposure with a :format_with symbol that returns a value from the entity instance works global on Grape::Entity .unexpose is able to remove exposed attributes does not allow unexposing inside of nesting exposures works global on Grape::Entity inherited.root_exposures when called from child class, only removes from the attribute from child when called from the parent class remove from parent and do not remove from child classes .with_options raises an error for unknown options applies the options to all.root_exposures inside allows for nested .with_options overrides nested :as option merges nested :if option merges nested :unless option overrides nested :using option aliases :with option to :using option overrides nested :proc option overrides nested :documentation option propagates expose_nil option overrides nested :expose_nil option .represent returns a single entity if called with one object returns a single entity if called with a hash returns multiple entities if called with a collection adds the collection: true option if called with a collection returns a serialized hash of a single object if serializable: true returns a serialized array of hashes of multiple objects if serializable: true returns a serialized hash of a hash returns a serialized hash of an OpenStruct raises error if field not found with specified fields returns only specified fields with only option returns all fields except the ones specified in the except option returns only fields specified in the only option and not specified in the except option can specify children attributes with only can specify children attributes with except can specify children attributes with mixed only and except with strings or symbols passed to only and except can specify "only" option attributes as strings can specify "except" option attributes as strings can specify "only" option attributes as symbols can specify "except" option attributes as symbols can specify "only" attributes as strings and symbols can specify "except" attributes as strings and symbols with nested attributes preserves nesting specify attribute with exposure condition returns only specified fields does not return fields specified in the except option choses proper exposure according to condition does not merge nested exposures with plain hashes attribute with alias returns only specified fields does not return fields specified in the except option attribute that is an entity itself returns correctly the children entity attributes when NameError happens in a parameterized block_exposure does not cause infinite loop .present_collection make the objects accessible serializes items with my root name .root with singular and plural root keys with a single object allows a root element name to be specified with an array of objects allows a root element name to be specified it can be overridden can be disabled can use a different name with singular root key with a single object allows a root element name to be specified with an array of objects allows a root element name to be specified with plural root key with a single object allows a root element name to be specified with an array of objects allows a root element name to be specified inheriting from parent entity inherits single root inherits array root root #initialize takes an object and an optional options hash has attribute readers for the object and options instance methods #serializable_hash does not throw an exception if a nil options object is passed does not blow up when the model is nil exposes attributes that don't exist on the object only when they are generated by a block with options exposes attributes defined through module inclusion does not expose attributes that are generated by a block but have not passed criteria with safe option does not throw an exception when an attribute is not found on the object exposes values of private method calls does expose attributes that don't exist on the object does expose attributes that don't exist on the object as nil does expose attributes marked as safe if model is a hash object does expose attributes that don't exist on the object as nil if criteria is true without safe option throws an exception when an attribute is not found on the object exposes attributes that don't exist on the object only when they are generated by a block does not expose attributes that are generated by a block but have not passed criteria #serializable_hash serializes embedded objects which respond to #serializable_hash serializes embedded arrays of objects which respond to #serializable_hash serializes embedded hashes of objects which respond to #serializable_hash #attr_path for all kinds of attributes allows customize path of an attribute can drop one nest level by set path_for to nil with projections passed in options allows to pass different :only and :except params using the same instance #inspect does not serialize delegator or options #value_for passes through bare expose attributes instantiates a representation if that is called for calls through to the proc if there is one returns a formatted value if format_with is passed returns a formatted value if format_with is passed a lambda child representations disables root key name for child representations passes through the proc which returns an array of objects with custom options(:using) passes through the proc which returns single object with custom options(:using) passes through the proc which returns empty with custom options(:using) passes through exposed entity with key and value attributes passes through custom options ignores the :collection parameter in the source options delegate_attribute tries instance methods on the entity first does not delegate Kernel methods derived entity get methods from base entity using string class .documentation returns an empty hash is no documentation is provided returns each defined documentation hash returns each defined documentation hash with :as param considering resets memoization when exposing additional attributes inherited documentation returns documentation from ancestor obeys unexposed attributes in subclass obeys re-exposed attributes in subclass includes only root exposures ::DSL creates an Entity class when called pre-mixed is able to define entity traits through DSL is able to expose straight from the class is able to mix field and advanced.root_exposures instance #entity is an instance of the entity class has an object of itself instantiates with options if provided Grape::Entity::Exposure::NestingExposure::NestedExposures #deep_complex_nesting?(entity) is reset when additional exposure is added is reset when exposure is deleted is reset when exposures are cleared .delete_by deletes matching exposure when given attribute doesn't exists deletes matching exposure Grape::Entity::Exposure::RepresentExposure #setup sets using_class_name sets subexposure when using_class is set resets using_class Grape::Entity::Exposure #key returns the attribute if no :as is set returns the :as alias if one exists returns the result if :as is a proc returns the result if :as is a lambda #conditions_met? only passes through hash :if exposure if all attributes match looks for presence/truthiness if a symbol is passed looks for absence/falsiness if a symbol is passed only passes through proc :if exposure if it returns truthy value only passes through hash :unless exposure if any attributes do not match only passes through proc :unless exposure if it returns falsy value Grape::Entity except option for nested entity Grape::Entity::Options #fetch without passing in a required option raises KeyError passing in a required option will expose the values with an option that is not default will not expose that value #dig without passing in a expected option hide the value passing in a expected option will expose the values Top 10 slowest examples (0.02322 seconds, 16.8% of total time): Grape::Entity instance methods #serializable_hash with safe option does expose attributes that don't exist on the object as nil 0.00385 seconds ./spec/grape_entity/entity_spec.rb:1496 Grape::Entity instance methods #inspect does not serialize delegator or options 0.00282 seconds ./spec/grape_entity/entity_spec.rb:1746 Grape::Entity except option for nested entity 0.00257 seconds ./spec/grape_entity/hash_spec.rb:6 Grape::Entity class methods .expose with a block with no parameters passed to the block adds a nested exposure 0.00228 seconds ./spec/grape_entity/entity_spec.rb:435 Grape::Entity instance methods #serializable_hash with safe option does expose attributes that don't exist on the object 0.00216 seconds ./spec/grape_entity/entity_spec.rb:1487 Grape::Entity::Exposure::RepresentExposure#setup sets using_class_name 0.00213 seconds ./spec/grape_entity/exposure/represent_exposure_spec.rb:14 Grape::Entity class methods .represent with specified fields specify attribute with exposure condition choses proper exposure according to condition 0.00208 seconds ./spec/grape_entity/entity_spec.rb:1153 Grape::Entity class methods .expose with a block with no parameters passed to the block does not represent attributes, declared inside nested exposure, outside of it 0.00207 seconds ./spec/grape_entity/entity_spec.rb:477 Grape::Entity instance methods #serializable_hash #attr_path for all kinds of attributes 0.00168 seconds ./spec/grape_entity/entity_spec.rb:1637 Grape::Entity instance methods #value_for using class 0.00159 seconds ./spec/grape_entity/entity_spec.rb:2009 Top 6 slowest example groups: Grape::Entity 0.00273 seconds average (0.00273 seconds / 1 example) ./spec/grape_entity/hash_spec.rb:5 Grape::Entity::Exposure::RepresentExposure 0.001 seconds average (0.00299 seconds / 3 examples) ./spec/grape_entity/exposure/represent_exposure_spec.rb:5 Grape::Entity 0.00069 seconds average (0.12067 seconds / 174 examples) ./spec/grape_entity/entity_spec.rb:6 Grape::Entity::Exposure 0.00063 seconds average (0.00635 seconds / 10 examples) ./spec/grape_entity/exposure_spec.rb:5 Grape::Entity::Options 0.00035 seconds average (0.00173 seconds / 5 examples) ./spec/grape_entity/options_spec.rb:5 Grape::Entity::Exposure::NestingExposure::NestedExposures 0.00029 seconds average (0.00147 seconds / 5 examples) ./spec/grape_entity/exposure/nesting_exposure/nested_exposures_spec.rb:5 Finished in 0.13798 seconds (files took 1.02 seconds to load) 198 examples, 0 failures [Coveralls] Outside the CI environment, not sending data. /usr/bin/ruby3.0 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby3.0 │ └──────────────────────────────────────────────────────────────────────────────┘ GEM_PATH=/build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/share/rubygems-integration/all:/build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.0.0:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0 ruby3.0 -e gem\ \"grape-entity\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby3.0 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/ruby-grape-entity/usr/share/rubygems-integration/all:/build/ruby-grape-entity-5lJ3Qa/ruby-grape-entity-0.10.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.0.0:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0 ruby3.0 -S rake -f debian/ruby-tests.rake /usr/bin/ruby3.0 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation [Coveralls] Set up the SimpleCov formatter. [Coveralls] Using SimpleCov's default settings. Grape::Entity class methods .expose works global on Grape::Entity multiple attributes is able to add multiple exposed attributes with a single call sets the same options for all.root_exposures passed option validation makes sure that :as only works on single attribute calls makes sure that :format_with as a proc cannot be used with a block makes sure unknown options are not silently ignored with a :merge option merges an exposure to the root allows to solve collisions providing a lambda to a :merge option and nested object is nil adds nothing to output with :expose_nil option when model is a PORO when expose_nil option is not provided exposes nil attributes when expose_nil option is true exposes nil attributes when expose_nil option is false does not expose nil attributes is only applied per attribute raises an error when applied to multiple attribute exposures when expose_nil option is false and block passed does not expose if block returns nil exposes is block returns a value when model is a hash when expose_nil option is not provided exposes nil attributes when expose_nil option is true exposes nil attributes when expose_nil option is false does not expose nil attributes is only applied per attribute raises an error when applied to multiple attribute exposures with nested structures when expose_nil option is false does not expose nil attributes with :default option when model is a PORO when default option is not provided exposes attributes values when default option is set exposes default values for attributes when default option is set and block passed return default value if block returns nil return value from block if block returns a value when model is a hash when expose_nil option is not provided exposes nil attributes when expose_nil option is true exposes nil attributes when expose_nil option is false does not expose nil attributes is only applied per attribute raises an error when applied to multiple attribute exposures with nested structures when expose_nil option is false does not expose nil attributes with a block errors out if called with multiple attributes references an instance of the entity with :using option with parameters passed to the block sets the :proc option in the exposure options references an instance of the entity without any options blocks with block passed in is expected to eq "result" with block passed in via & is expected to eq "result" with no parameters passed to the block adds a nested exposure represents the exposure as a hash of its nested.root_exposures does not represent nested.root_exposures whose conditions are not met does not represent attributes, declared inside nested exposure, outside of it merges complex nested attributes merges results of deeply nested double.root_exposures inside of nesting exposure serializes deeply nested presenter exposures is safe if its nested.root_exposures are safe merges attriutes if :merge option is passed inherited.root_exposures returns.root_exposures from an ancestor returns.root_exposures from multiple ancestor returns descendant.root_exposures as a priority not overrides exposure by default overrides parent class exposure when option is specified register formatters registers a formatter inherits formatters from ancestors does not allow registering a formatter without a block formats an exposure with a registered formatter formats an exposure with a :format_with lambda that returns a value from the entity instance formats an exposure with a :format_with symbol that returns a value from the entity instance works global on Grape::Entity .unexpose is able to remove exposed attributes does not allow unexposing inside of nesting exposures works global on Grape::Entity inherited.root_exposures when called from child class, only removes from the attribute from child when called from the parent class remove from parent and do not remove from child classes .with_options raises an error for unknown options applies the options to all.root_exposures inside allows for nested .with_options overrides nested :as option merges nested :if option merges nested :unless option overrides nested :using option aliases :with option to :using option overrides nested :proc option overrides nested :documentation option propagates expose_nil option overrides nested :expose_nil option .represent returns a single entity if called with one object returns a single entity if called with a hash returns multiple entities if called with a collection adds the collection: true option if called with a collection returns a serialized hash of a single object if serializable: true returns a serialized array of hashes of multiple objects if serializable: true returns a serialized hash of a hash returns a serialized hash of an OpenStruct raises error if field not found with specified fields returns only specified fields with only option returns all fields except the ones specified in the except option returns only fields specified in the only option and not specified in the except option can specify children attributes with only can specify children attributes with except can specify children attributes with mixed only and except with strings or symbols passed to only and except can specify "only" option attributes as strings can specify "except" option attributes as strings can specify "only" option attributes as symbols can specify "except" option attributes as symbols can specify "only" attributes as strings and symbols can specify "except" attributes as strings and symbols with nested attributes preserves nesting specify attribute with exposure condition returns only specified fields does not return fields specified in the except option choses proper exposure according to condition does not merge nested exposures with plain hashes attribute with alias returns only specified fields does not return fields specified in the except option attribute that is an entity itself returns correctly the children entity attributes when NameError happens in a parameterized block_exposure does not cause infinite loop .present_collection make the objects accessible serializes items with my root name .root with singular and plural root keys with a single object allows a root element name to be specified with an array of objects allows a root element name to be specified it can be overridden can be disabled can use a different name with singular root key with a single object allows a root element name to be specified with an array of objects allows a root element name to be specified with plural root key with a single object allows a root element name to be specified with an array of objects allows a root element name to be specified inheriting from parent entity inherits single root inherits array root root #initialize takes an object and an optional options hash has attribute readers for the object and options instance methods #serializable_hash does not throw an exception if a nil options object is passed does not blow up when the model is nil exposes attributes that don't exist on the object only when they are generated by a block with options exposes attributes defined through module inclusion does not expose attributes that are generated by a block but have not passed criteria with safe option does not throw an exception when an attribute is not found on the object exposes values of private method calls does expose attributes that don't exist on the object does expose attributes that don't exist on the object as nil does expose attributes marked as safe if model is a hash object does expose attributes that don't exist on the object as nil if criteria is true without safe option throws an exception when an attribute is not found on the object exposes attributes that don't exist on the object only when they are generated by a block does not expose attributes that are generated by a block but have not passed criteria #serializable_hash serializes embedded objects which respond to #serializable_hash serializes embedded arrays of objects which respond to #serializable_hash serializes embedded hashes of objects which respond to #serializable_hash #attr_path for all kinds of attributes allows customize path of an attribute can drop one nest level by set path_for to nil with projections passed in options allows to pass different :only and :except params using the same instance #inspect does not serialize delegator or options #value_for passes through bare expose attributes instantiates a representation if that is called for calls through to the proc if there is one returns a formatted value if format_with is passed returns a formatted value if format_with is passed a lambda child representations disables root key name for child representations passes through the proc which returns an array of objects with custom options(:using) passes through the proc which returns single object with custom options(:using) passes through the proc which returns empty with custom options(:using) passes through exposed entity with key and value attributes passes through custom options ignores the :collection parameter in the source options delegate_attribute tries instance methods on the entity first does not delegate Kernel methods derived entity get methods from base entity using string class .documentation returns an empty hash is no documentation is provided returns each defined documentation hash returns each defined documentation hash with :as param considering resets memoization when exposing additional attributes inherited documentation returns documentation from ancestor obeys unexposed attributes in subclass obeys re-exposed attributes in subclass includes only root exposures ::DSL creates an Entity class when called pre-mixed is able to define entity traits through DSL is able to expose straight from the class is able to mix field and advanced.root_exposures instance #entity is an instance of the entity class has an object of itself instantiates with options if provided Grape::Entity::Exposure::NestingExposure::NestedExposures #deep_complex_nesting?(entity) is reset when additional exposure is added is reset when exposure is deleted is reset when exposures are cleared .delete_by deletes matching exposure when given attribute doesn't exists deletes matching exposure Grape::Entity::Exposure::RepresentExposure #setup sets using_class_name sets subexposure when using_class is set resets using_class Grape::Entity::Exposure #key returns the attribute if no :as is set returns the :as alias if one exists returns the result if :as is a proc returns the result if :as is a lambda #conditions_met? only passes through hash :if exposure if all attributes match looks for presence/truthiness if a symbol is passed looks for absence/falsiness if a symbol is passed only passes through proc :if exposure if it returns truthy value only passes through hash :unless exposure if any attributes do not match only passes through proc :unless exposure if it returns falsy value Grape::Entity except option for nested entity Grape::Entity::Options #fetch without passing in a required option raises KeyError passing in a required option will expose the values with an option that is not default will not expose that value #dig without passing in a expected option hide the value passing in a expected option will expose the values Top 10 slowest examples (0.08135 seconds, 27.8% of total time): Grape::Entity instance methods #value_for child representations disables root key name for child representations 0.0189 seconds ./spec/grape_entity/entity_spec.rb:1788 Grape::Entity instance methods #value_for child representations passes through the proc which returns an array of objects with custom options(:using) 0.0166 seconds ./spec/grape_entity/entity_spec.rb:1807 Grape::Entity instance methods #value_for child representations passes through the proc which returns single object with custom options(:using) 0.00892 seconds ./spec/grape_entity/entity_spec.rb:1828 Grape::Entity instance methods #inspect does not serialize delegator or options 0.00752 seconds ./spec/grape_entity/entity_spec.rb:1746 Grape::Entity class methods .expose with a block with no parameters passed to the block adds a nested exposure 0.00619 seconds ./spec/grape_entity/entity_spec.rb:435 Grape::Entity except option for nested entity 0.00591 seconds ./spec/grape_entity/hash_spec.rb:6 Grape::Entity::Exposure::RepresentExposure#setup sets using_class_name 0.00513 seconds ./spec/grape_entity/exposure/represent_exposure_spec.rb:14 Grape::Entity class methods .expose with a block with no parameters passed to the block does not represent nested.root_exposures whose conditions are not met 0.00478 seconds ./spec/grape_entity/entity_spec.rb:468 Grape::Entity class methods .expose option validation makes sure that :as only works on single attribute calls 0.00392 seconds ./spec/grape_entity/entity_spec.rb:26 Grape::Entity instance methods #serializable_hash #attr_path for all kinds of attributes 0.00349 seconds ./spec/grape_entity/entity_spec.rb:1637 Top 6 slowest example groups: Grape::Entity 0.00625 seconds average (0.00625 seconds / 1 example) ./spec/grape_entity/hash_spec.rb:5 Grape::Entity::Exposure::RepresentExposure 0.00234 seconds average (0.00701 seconds / 3 examples) ./spec/grape_entity/exposure/represent_exposure_spec.rb:5 Grape::Entity 0.00145 seconds average (0.25259 seconds / 174 examples) ./spec/grape_entity/entity_spec.rb:6 Grape::Entity::Exposure 0.00121 seconds average (0.01206 seconds / 10 examples) ./spec/grape_entity/exposure_spec.rb:5 Grape::Entity::Options 0.00076 seconds average (0.0038 seconds / 5 examples) ./spec/grape_entity/options_spec.rb:5 Grape::Entity::Exposure::NestingExposure::NestedExposures 0.00062 seconds average (0.00309 seconds / 5 examples) ./spec/grape_entity/exposure/nesting_exposure/nested_exposures_spec.rb:5 Finished in 0.29228 seconds (files took 1.31 seconds to load) 198 examples, 0 failures [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_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_ruby_fixdepends -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-entity: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package ruby-grape-entity: 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-entity' in '../ruby-grape-entity_0.10.1-3_all.deb'. dpkg-genbuildinfo --build=all -O../ruby-grape-entity_0.10.1-3_all.buildinfo dpkg-genchanges --build=all -O../ruby-grape-entity_0.10.1-3_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-entity-5lJ3Qa /tmp/ruby-grape-entity-0.10.1-3020ttt8_ I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.zERWqRZkdL... I: success in 2987.6724 seconds md5: ruby-grape-entity_0.10.1-3_all.deb: OK sha1: ruby-grape-entity_0.10.1-3_all.deb: OK sha256: ruby-grape-entity_0.10.1-3_all.deb: OK Checksums: OK