Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/r/ruby-factory-bot/ruby-factory-bot_5.1.1-1_all.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/ruby-factory-bot-5.1.1-1wzw8evi_/ruby-factory-bot_5.1.1-1_all.buildinfo Get source package info: ruby-factory-bot=5.1.1-1 Source URL: http://snapshot.notset.fr/mr/package/ruby-factory-bot/5.1.1-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.1-4 autopoint=0.19.8.1-10 autotools-dev=20180224.1 base-files=11 base-passwd=3.5.47 bash=5.0-5 binutils=2.34-1 binutils-common=2.34-1 binutils-x86-64-linux-gnu=2.34-1 bsdmainutils=11.1.2+b1 bsdutils=1:2.34-0.1 build-essential=12.8 bzip2=1.0.8-2 ca-certificates=20190110 coreutils=8.30-3+b1 cpp=4:9.2.1-3.1 cpp-9=9.2.1-25 dash=0.5.10.2-6 debconf=1.5.73 debhelper=12.9 debianutils=4.9.1 devscripts=2.20.1 dh-autoreconf=19 dh-strip-nondeterminism=1.6.3-2 diffutils=1:3.7-3 dirmngr=2.2.19-1 dpkg=1.19.7 dpkg-dev=1.19.7 dwz=0.13-5 fakeroot=1.24-1 fdisk=2.34-0.1 file=1:5.38-4 findutils=4.7.0-1 g++=4:9.2.1-3.1 g++-9=9.2.1-25 gcc=4:9.2.1-3.1 gcc-10-base=10-20200202-1 gcc-9=9.2.1-25 gcc-9-base=9.2.1-25 gem2deb=1.0.3 gem2deb-test-runner=1.0.3 gettext=0.19.8.1-10 gettext-base=0.19.8.1-10 gnupg=2.2.19-1 gnupg-l10n=2.2.19-1 gnupg-utils=2.2.19-1 gpg=2.2.19-1 gpg-agent=2.2.19-1 gpg-wks-client=2.2.19-1 gpg-wks-server=2.2.19-1 gpgconf=2.2.19-1 gpgsm=2.2.19-1 gpgv=2.2.19-1 grep=3.4-1 groff-base=1.22.4-4 gzip=1.9-3+b1 hostname=3.23 init-system-helpers=1.57 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-5 libarchive-zip-perl=1.67-1 libasan5=9.2.1-25 libassuan0=2.5.3-7 libatomic1=10-20200202-1 libattr1=1:2.4.48-5 libaudit-common=1:2.8.5-2 libaudit1=1:2.8.5-2+b1 libb-hooks-op-check-perl=0.22-1+b2 libbinutils=2.34-1 libblkid1=2.34-0.1 libbsd0=0.10.0-1 libbz2-1.0=1.0.8-2 libc-bin=2.29-9 libc-dev-bin=2.29-9 libc6=2.29-9 libc6-dev=2.29-9 libcap-ng0=0.7.9-2.1+b1 libcc1-0=10-20200202-1 libclass-method-modifiers-perl=2.13-1 libcroco3=0.6.13-1 libcrypt-dev=1:4.4.10-10 libcrypt1=1:4.4.10-10 libctf-nobfd0=2.34-1 libctf0=2.34-1 libdb5.3=5.3.28+dfsg1-0.6 libdebconfclient0=0.251 libdebhelper-perl=12.9 libdevel-callchecker-perl=0.008-1+b1 libdpkg-perl=1.19.7 libdynaloader-functions-perl=0.003-1 libelf1=0.176-1.1 libencode-locale-perl=1.05-1 libexpat1=2.2.9-1 libfakeroot=1.24-1 libfdisk1=2.34-0.1 libffi7=3.3-3 libfile-homedir-perl=1.004-1 libfile-listing-perl=6.04-1 libfile-stripnondeterminism-perl=1.6.3-2 libfile-which-perl=1.23-1 libgcc-9-dev=9.2.1-25 libgcc-s1=10-20200202-1 libgcc1=1:10-20200202-1 libgcrypt20=1.8.5-3 libgdbm-compat4=1.18.1-5 libgdbm6=1.18.1-5 libglib2.0-0=2.62.4-1+b1 libgmp-dev=2:6.2.0+dfsg-3 libgmp10=2:6.2.0+dfsg-3 libgmpxx4ldbl=2:6.2.0+dfsg-3 libgnutls30=3.6.11.1-2 libgomp1=10-20200202-1 libgpg-error0=1.36-7 libhogweed5=3.5.1+really3.5.1-2 libhtml-parser-perl=3.72-3+b4 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.18-1 libhttp-negotiate-perl=6.01-1 libicu63=63.2-2 libidn2-0=2.2.0-2 libimport-into-perl=1.002005-1 libio-html-perl=1.001-1 libio-pty-perl=1:1.12-1 libio-socket-ssl-perl=2.066-1 libipc-run-perl=20180523.0-2 libisl22=0.22-2 libitm1=10-20200202-1 libksba8=1.3.5-2 libldap-2.4-2=2.4.48+dfsg-1+b2 libldap-common=2.4.48+dfsg-1 liblsan0=10-20200202-1 liblwp-mediatypes-perl=6.04-1 liblwp-protocol-https-perl=6.07-2 liblz4-1=1.9.2-2 liblzma5=5.2.4-1+b1 libmagic-mgc=1:5.38-4 libmagic1=1:5.38-4 libmodule-runtime-perl=0.016-1 libmoo-perl=2.003006-1 libmount1=2.34-0.1 libmpc3=1.1.0-1 libmpdec2=2.4.2-2 libmpfr6=4.0.2-1 libncursesw6=6.1+20191019-1 libnet-http-perl=6.19-1 libnet-ssleay-perl=1.88-2 libnettle7=3.5.1+really3.5.1-2 libnpth0=1.6-1 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-12+b1 libperl5.30=5.30.0-9 libpipeline1=1.5.2-2 libpython3-stdlib=3.7.5-3 libpython3.7-minimal=3.7.6-1+b1 libpython3.7-stdlib=3.7.6-1+b1 libquadmath0=10-20200202-1 libreadline8=8.0-3 librole-tiny-perl=2.001004-1 libruby2.5=2.5.7-1+b1 libsasl2-2=2.1.27+dfsg-2 libsasl2-modules-db=2.1.27+dfsg-2 libseccomp2=2.4.2-2 libselinux1=3.0-1 libsemanage-common=3.0-1 libsemanage1=3.0-1 libsepol1=3.0-1 libsigsegv2=2.12-2 libsmartcols1=2.34-0.1 libsqlite3-0=3.31.1-1 libssl1.1=1.1.1d-2 libstdc++-9-dev=9.2.1-25 libstdc++6=10-20200202-1 libstrictures-perl=2.000006-1 libsub-override-perl=0.09-2 libsub-quote-perl=2.006006-1 libsystemd0=244.1-2 libtasn1-6=4.15.0-2 libtimedate-perl=2.3100-1 libtinfo6=6.1+20191019-1 libtool=2.4.6-11 libtry-tiny-perl=0.30-1 libtsan0=10-20200202-1 libubsan1=10-20200202-1 libuchardet0=0.0.6-3 libudev1=244.1-2 libunistring2=0.9.10-2 liburi-perl=1.76-1 libuuid1=2.34-0.1 libwww-perl=6.43-1 libwww-robotrules-perl=6.02-1 libxml2=2.9.4+dfsg1-8 libyaml-0-2=0.2.2-1 linux-libc-dev=5.4.13-1 login=1:4.8-1 lsb-base=11.1.0 m4=1.4.18-4 make=4.2.1-1.2 man-db=2.9.0-2 mawk=1.3.4.20200120-1 mime-support=3.64 ncurses-base=6.1+20191019-1 ncurses-bin=6.1+20191019-1 netbase=6.0 openssl=1.1.1d-2 passwd=1:4.8-1 patch=2.7.6-6 patchutils=0.3.4-2+b1 perl=5.30.0-9 perl-base=5.30.0-9 perl-modules-5.30=5.30.0-9 perl-openssl-defaults=4 pinentry-curses=1.1.0-3+b1 po-debconf=1.0.21 python3=3.7.5-3 python3-minimal=3.7.5-3 python3.7=3.7.6-1+b1 python3.7-minimal=3.7.6-1+b1 rake=12.3.3-1 readline-common=8.0-3 ruby=1:2.5.2 ruby-activemodel=2:5.2.3+dfsg-1 ruby-activerecord=2:5.2.3+dfsg-1 ruby-activesupport=2:5.2.3+dfsg-1 ruby-all-dev=1:2.5.2 ruby-arel=9.0.0-2 ruby-atomic=1.1.16-2+b8 ruby-concurrent=1.0.5-4 ruby-did-you-mean=1.2.1-1 ruby-diff-lcs=1.3-1 ruby-i18n=1.5.3-2 ruby-minitest=5.13.0-1 ruby-net-telnet=0.1.1-2 ruby-power-assert=1.1.1-1 ruby-rspec=3.8.0c0e1m0s0-1 ruby-rspec-core=3.8.0c0e1m0s0-1 ruby-rspec-expectations=3.8.0c0e1m0s0-1 ruby-rspec-its=1.3.0-1 ruby-rspec-mocks=3.8.0c0e1m0s0-1 ruby-rspec-support=3.8.0c0e1m0s0-1 ruby-setup=3.4.1-9 ruby-sqlite3=1.4.2-1 ruby-test-unit=3.3.4-1 ruby-thread-order=1.1.0-1 ruby-thread-safe=0.3.6-1 ruby-timecop=0.9.1-1 ruby-tzinfo=1.2.5-1 ruby-xmlrpc=0.3.0-2 ruby2.5=2.5.7-1+b1 ruby2.5-dev=2.5.7-1+b1 rubygems-integration=1.15 sed=4.7-1 sensible-utils=0.0.12+nmu1 sysvinit-utils=2.96-2.1 tar=1.30+dfsg-6+b1 tzdata=2019c-3 util-linux=2.34-0.1 wdiff=1.2.2-2+b1 xz-utils=5.2.4-1+b1 zlib1g=1:1.2.11.dfsg-1.1 --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/20200516T083831Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200202T210747Z/ 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-factory-bot=5.1.1-1 && mkdir -p /build/ruby-factory-bot-Irh0rM && dpkg-source --no-check -x /*.dsc /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1 && chown -R builduser:builduser /build/ruby-factory-bot-Irh0rM" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1580743172" dpkg-buildpackage -uc -a amd64 --build=all" --customize-hook=sync-out /build/ruby-factory-bot-Irh0rM /tmp/ruby-factory-bot-5.1.1-1wzw8evi_ bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20200202T210747Z 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.cbYHcVMxj5 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.cbYHcVMxj5 Reading package lists... Building dependency tree... util-linux is already the newest version (2.34-0.1). 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/20200202T210747Z unstable/main amd64 libfakeroot amd64 1.24-1 [45.7 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200202T210747Z 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 (1143 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 ... 4509 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.29-9) ... 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/20200516T083831Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20200202T210747Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.cbYHcVMxj5 Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20200516T083831Z unstable InRelease [146 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20200202T210747Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20200516T083831Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200516T083831Z unstable/main amd64 Packages Ign:6 http://snapshot.notset.fr/archive/debian/20200516T083831Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20200516T083831Z unstable/main amd64 Packages [11.2 MB] Fetched 33.9 MB in 32s (1049 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.cbYHcVMxj5 I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d ruby-factory-bot=5.1.1-1 && mkdir -p /build/ruby-factory-bot-Irh0rM && dpkg-source --no-check -x /*.dsc /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1 && chown -R builduser:builduser /build/ruby-factory-bot-Irh0rM"' exec /tmp/mmdebstrap.cbYHcVMxj5 Reading package lists... NOTICE: 'ruby-factory-bot' packaging is maintained in the 'Git' version control system at: https://salsa.debian.org/ruby-team/ruby-factory-bot.git Please use: git clone https://salsa.debian.org/ruby-team/ruby-factory-bot.git to retrieve the latest (possibly unreleased) updates to the package. Need to get 77.9 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-factory-bot 5.1.1-1 (dsc) [1571 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-factory-bot 5.1.1-1 (tar) [73.0 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main ruby-factory-bot 5.1.1-1 (diff) [3320 B] Fetched 77.9 kB in 0s (1183 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'ruby-factory-bot_5.1.1-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting ruby-factory-bot in /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1 dpkg-source: info: unpacking ruby-factory-bot_5.1.1.orig.tar.gz dpkg-source: info: unpacking ruby-factory-bot_5.1.1-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0002-remove-simplecov.patch dpkg-source: info: applying 0004-Fix-failing-tests-with-rails-5.2.patch I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1 && env DEB_BUILD_OPTIONS="parallel=4" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1580743172" dpkg-buildpackage -uc -a amd64 --build=all"' exec /tmp/mmdebstrap.cbYHcVMxj5 dpkg-buildpackage: info: source package ruby-factory-bot dpkg-buildpackage: info: source version 5.1.1-1 dpkg-buildpackage: info: source distribution unstable dpkg-buildpackage: info: source changed by Georg Faerber dpkg-source --before-build . debian/rules clean dh clean --buildsystem=ruby --with ruby dh_auto_clean -O--buildsystem=ruby dh_ruby --clean dh_ruby --clean dh_autoreconf_clean -O--buildsystem=ruby dh_clean -O--buildsystem=ruby rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ rm -f -- debian/ruby-factory-bot.substvars debian/files rm -fr -- debian/ruby-factory-bot/ debian/tmp/ find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a -name autom4te.cache -prune -exec rm -rf {} + \) \) 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 rm -f -- debian/ruby-factory-bot.substvars rm -fr -- debian/.debhelper/generated/ruby-factory-bot/ debian/ruby-factory-bot/ debian/tmp/ dh_auto_install -i -O--buildsystem=ruby install -d /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot dh_ruby --install /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot dh_ruby --install ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install files │ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/declaration_list.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/declaration_list.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/sequence.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/sequence.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/configuration.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/configuration.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/evaluation.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/evaluation.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/strategy_syntax_method_registrar.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/strategy_syntax_method_registrar.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/syntax.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/syntax.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/internal.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/internal.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/attribute/sequence.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/attribute/sequence.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/attribute/association.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/attribute/association.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/attribute/dynamic.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/attribute/dynamic.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/attribute_list.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/attribute_list.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/find_definitions.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/find_definitions.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/version.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/version.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/strategy/create.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/strategy/create.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/strategy/null.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/strategy/null.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/strategy/attributes_for.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/strategy/attributes_for.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/strategy/build.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/strategy/build.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/strategy/stub.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/strategy/stub.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/linter.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/linter.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/registry.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/registry.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/aliases.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/aliases.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/factory.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/factory.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/evaluator_class_definer.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/evaluator_class_definer.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/declaration.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/declaration.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/reload.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/reload.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/evaluator.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/evaluator.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/attribute.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/attribute.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/callbacks_observer.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/callbacks_observer.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/strategy_calculator.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/strategy_calculator.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/errors.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/errors.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/decorator.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/decorator.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/null_object.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/null_object.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/syntax/default.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/syntax/default.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/syntax/methods.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/syntax/methods.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/attribute_assigner.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/attribute_assigner.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/syntax_runner.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/syntax_runner.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/decorator/invocation_tracker.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/decorator/invocation_tracker.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/decorator/attribute_hash.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/decorator/attribute_hash.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/decorator/disallows_duplicates_registry.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/decorator/disallows_duplicates_registry.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/decorator/new_constructor.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/decorator/new_constructor.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/definition_hierarchy.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/definition_hierarchy.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/null_factory.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/null_factory.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/trait.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/trait.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/definition_proxy.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/definition_proxy.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/declaration/association.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/declaration/association.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/declaration/dynamic.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/declaration/dynamic.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/declaration/implicit.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/declaration/implicit.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/callback.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/callback.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/factory_runner.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/factory_runner.rb install -D -m644 /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/lib/factory_bot/definition.rb /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby/factory_bot/definition.rb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ └──────────────────────────────────────────────────────────────────────────────┘ generating gemspec at /build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/share/rubygems-integration/all/specifications/factory_bot-5.1.1.gemspec /usr/bin/ruby2.5 /usr/bin/gem2deb-test-runner ┌──────────────────────────────────────────────────────────────────────────────┐ │ Checking Rubygems dependency resolution on ruby2.5 │ └──────────────────────────────────────────────────────────────────────────────┘ GEM_PATH=debian/ruby-factory-bot/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/ruby/gems/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0 ruby2.5 -e gem\ \"factory_bot\" ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.5 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1/debian/ruby-factory-bot/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-factory-bot/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/ruby/gems/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0 ruby2.5 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.5 /usr/bin/rspec --pattern spec/\{\*_spec.rb,factory_bot/\*\*/\*_spec.rb\} --format documentation Randomized with seed 9050 FactoryBot::DefinitionProxy#transient makes all attributes added ignored FactoryBot::Factory running a factory creates the right strategy using the build class when running returns the result from the strategy when running calls the block and returns the result FactoryBot::Attribute should not be association name should eq :user FactoryBot::Internal default strategies and callbacks registers the attributes_for strategy by default registers the after_build by default registers the create strategy by default registers the build_stubbed strategy by default registers the after_stub by default registers the after_create by default registers the build strategy by default registers the after_create by default registers the null strategy by default .trait_by_name finds a previously registered trait .register_strategy register the provided strategy name with the class .register_factory returns the registered factory registers the provided factory .sequence_by_name finds a registered sequence .strategy_by_name finds a registered strategy .factory_by_name finds a registered factory .register_trait returns the registered trait registers the provided trait .register_sequence registers the provided sequence returns the registered sequence .rewind_sequences rewinds the sequences and the internal sequences .register_factory returns the registered factory registers the provided factory .factory_by_name finds a registered factory FactoryBot::Strategy::Stub it should behave like strategy with callbacks runs the callbacks [:after_stub] with the evaluation's object returns the object from the evaluation asking for a result should be persisted assigns created_at should not be new record should not be destroyed overriding persistence method: #increment! raises an informative error if the method is called overrides the method with any arity overriding persistence method: #delete raises an informative error if the method is called overrides the method with any arity overriding persistence method: #reload raises an informative error if the method is called overrides the method with any arity overriding persistence method: #update raises an informative error if the method is called overrides the method with any arity overriding persistence method: #update! overrides the method with any arity raises an informative error if the method is called overriding persistence method: #update_attribute raises an informative error if the method is called overrides the method with any arity overriding persistence method: #destroy! overrides the method with any arity raises an informative error if the method is called overriding persistence method: #destroy overrides the method with any arity raises an informative error if the method is called overriding persistence method: #save raises an informative error if the method is called overrides the method with any arity overriding persistence method: #toggle! raises an informative error if the method is called overrides the method with any arity overriding persistence method: #update_attributes overrides the method with any arity raises an informative error if the method is called overriding persistence method: #touch overrides the method with any arity raises an informative error if the method is called overriding persistence method: #update_column overrides the method with any arity raises an informative error if the method is called overriding persistence method: #connection overrides the method with any arity raises an informative error if the method is called overriding persistence method: #decrement! overrides the method with any arity raises an informative error if the method is called overriding persistence method: #save! raises an informative error if the method is called overrides the method with any arity overriding persistence method: #update_columns raises an informative error if the method is called overrides the method with any arity overriding persistence method: #update_attributes! overrides the method with any arity raises an informative error if the method is called it should behave like strategy with strategy: :build runs the factory with the correct overrides finds the factory with the correct factory name it should behave like strategy with association support runs the factory with the correct overrides finds the factory with the correct factory name FactoryBot::Declaration::Dynamic #== when the names are different the objects are NOT equal when the blocks are different the objects are NOT equal when one is ignored and the other isn't the objects are NOT equal when the attributes are equal the objects are equal when comparing against another type of object the objects are NOT equal FactoryBot::Attribute::Dynamic name should eq :first_name with a block returning a static value returns the value when executing the proc with a block returning a sequence raises a sequence abuse error with a block returning its block-level variable returns self when executing the proc with a block referencing an attribute on the attribute evaluates the attribute from the attribute FactoryBot::Factory creates a new factory while overriding the parent class has a factory name creates a new factory using the class of the parent guesses the build class from the factory name returns associations includes associations from the parent factory has a build class overriding an attribute with an alias discards the predefined value for the attribute uses the passed in value for the alias when overriding generated attributes with a hash overrides a symbol parameter with a string parameter returns the overridden value in the generated attributes FactoryBot::DefinitionProxy#association declares an association with options declares an association when passing a block raises an error FactoryBot::Factory when defined with a custom class build_class should eq Float FactoryBot::Factory when given a class that overrides #to_s sets build_class correctly FactoryBot::DefinitionProxy#add_attribute when the proxy ignores attributes declares a dynamic attribute on the factory FactoryBot::NullFactory should delegate :constructor should delegate :attributes should delegate :callbacks should delegate :defined_traits evaluator_class should eq FactoryBot::Evaluator attributes should be an instance of FactoryBot::AttributeList class_name should be nil compile should be nil FactoryBot::DefinitionProxy#add_attribute declares a dynamic attribute on the factory FactoryBot::DefinitionProxy#factory without options with options with a block FactoryBot finds a registered sequence finds a registered trait finds a registered factory finds a registered strategy .use_parent_strategy is true by default FactoryBot::Attribute::Association with a string name name should eq :name FactoryBot::Strategy::Build it should behave like strategy with association support finds the factory with the correct factory name runs the factory with the correct overrides it should behave like strategy with callbacks runs the callbacks [:after_build] with the evaluation's object returns the object from the evaluation it should behave like strategy with strategy: :build runs the factory with the correct overrides finds the factory with the correct factory name FactoryBot::Attribute::Association should be association builds the association when calling the proc builds the association when calling the proc name should eq :author FactoryBot::Factory when defined with a class instead of a name name should eq :argument_error build_class should eq ArgumentError FactoryBot::DeclarationList#declare_attribute when overridable adds the declaration to the list deletes declarations with the same name when not overridable adds the declaration to the list FactoryBot::DeclarationList#attributes defines each attribute on the attribute list returns an AttributeList FactoryBot::DefinitionProxy#trait declares a trait FactoryBot::Factory when defined with a custom class name build_class should eq ArgumentError definition loading with a factories file under spec/factories it should behave like finds definitions should load definitions from spec/factories/post_factory.rb with several factories files under test/factories it should behave like finds definitions should load definitions from test/factories/post_factory.rb should load definitions from test/factories/person_factory.rb with several factories files under spec/factories it should behave like finds definitions should load definitions from spec/factories/person_factory.rb should load definitions from spec/factories/post_factory.rb with several factories files under test/factories in non-alphabetical order loads the files in the right order with deeply nested factory files under spec it should behave like finds definitions should load definitions from spec/factories/subdirectory/person_factory.rb should load definitions from spec/factories/subdirectory/post_factory.rb with several factories files under spec/factories in non-alphabetical order loads the files in the right order with a factories file under test/factories it should behave like finds definitions should load definitions from test/factories/post_factory.rb with deeply nested factory files under test it should behave like finds definitions should load definitions from test/factories/subdirectory/person_factory.rb should load definitions from test/factories/subdirectory/post_factory.rb with nested and unnested factories files under test it should behave like finds definitions should load definitions from test/factories/post_factory.rb should load definitions from test/factories.rb should load definitions from test/factories/person_factory.rb with factories.rb it should behave like finds definitions should load definitions from factories.rb with a factories file under spec it should behave like finds definitions should load definitions from spec/factories.rb with nested and unnested factories files under spec it should behave like finds definitions should load definitions from spec/factories/person_factory.rb should load definitions from spec/factories.rb should load definitions from spec/factories/post_factory.rb with a factories file under test it should behave like finds definitions should load definitions from test/factories.rb FactoryBot::Attribute::Dynamic with a string name name should eq :name FactoryBot::DefinitionProxy#method_missing when called with a ':factory' key declares an association when called with a block declares a dynamic attribute when called without args or a block declares an implicit declaration when called with a static-attribute-like argument raises a NoMethodError FactoryBot::Factory human names factory name without underscores human_names should eq ["user"] names should eq [:user] factory name with underscores names should eq [:happy_user] human_names should eq ["happy user"] factory name with aliases human_names should eq ["happy user", "gleeful user", "person"] names should eq [:happy_user, :gleeful_user, :person] factory name with big letters names should eq [:LoL] human_names should eq ["lol"] FactoryBot::Strategy::AttributesFor does not run the to_create block returns the hash from the evaluation it should behave like strategy without association support returns nil when accessing an association FactoryBot::AttributeList#define_attribute with a named attribute list does not raise when the attribute is not a self-referencing association raises when the attribute is a self-referencing association FactoryBot::AttributeList generating names knows all its #names knows all its #names for #associations knows all its #names for #ignored attributes knows all its #names for #non_ignored attributes FactoryBot::Sequence a custom sequence without a block behaves like a sequence next should eq "A" when incrementing next should eq "B" after rewinding next should eq "A" a custom sequence and scope increments within the correct scope when incrementing increments within the correct scope after rewinding increments within the correct scope a basic sequence name should eq :test names should eq [:test] behaves like a sequence when incrementing next should eq "=2" next should eq "=1" after rewinding next should eq "=1" a custom sequence behaves like a sequence next should eq "=A" when incrementing next should eq "=B" after rewinding next should eq "=A" a sequence with custom value and aliases behaves like a sequence next should eq "=3" after rewinding next should eq "=3" when incrementing next should eq "=4" names should eq [:test, :alias, :other] a sequence with aliases using default value names should eq [:test, :alias, :other] behaves like a sequence when incrementing next should eq "=2" next should eq "=1" after rewinding next should eq "=1" iterating over items in an enumerator navigates to the next items until no items remain behaves like a sequence when incrementing next should eq "=bar" next should eq "=foo" after rewinding next should eq "=foo" a basic sequence without a block behaves like a sequence next should eq 1 when incrementing next should eq 2 after rewinding next should eq 1 FactoryBot::NullObject does not respond to other methods responds to the given methods FactoryBot aliases aliases for an attribute should include :test should include :test_id aliases for a foreign key should include :test should include :test_id aliases for an attribute starting with an underscore should not include :id FactoryBot::Factory for namespaced class with a namespaced class with namespace/class syntax sets build_class correctly with a namespaced class with Namespace::Class syntax sets build_class correctly FactoryBot::AttributeList#associations returns associations FactoryBot::EvaluatorClassDefiner sets attributes on the evaluator class evaluates the block in the context of the evaluator returns an evaluator when accessing the evaluator class only instance_execs the block once even when returning nil adds each attribute to the evaluator with a custom evaluator as a parent class bases its attribute lists on itself and its parent evaluator FactoryBot::Definition should delegate :declare_attribute adding callbacks maintains a list of callbacks #to_create returns the assigned value when given a block to_create should be nil with a name creates a new attribute list with the name passed #name returns the name #overridable sets the declaration list as overridable defining traits maintains a list of traits adds only unique traits FactoryBot after defining an alias should include :test_suffix_id should include :test FactoryBot::AttributeList#apply_attributes adds attributes in the order defined FactoryBot::Callback raises if an invalid callback name is assigned runs its block with two parameters has a name runs its block with no parameters runs its block with one parameter converts strings to symbols allows valid callback names to be assigned FactoryBot::Declaration::Implicit with a known sequence does not create an assocition attribute creates a sequence attribute #== when one is ignored and the other isn't the objects are NOT equal when the factories are different the objects are NOT equal when the names are different the objects are NOT equal when comparing against another type of object the objects are NOT equal when the attributes are equal the objects are equal with a known factory creates an association attribute has the correct factory name FactoryBot::DefinitionProxy#initialize_with defines the constructor on the definition FactoryBot::Decorator::AttributeHash #attributes returns a hash of attributes with an attribute called 'attributes' does not call itself recursively FactoryBot::StrategyCalculator when a symbol returns the strategy found finds the strategy by name when a class returns the class passed FactoryBot::Factory with a string for a name name should eq :string FactoryBot::Attribute::Sequence assigns the next value in the sequence name should eq :first_name FactoryBot::Declaration::Association #== when the attributes are equal the objects are equal when comparing against another type of object the objects are NOT equal when the names are different the objects are NOT equal when the options are different the objects are NOT equal FactoryBot::Decorator::DisallowsDuplicatesRegistry delegates #register to the registry when not registered raises when attempting to #register a previously registered strategy FactoryBot::Strategy::Create runs a custom create block it should behave like strategy with callbacks runs the callbacks [:after_build, :before_create, :after_create] with the evaluation's object returns the object from the evaluation it should behave like strategy with association support runs the factory with the correct overrides finds the factory with the correct factory name FactoryBot::Registry knows when an object is not registered iterates registered objects clears registered factories finds a registered object with square brackets finds a registered object raises when an object cannot be found knows that an object is registered by string knows that an object is registered by symbol does not include duplicate objects with registered under different names should be a kind of Enumerable adds and returns the object registered FactoryBot::AttributeList filter based on ignored attributes filters #non_ignored attributes filters #ignored attributes FactoryBot::DefinitionProxy adding callbacks #after(:stub) should have callback :after_stub #after(:create) should have callback :after_create #after(:stub, :create) should have callback :after_stub should have callback :after_create #callback(:after_stub, :before_create) should have callback :after_stub should have callback :before_create #after(:build) should have callback :after_build #before(:stub, :create) should have callback :before_create should have callback :before_stub FactoryBot::DefinitionProxy#to_create accepts a block to run in place of #save! FactoryBot::AttributeList#define_attribute returns the attribute raises if an attribute has already been defined maintains a list of attributes FactoryBot::Factory with a name ending in s name should eq :business build_class should eq Business FactoryBot::DefinitionProxy#sequence creates a new sequence with an overridden starting vaue creates a new sequence starting at 1 creates a new sequence with a block Finished in 1.36 seconds (files took 1.83 seconds to load) 307 examples, 0 failures Randomized with seed 9050 /usr/bin/ruby2.5 /usr/bin/rspec --pattern spec/acceptance/\*\*/\*_spec.rb --format documentation Randomized with seed 24841 a built instance with strategy: :create assigns and saves associations should be new record multiple creates and transient attributes to dynamically build attribute lists allows the number of posts to be modified generates the correct number of posts traits with to_create gives additional traits higher priority than to_create from the definition gives additional traits higher priority than base traits and factory definition can apply to_create from traits can apply to_create from the definition gives base traits normal priority gives base traits lower priority than overrides trait indifferent access when trait is defined as a string can be invoked with a string can be invoked with a symbol when trait is defined as struct can be invoked with a string can be invoked with a struct when trait is defined as integer can be invoked with as integer can be invoked with a string when trait is defined as a symbol can be invoked with a symbol can be invoked with a string register custom strategies allows overriding default strategies allows using the *_pair method to build a list using a custom strategy allows using the *_list method to build a list using a custom strategy allows adding additional strategies traits used in associations allows assigning traits for the factory of an association allows inline traits with a specific factory for an association allows inline traits with the default association calling `build_stubbed` with a block passes the stub instance returns the stub instance a custom create uses the custom create block instead of save initialize_with has access to all attributes for construction assigns attributes correctly syntax methods within dynamic attributes can access syntax methods from dynamic attributes allows syntax methods to be used when the block has an arity of 1 can access methods already existing on the class can access syntax methods from dynamic attributes a stubbed instance assigns associations and acts as if it is saved acts as if it came from the database implicit traits containing callbacks only runs the callback once skipping the default create doesn't execute anything when creating the instance calling `create` with a block passes the created instance returns the created instance finding factories keyed by class instead of symbol doesn't find the factory binding a callback to multiple callbacks does not bind the callback to building binds the callback to creation binds the callback to stubbing defaulting `created_at` allows assignment of created_at doesn't add created_at to objects who don't have the method behaves the same as a non-stubbed created_at allows overriding created_at for objects with created_at doesn't allow setting created_at on an object that doesn't define it is doesn't mark the object as changed defaults created_at for objects with created_at attributes defined using Symbol#to_proc assigns value with override correctly assigns overridden value correctly assigns values correctly an instance generated by a factory that inherits from another factory the parent class should not be admin name should eq "John" email should eq "john@example.com" login should eq "john@example.com" the child class redefining parent's attributes should be admin should be a kind of User(id: integer, name: string, admin: boolean, email: string, upper_email: string, login: string) login should eq "admin@example.com" name should eq "admin" upper_email should eq "ADMIN@EXAMPLE.COM" email should eq "admin@example.com" transient sequences increments sequences correctly defaulting `id` allows overriding id an instance generated by a factory named a camel case string registers the UserModel factory when a self-referential trait is defined raises a TraitDefinitionError raises a TraitDefinitionError transient attributes with a transient variable assigned generates the correct attributes on a groupie generates the correct attributes on a rockstar generates the correct attributes on a rockstar with a name generates the correct attributes on an upcased rockstar returning attributes for a factory should have key :name should not have key :rockstar should not have key :upcased should not have key :four should have key :email without transient variables assigned uses the default value of the attribute attribute overrides with a non-admin posting secure should be nil with no user posting secure should be nil with an admin posting secure should eq false making sure the factory is properly compiled the first time we want to instantiate it can honor traits on the very first call callbacks runs both the after(:build) and after(:create) callbacks when creating runs the after(:stub) callback when stubbing runs the after(:build) callback when building runs child callback after parent callback runs both the after(:stub) callback on the factory and the inherited after(:stub) callback initialize_with doesn't duplicate assignment on attributes accessed from initialize_with instantiates the correct object a custom create passing in an evaluator passes the evaluator to the custom create block modifying inherited factories with traits returns the correct value for overridden attributes from traits defining multiple attributes returns the correct value for overridden attributes from traits allows modification of attributes created via traits initialize_with non-ORM-backed objects allows for overrides generates random data initialize_with with FG attributes that are transient name should eq "Handsome Chap from .construct" assigning overrides that are also private methods on object y should eq 12345 format should eq "Great" some_funky_method should eq "foobar!" more_format should eq "format: Great" calling `attributes_for` with a block passes the hash of attributes returns the hash of attributes an instance generated by a factory with multiple traits child factory using grandparents' trait great should eq "GREAT!!!" the child with multiple traits should be admin name should eq "Jane" gender should eq "Female" the child with multiple traits who override the same attribute when the female assigns name after male should be admin name should eq "Jane" gender should eq "Female" when the male assigns name after female should be admin name should eq "Joe" gender should eq "Male" the child class with one trait should be admin name should eq "John" gender should be nil the parent class should not be admin gender should be nil name should eq "John" factory using global trait name should eq "Bill" email should eq "Bill@example.com" factory outside of scope raises an error the other child class with one trait should not be admin name should eq "Jane" gender should eq "Female" the child with multiple traits and overridden attributes should be admin name should eq "Jill" gender should be nil child class with scoped trait and inherited trait should be admin gender should eq "Female" name should eq "Judy" factory created with alternate syntax for specifying trait gender should eq "Male" where trait name and attribute are the same and attribute is overridden great should eq "SORT OF!!!" where trait name and attribute are the same great should eq "GREAT!!!" factory with trait defined multiple times great should eq "GREAT!!!" child factory redefining trait great should eq "EVEN GREATER!!!" child factory created where trait attributes are inherited gender should eq "Male" date_of_birth should eq Sat, 01 Jan 2000 traits added via strategy adding traits in create doesn't modify the user factory name should eq "JOE" admin should equal true adding traits in attributes_for [:name] should eq "John" [:admin] should equal true adding traits in build_stubbed admin should equal true name should eq "Jack" adding traits in create_list creates all the records length should eq 2 adding traits in build_list builds all the records length should eq 2 adding traits in build name should eq "Joe" admin should equal true inline traits overriding existing attributes prefers inline trait attributes over default attributes prefers inline traits over attributes on factories prefers inline trait attributes over traits on a factory prefers traits on a factory over default attributes prefers overridden attributes over attributes from traits, inline traits, or attributes on factories returns the default status prefers attributes on factories over attributes from non-inline traits create multiple instances without default attributes uses the default factory values creates all the posts length should eq 20 with a block uses the new values with default attributes overrides the default values without the count raise ArgumentError with the proper error message callbacks using Symbol#to_proc runs the callback correctly defining a child factory before a parent creates admin factories correctly accessing methods from the instance within a dynamic attribute that is also a private method on object more_format should eq "format: This is an awesome format" calling `build` with a block passes the built instance returns the built instance aliases and overrides one should eq "override" two should be nil global skip_create does not persist any record does not persist child records honors overridden to_create honors inline trait to_create a created instance should not be new record assigns and saves associations associations without overriding :strategy when the :use_parent_strategy config option is set to true uses the parent strategy on the association when the :use_parent_strategy config option is set to false uses the overridden strategy on the association global to_create handles child to_create with trait handles inline trait override handles base to_create uses to_create globally across FactoryBot.define handles child to_create a created instance, specifying strategy: :build saves associations (strategy: :build only affects build, not create) including FactoryBot::Syntax::Methods when custom strategies have been declared allows adding additional strategies defining methods inside FactoryBot raises with a meaningful message global callbacks triggers after build callbacks for all factories FactoryBot.rewind_sequences does not collide with globally registered factories still allows global sequences prefixed with a factory name resets inline sequences back to their starting value resets all sequences back to their starting values allows setting sequences within identically named traits traits and dynamic attributes that are applied simultaneously combined should eq "John " name should eq "John" email should eq "John@example.com" global initialize_with handles child initialize_with handles inline trait override handles child initialize_with with trait uses initialize_with globally across FactoryBot.define handles base initialize_with a generated attributes hash assigns a default value doesn't assign associations assigns an overridden value assigns a lazy, dependent attribute a stubbed instance overriding strategy assigns associations and acts as if it is saved acts as if it is saved in the database traits with callbacks executes callbacks in the order assigned when the factory has an implicit trait name should eq "JOHN" when the factory has a trait passed via arguments name should eq "JOHN" nested factories with different parents honors :parent over the factory block nesting defaulting `updated_at` behaves the same as a non-stubbed updated_at allows assignment of updated_at is doesn't mark the object as changed allows overriding updated_at for objects with updated_at doesn't add updated_at to objects who don't have the method doesn't allow setting updated_at on an object that doesn't define it defaults updated_at for objects with updated_at an instance generated by a factory with a custom class name should be admin should be a kind of User(id: integer, admin: boolean) calling methods on the model instance without the attribute being overridden doesn't instantiate a record with attributes_for returns the correct value from the instance returns nil during attributes_for with the referenced attribute being overridden uses the overridden value during attributes_for uses the overridden value with the attribute being overridden uses the overridden value during attributes_for uses the overridden value sequences are evaluated in the correct context builds a sequence calling sprintf correctly invokes the correct method on the instance allows direct reference of a method in a sequence invokes a method with no arguments on the instance `attributes_for` for a class whose constructor has required params [:name] should eq "John Doe" association assignment from nested attributes assigns the correct amount of comments when overridden assigns the correct amount of comments applying inline traits applies traits only to the instance generated for that call declaring attributes on a Factory that are private methods on Object link should eq "http://example.com" sleep should eq -5 system should eq false FactoryBot.lint raises when a factory is invalid does not raise when all factories are valid allows for selective linting trait validation disabled does not raises if a trait produces an invalid object enabled raises if a trait produces an invalid object does not raise if a trait produces a valid object factory strategy for linting uses the requested strategy during trait validation uses the requested strategy verbose linting prints the backtrace for each factory error create multiple instances without default attributes uses the default factory values creates all the posts length should eq 2 initialize_with with non-FG attributes age should eq 21 name should eq "John Doe" build multiple instances with a block correctly uses the set value without default attributes builds (but doesn't save) all the posts uses the default factory values length should eq 20 with default attributes overrides the default values traits with initialize_with gives base traits lower priority than overrides can apply initialize_with from traits gives additional traits higher priority than initialize_with from the definition gives additional traits higher priority than base traits and factory definition can apply initialize_with from the definition gives base traits normal priority modifying factories allows for overriding child classes raises an exception if the factory was not defined before doesn't overwrite already defined child's attributes simple modification does allow the factory to be subsequently modified doesn't allow the factory to be subsequently defined name should eq "Great User" login should eq "GREAT USER" redefining attributes creating user overriding the email name should eq "Great User" email should eq "perfect@example.com" without overrides email should eq "Great User-modified@example.com" name should eq "Great User" overriding the name email should eq "wonderful-modified@example.com" name should eq "wonderful" creating admin overriding the email name should eq "Great User" admin should equal true email should eq "perfect@example.com" without overrides email should eq "Great User-modified@example.com" admin should equal true name should eq "Great User" overriding the name admin should equal true name should eq "wonderful" email should eq "wonderful-modified@example.com" reusing traits name should eq "Johnny Rockstar!!!" login should eq "JOHNNY ROCKSTAR!!!" email should eq "Johnny Rockstar!!!@example.com" adding callbacks login should be nil name should eq "great user" nested implicit traits defined inside the factory it should behave like assigning data from traits assigns the correct values defined outside the factory it should behave like assigning data from traits assigns the correct values attribute aliases assigning an association by foreign key doesn't assign both an association and its foreign key assigning an association by passing factory assigns attributes correctly looking up traits that don't exist raises a KeyError associations when accidentally using an implicit delcaration for the factory raises an error about the trait not being registered a stubbed instance with no primary key builds a stubbed instance behaves like a persisted record a generated attributes hash where order matters factory with a parent assigns attributes in the order they're defined factory without a parent assigns attributes in the order they're defined without a parent class a built instance should be new record when the :use_parent_strategy config option is set to true assigns but does not save associations when the :use_parent_strategy config option is set to false assigns and saves associations sequences generates several values in the correct format generates aliases for the sequence that reference the same block and retains value generates few values of the sequence generates sequential numbers if no block is given generates aliases for the sequence that reference the same block initialize_with for a constructor that requires a block executes the block correctly reload does not reset the value of use_parent_strategy using ActiveSupport::Instrumentation to track factory interaction builds the correct payload tracks proper time of creating the record associations overriding :strategy uses the overridden create strategy to create the association custom callbacks runs a custom callback without prepending before or after when the proper strategy executes runs a custom after callback when the proper strategy executes runs a custom before callback when the proper strategy executes an instance generated by a factory registers the user factory initialize_with implicit constructor instantiates the correct object callbacks using syntax methods without referencing FactoryBot explicitly works when the callback has two variables works when the callback has one variable works when the callback has no variables assigning values from a transient attribute does not ignore an _id attribute that is an alias for a transient attribute setting private attributes raises a NoMethodError initialize_with with an 'attributes' attribute assigns attributes correctly a generated stub instance disables decrement! generates unique ids isn't a new record disables save has an id disables update_attribute assigns an overridden attribute disables connection disables increment! allows decrement allows increment assigns associations that aren't new records assigns associations allows toggle disables reload disables destroy assigns a default attribute disables toggle! isn't changed initialize_with parent and child factories uses the parent's constructor when the child factory doesn't assign it allows child factories to override initialize_with Finished in 6.26 seconds (files took 1.17 seconds to load) 343 examples, 0 failures Randomized with seed 24841 ┌──────────────────────────────────────────────────────────────────────────────┐ │ dh_ruby --install finished │ └──────────────────────────────────────────────────────────────────────────────┘ dh_installdocs -i -O--buildsystem=ruby install -d debian/ruby-factory-bot/usr/share/doc/ruby-factory-bot install -d debian/.debhelper/generated/ruby-factory-bot cp --reflink=auto -a ./NAME.md debian/ruby-factory-bot/usr/share/doc/ruby-factory-bot cp --reflink=auto -a ./README.md debian/ruby-factory-bot/usr/share/doc/ruby-factory-bot chmod -R u\+rw,go=rX debian/ruby-factory-bot/usr/share/doc install -p -m0644 debian/copyright debian/ruby-factory-bot/usr/share/doc/ruby-factory-bot/copyright dh_ruby_fixdocs -i -O--buildsystem=ruby debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1' dh_installchangelogs NEWS.md install -p -m0644 debian/changelog debian/ruby-factory-bot/usr/share/doc/ruby-factory-bot/changelog.Debian install -p -m0644 NEWS.md debian/ruby-factory-bot/usr/share/doc/ruby-factory-bot/changelog make[1]: Leaving directory '/build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1' 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 cd debian/ruby-factory-bot chmod a-x usr/share/doc/ruby-factory-bot/changelog usr/share/doc/ruby-factory-bot/changelog.Debian gzip -9nf usr/share/doc/ruby-factory-bot/changelog usr/share/doc/ruby-factory-bot/changelog.Debian cd '/build/ruby-factory-bot-Irh0rM/ruby-factory-bot-5.1.1' dh_fixperms -i -O--buildsystem=ruby find debian/ruby-factory-bot ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s find debian/ruby-factory-bot/usr/share/doc -type f -a -true -a ! -regex 'debian/ruby-factory-bot/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 find debian/ruby-factory-bot/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 find debian/ruby-factory-bot -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/ruby-factory-bot/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w dh_missing -i -O--buildsystem=ruby dh_installdeb -i -O--buildsystem=ruby install -d debian/ruby-factory-bot/DEBIAN dh_gencontrol -i -O--buildsystem=ruby echo misc:Depends= >> debian/ruby-factory-bot.substvars echo misc:Pre-Depends= >> debian/ruby-factory-bot.substvars dpkg-gencontrol -pruby-factory-bot -ldebian/changelog -Tdebian/ruby-factory-bot.substvars -Pdebian/ruby-factory-bot -UMulti-Arch dpkg-gencontrol: warning: Depends field of package ruby-factory-bot: substitution variable ${shlibs:Depends} used, but is not defined dpkg-gencontrol: warning: package ruby-factory-bot: substitution variable ${ruby:Depends} unused, but is defined chmod 0644 -- debian/ruby-factory-bot/DEBIAN/control dh_md5sums -i -O--buildsystem=ruby cd debian/ruby-factory-bot >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/ruby-factory-bot/DEBIAN/md5sums dh_builddeb -i -O--buildsystem=ruby dpkg-deb --root-owner-group --build debian/ruby-factory-bot .. dpkg-deb: building package 'ruby-factory-bot' in '../ruby-factory-bot_5.1.1-1_all.deb'. dpkg-genbuildinfo --build=all dpkg-genchanges --build=all >../ruby-factory-bot_5.1.1-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-factory-bot-Irh0rM /tmp/ruby-factory-bot-5.1.1-1wzw8evi_ I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.cbYHcVMxj5... I: success in 400.6039 seconds md5: ruby-factory-bot_5.1.1-1_all.deb: OK sha1: ruby-factory-bot_5.1.1-1_all.deb: OK sha256: ruby-factory-bot_5.1.1-1_all.deb: OK Checksums: OK