Diff of the two buildlogs: -- --- b1/build.log 2020-08-15 08:41:51.689527322 +0000 +++ b2/build.log 2020-08-15 08:44:00.417543943 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Aug 14 20:32:47 -12 2020 -I: pbuilder-time-stamp: 1597480367 +I: Current time: Sat Aug 15 22:42:01 +14 2020 +I: pbuilder-time-stamp: 1597480921 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Wed Aug 12 03:08:37 2015 -12 +gpgv: Signature made Thu Aug 13 05:08:37 2015 +14 gpgv: using RSA key 89AF82B739CD217A gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-coercible_1.0.0-2.dsc @@ -30,136 +30,170 @@ dpkg-source: info: applying rspec3.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2583/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1067/tmp/hooks/D01_modify_environment starting +debug: Running on bbx15. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/1067/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1067/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=2' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='1c746bb992874bd69784c5865a238fde' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2583' - PS1='# ' - PS2='> ' + INVOCATION_ID=2ae10de362ad480dbd441a82a6b7a3dd + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=1067 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.Dvfvd2wGR2/pbuilderrc_YQY6 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Dvfvd2wGR2/b1 --logfile b1/build.log ruby-coercible_1.0.0-2.dsc' - SUDO_GID='114' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.Dvfvd2wGR2/pbuilderrc_22f7 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.Dvfvd2wGR2/b2 --logfile b2/build.log ruby-coercible_1.0.0-2.dsc' + SUDO_GID=116 + SUDO_UID=111 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux jtx1b 4.19.0-10-arm64 #1 SMP Debian 4.19.132-1 (2020-07-24) aarch64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-10-armmp-lpae #1 SMP Debian 4.19.132-1 (2020-07-24) armv7l GNU/Linux I: ls -l /bin total 3328 - -rwxr-xr-x 1 root root 767656 Apr 17 2019 bash - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 9636 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 22432 Feb 28 2019 cat - -rwxr-xr-x 1 root root 38868 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 38836 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 42972 Feb 28 2019 chown - -rwxr-xr-x 1 root root 88376 Feb 28 2019 cp - -rwxr-xr-x 1 root root 75516 Jan 17 2019 dash - -rwxr-xr-x 1 root root 71648 Feb 28 2019 date - -rwxr-xr-x 1 root root 51212 Feb 28 2019 dd - -rwxr-xr-x 1 root root 55672 Feb 28 2019 df - -rwxr-xr-x 1 root root 88444 Feb 28 2019 dir - -rwxr-xr-x 1 root root 54872 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 22364 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 18260 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 47356 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 21980 Apr 22 07:38 fusermount - -rwxr-xr-x 1 root root 124508 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 64232 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 13784 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 43044 Feb 28 2019 ln - -rwxr-xr-x 1 root root 34932 Jul 26 2018 login - -rwxr-xr-x 1 root root 88444 Feb 28 2019 ls - -rwxr-xr-x 1 root root 67036 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 47168 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 43040 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 26552 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 26024 Jan 9 2019 more - -rwsr-xr-x 1 root root 34268 Jan 9 2019 mount - -rwxr-xr-x 1 root root 9688 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 84284 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 22416 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 26504 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 42968 Feb 28 2019 rm - -rwxr-xr-x 1 root root 26496 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 14136 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 11 20:38 sh -> dash - -rwxr-xr-x 1 root root 22384 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 51124 Feb 28 2019 stty - -rwsr-xr-x 1 root root 42472 Jan 9 2019 su - -rwxr-xr-x 1 root root 22392 Feb 28 2019 sync - -rwxr-xr-x 1 root root 283324 Apr 23 2019 tar - -rwxr-xr-x 1 root root 9808 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 63464 Feb 28 2019 touch - -rwxr-xr-x 1 root root 18260 Feb 28 2019 true - -rwxr-xr-x 1 root root 9636 Apr 22 07:38 ulockmgr_server - -rwsr-xr-x 1 root root 21976 Jan 9 2019 umount - -rwxr-xr-x 1 root root 22380 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 88444 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 21980 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/2583/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 767656 Apr 18 2019 bash + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 9636 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 22432 Mar 1 2019 cat + -rwxr-xr-x 1 root root 38868 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 38836 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 42972 Mar 1 2019 chown + -rwxr-xr-x 1 root root 88376 Mar 1 2019 cp + -rwxr-xr-x 1 root root 75516 Jan 18 2019 dash + -rwxr-xr-x 1 root root 71648 Mar 1 2019 date + -rwxr-xr-x 1 root root 51212 Mar 1 2019 dd + -rwxr-xr-x 1 root root 55672 Mar 1 2019 df + -rwxr-xr-x 1 root root 88444 Mar 1 2019 dir + -rwxr-xr-x 1 root root 54872 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 22364 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 18260 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 47356 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 21980 Apr 23 09:38 fusermount + -rwxr-xr-x 1 root root 124508 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 64232 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 13784 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 43044 Mar 1 2019 ln + -rwxr-xr-x 1 root root 34932 Jul 27 2018 login + -rwxr-xr-x 1 root root 88444 Mar 1 2019 ls + -rwxr-xr-x 1 root root 67036 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 47168 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 43040 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 26552 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 26024 Jan 10 2019 more + -rwsr-xr-x 1 root root 34268 Jan 10 2019 mount + -rwxr-xr-x 1 root root 9688 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 84284 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 22416 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 26504 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 42968 Mar 1 2019 rm + -rwxr-xr-x 1 root root 26496 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 14136 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Aug 15 22:42 sh -> bash + lrwxrwxrwx 1 root root 4 Aug 15 22:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 22384 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 51124 Mar 1 2019 stty + -rwsr-xr-x 1 root root 42472 Jan 10 2019 su + -rwxr-xr-x 1 root root 22392 Mar 1 2019 sync + -rwxr-xr-x 1 root root 283324 Apr 24 2019 tar + -rwxr-xr-x 1 root root 9808 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 63464 Mar 1 2019 touch + -rwxr-xr-x 1 root root 18260 Mar 1 2019 true + -rwxr-xr-x 1 root root 9636 Apr 23 09:38 ulockmgr_server + -rwsr-xr-x 1 root root 21976 Jan 10 2019 umount + -rwxr-xr-x 1 root root 22380 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 88444 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 21980 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/1067/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -344,7 +378,7 @@ Get: 137 http://deb.debian.org/debian buster/main armhf ruby-rspec-core all 3.8.0c0e1m0s0-1 [190 kB] Get: 138 http://deb.debian.org/debian buster/main armhf ruby-rspec all 3.8.0c0e1m0s0-1 [7620 B] Get: 139 http://deb.debian.org/debian buster/main armhf ruby-rspec-its all 1.2.0-3 [6296 B] -Fetched 40.9 MB in 6s (6642 kB/s) +Fetched 40.9 MB in 4s (9163 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:armhf. (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 ... 18932 files and directories currently installed.) @@ -932,7 +966,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-coercible-1.0.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-coercible-1.0.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b dpkg-buildpackage: info: source package ruby-coercible dpkg-buildpackage: info: source version 1.0.0-2 dpkg-buildpackage: info: source distribution unstable @@ -984,27 +1018,27 @@ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer.rb -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/version.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/version.rb install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/configuration.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/configuration.rb -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/support/options.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/support/options.rb -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/support/type_lookup.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/support/type_lookup.rb -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/array.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/array.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/version.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/version.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/false_class.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/false_class.rb install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/integer.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/integer.rb -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/object.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/object.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/float.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/float.rb install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/symbol.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/symbol.rb -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/time_coercions.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/time_coercions.rb -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/numeric.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/numeric.rb -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/true_class.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/true_class.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/array.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/array.rb install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/string.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/string.rb -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/date.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/date.rb -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/time.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/time.rb -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/date_time.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/date_time.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/true_class.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/true_class.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/time_coercions.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/time_coercions.rb install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/decimal.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/decimal.rb -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/false_class.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/false_class.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/object.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/object.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/time.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/time.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/date.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/date.rb install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/hash.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/hash.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/numeric.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/numeric.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/date_time.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/date_time.rb install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/configurable.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/configurable.rb -install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer/float.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer/float.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/support/options.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/support/options.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/support/type_lookup.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/support/type_lookup.rb +install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible/coercer.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible/coercer.rb install -D -m644 /build/ruby-coercible-1.0.0/lib/coercible.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/coercible.rb install -D -m644 /build/ruby-coercible-1.0.0/lib/support/options.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/support/options.rb install -D -m644 /build/ruby-coercible-1.0.0/lib/support/type_lookup.rb /build/ruby-coercible-1.0.0/debian/ruby-coercible/usr/lib/ruby/vendor_ruby/support/type_lookup.rb @@ -1026,488 +1060,512 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 11861 - -Coercible::Coercer::Hash.to_datetime - when time segments are strings - should be an instance of DateTime - should eql # - when time segments are integers - should eql # - should be an instance of DateTime - when time segments are missing - should be an instance of DateTime - uses the Time now to populate the segments +Randomized with seed 388 -Coercible::Coercer::Object.to_string - when the value responds to #to_str - should equal # - when the value does not respond to #to_str +Coercible::Coercer::String.to_datetime + with a valid date string + not including time part + it should behave like a correct datetime object + should be an instance of DateTime + sec + should == 0 + month + should == 7 + year + should == 2011 + day + should == 22 + min + should == 0 + hour + should == 0 + including time part + it should behave like a correct datetime object + should be an instance of DateTime + month + should == 7 + year + should == 2011 + min + should == 44 + day + should == 22 + hour + should == 13 + sec + should == 50 + with an invalid date time string should raise Coercible::UnsupportedCoercion -Configuring coercers -WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-coercible-1.0.0/spec/integration/configuring_coercers_spec.rb:12:in `block (2 levels) in '. - allows to configure coercers +Coercible::Coercer::Configurable.config_name + should equal :test Coercible::Coercer::Integer.to_float - should eql 1.0 should be an instance of Float + should eql 1.0 -Coercible::Coercer::String.to_integer - with ".1" - should be a kind of Integer - should eql 0 - with "-1.0e-1" - should eql 0 - should be a kind of Integer - with "+1.0E+1" - should eql 10 - should be a kind of Integer - with "1.7976931348623158e+307" - should be a kind of Integer - should eql 17976931348623157580412819756850388593900235011794141176754562789180111453639664485361928830517704263...0189893797509826303293149283469713429932049693599732425511693654044437030940398714664210204414967808 - with "-1.0e+1" - should be a kind of Integer - should eql -10 - string starts with e - should raise Coercible::UnsupportedCoercion - with "-1" - should eql -1 - should be a kind of Integer - with an invalid integer string - should raise Coercible::UnsupportedCoercion - with "1.0e+1" - should eql 10 - should be a kind of Integer - with "-1.0" - should be a kind of Integer - should eql -1 - with "1" - should eql 1 - should be a kind of Integer - with "1e1" - should be a kind of Integer - should eql 10 - with ".1e-1" - should eql 0 - should be a kind of Integer - when integer string is big - should == 334490140000101135 - with "1E+1" - should be a kind of Integer - should eql 10 - with ".1E-1" - should be a kind of Integer - should eql 0 - with "1.0" - should eql 1 - should be a kind of Integer - with "-1e-1" - should be a kind of Integer - should eql 0 - with "+1e-1" - should be a kind of Integer - should eql 0 - with "1.0E+1" - should eql 10 - should be a kind of Integer - with ".1E+1" - should be a kind of Integer - should eql 1 - with "-1E1" - should eql -10 - should be a kind of Integer - with "+1.0E-1" - should be a kind of Integer - should eql 0 - with "+1.0" - should eql 1 - should be a kind of Integer - with "-1.0E+1" - should eql -10 - should be a kind of Integer - with "-1.0E-1" - should eql 0 - should be a kind of Integer - with "+1.0e-1" - should eql 0 - should be a kind of Integer - with ".1e+1" - should be a kind of Integer - should eql 1 - with "1.0E-1" - should eql 0 - should be a kind of Integer - with "2.2250738585072014e-308" - should be a kind of Integer - should eql 0 - with "+1" - should be a kind of Integer - should eql 1 - with "1.0e-1" - should eql 0 - should be a kind of Integer - with "+1.0e+1" - should be a kind of Integer - should eql 10 +Coercible::Coercer::Float#coerced? + behaves like Coercible::Coercer#coerced? + with a primitive value + should equal true + with a non-primitive value + should equal false -Coercible::Coercer::String.to_decimal - with "+1.0e+1" - should eql 0.1e2 - should be an instance of BigDecimal - with "-1.0E+1" - should be an instance of BigDecimal - should eql -0.1e2 - with "1" - should be an instance of BigDecimal - should eql 0.1e1 - with "1.0e+1" - should eql 0.1e2 - should be an instance of BigDecimal - with ".1E+1" - should be an instance of BigDecimal - should eql 0.1e1 - with "1.0" - should eql 0.1e1 - should be an instance of BigDecimal - with "1.0e-1" - should be an instance of BigDecimal - should eql 0.1e0 - with "+1.0e-1" - should be an instance of BigDecimal - should eql 0.1e0 - with ".1e+1" - should eql 0.1e1 - should be an instance of BigDecimal - with ".1E-1" - should eql 0.1e-1 - should be an instance of BigDecimal - with an invalid decimal string +Coercible::Coercer::Object.to_integer + when the value does not respond to #to_int should raise Coercible::UnsupportedCoercion - with "-1" - should eql -0.1e1 - should be an instance of BigDecimal - with "-1.0e+1" - should be an instance of BigDecimal - should eql -0.1e2 - with "-1.0" - should eql -0.1e1 - should be an instance of BigDecimal - with "+1.0E-1" - should be an instance of BigDecimal - should eql 0.1e0 - with "1.0E-1" - should eql 0.1e0 - should be an instance of BigDecimal - with "1.0E+1" - should be an instance of BigDecimal - should eql 0.1e2 - with "-1.0E-1" - should be an instance of BigDecimal - should eql -0.1e0 - with "+1.0" - should eql 0.1e1 - should be an instance of BigDecimal - with "-1.0e-1" - should eql -0.1e0 - should be an instance of BigDecimal - with ".1" - should eql 0.1e0 - should be an instance of BigDecimal - with "+1.0E+1" - should be an instance of BigDecimal - should eql 0.1e2 - with ".1e-1" - should eql 0.1e-1 - should be an instance of BigDecimal - with "+1" - should be an instance of BigDecimal - should eql 0.1e1 + when the value responds to #to_int + should equal # -Coercible::Coercer::Time.to_time - should equal 0, 0, 0, 1, 1, 2012, 0, 1, false, and "UTC" +Coercible::Coercer::String#coerced? + behaves like Coercible::Coercer#coerced? + with a non-primitive value + should equal false + with a primitive value + should equal true -Coercible::Coercer::Integer#datetime_proc - with Rubinius - should be an instance of Proc - with other Ruby VMs - should be an instance of Proc +Coercible::Coercer::TrueClass.to_string + should be an instance of String + should eql "true" -Coercible::Coercer::TimeCoercions.to_date - when the value responds to #to_date - should eql # +Coercible::Coercer::Time.to_integer + should eql 1597481024 + +Coercible::Coercer::Object.to_string + when the value responds to #to_str + should equal # + when the value does not respond to #to_str + should raise Coercible::UnsupportedCoercion + +Coercible::Coercer::Hash.to_date + when time segments are missing + uses the Time now to populate the segments should be an instance of Date - when the value does not respond to #to_date + when time segments are strings should be an instance of Date should eql # + when time segments are integers + should eql # + should be an instance of Date -Coercible::Coercer::Float.to_decimal - should be an instance of BigDecimal - should eql 0.1e1 +Coercible::Coercer::String.to_symbol + should equal :value + +Coercible::Coercer::String.to_date + with a valid date string + should be an instance of Date + day + should == 22 + month + should == 7 + year + should == 2011 + with an invalid date string + should raise Coercible::UnsupportedCoercion + +Coercible::Coercer::String.to_constant + with a namespaced qualified name + should equal Coercible::Coercer::String + with a non-namespaced qualified name + should equal String + with a namespaced name + should equal Coercible::Coercer::String + when the name is invalid + should raise NameError + when the name is unknown + should raise NameError + with a name outside of the namespace + should raise NameError + with a non-namespaced name + should equal String + +Coercible::Coercer::Symbol#coerced? + behaves like Coercible::Coercer#coerced? + with a non-primitive value + should equal false + with a primitive value + should equal true + +Coercible::Coercer::Array#coerced? + behaves like Coercible::Coercer#coerced? + with a non-primitive value + should equal false + with a primitive value + should equal true + +Coercible::Coercer::Integer.to_string + should be an instance of String + should eql "1" + +Coercible::Coercer::Decimal#coerced? + behaves like Coercible::Coercer#coerced? + with a non-primitive value + should equal false + with a primitive value + should equal true + +Coercible::Coercer::Object.to_array + when the value responds to #to_ary + does not call #to_a if #to_ary is available + should equal # + when the value does not respond to #to_ary or #to_a + should == [#] + should be an instance of Array + when the value returns nil from #to_ary + calls #to_a as a fallback + wraps the value in an Array if #to_a is not available + when the value responds to #to_a but not #to_ary + should equal # + +Coercible::Coercer::Integer#to_datetime + should eql "2013-02-16 17:44:32.000" Coercible::Coercer::TimeCoercions.to_string should eql "2011-01-01" should be an instance of String +Coercible::Coercer::TimeCoercions.to_datetime + when the value does not respond to #to_datetime + should be an instance of DateTime + should eql # + when the value responds to #to_datetime + should eql # + should be an instance of DateTime + Coercible::Coercer::String.to_float - with "+1.0" - should eql 1.0 + with "-1" + should eql -1.0 should be an instance of Float - with "1.0e+1" + with "+1e-1" + should eql 0.1 + should be an instance of Float + with "-1e-1" + should eql -0.1 + should be an instance of Float + with "1E+1" should eql 10.0 should be an instance of Float - with "+1.0e-1" - should eql 0.1 + with "1.0e+1" should be an instance of Float - with ".1E+1" + should eql 10.0 + with "+1.0E+1" should be an instance of Float - should eql 1.0 - with ".1e-1" + should eql 10.0 + with "-1.0e-1" should be an instance of Float - should eql 0.01 + should eql -0.1 + with "-1.0E+1" + should be an instance of Float + should eql -10.0 with "1.0E+1" should be an instance of Float should eql 10.0 - with "-1.0e+1" - should eql -10.0 + with "-1.0E-1" should be an instance of Float - with "+1" + should eql -0.1 + with ".1E+1" should eql 1.0 should be an instance of Float - with "-1" + with "-1.0" should eql -1.0 should be an instance of Float - with ".1E-1" - should eql 0.01 + with "+1.0" should be an instance of Float + should eql 1.0 + with an invalid float string + should raise Coercible::UnsupportedCoercion string starts with e should raise Coercible::UnsupportedCoercion + with "1.0e-1" + should eql 0.1 + should be an instance of Float + with "1.0" + should eql 1.0 + should be an instance of Float with "+1.0e+1" should be an instance of Float should eql 10.0 - with "-1.0E+1" - should eql -10.0 + with "1e1" + should eql 10.0 should be an instance of Float - with "-1E1" + with "-1.0e+1" should eql -10.0 should be an instance of Float - with ".1e+1" - should be an instance of Float + with "1" should eql 1.0 + should be an instance of Float with "1.0E-1" should be an instance of Float should eql 0.1 - with "-1.0E-1" - should eql -0.1 - should be an instance of Float - with "1" + with "-1E1" + should eql -10.0 should be an instance of Float - should eql 1.0 with "+1.0E-1" should eql 0.1 should be an instance of Float - with "1e1" - should be an instance of Float - should eql 10.0 - with "1.0" - should eql 1.0 + with ".1e-1" should be an instance of Float - with "1.0e-1" - should eql 0.1 + should eql 0.01 + with ".1E-1" should be an instance of Float - with "+1e-1" + should eql 0.01 + with "+1.0e-1" should be an instance of Float should eql 0.1 - with "-1.0e-1" - should eql -0.1 - should be an instance of Float - with "1E+1" - should eql 10.0 - should be an instance of Float - with "-1.0" - should eql -1.0 + with ".1e+1" + should eql 1.0 should be an instance of Float with ".1" should be an instance of Float should eql 0.1 - with "+1.0E+1" - should eql 10.0 - should be an instance of Float - with an invalid float string - should raise Coercible::UnsupportedCoercion - with "-1e-1" - should eql -0.1 + with "+1" should be an instance of Float + should eql 1.0 -Coercible::Coercer::DateTime#coerced? - behaves like Coercible::Coercer#coerced? - with a primitive value - should equal true - with a non-primitive value - should equal false +Coercible::Coercer::Float#to_float + should eql "2013-02-16 17:44:32.120" -Coercible::Coercer::Numeric.to_string - should eql "1/1" +Coercible::Coercer::Array#to_set + should be an instance of Set + should eql "a", 1, "b", and 2 -Coercible::Coercer::Hash.to_date - when time segments are strings - should be an instance of Date - should eql # - when time segments are integers - should be an instance of Date - should eql # - when time segments are missing - should be an instance of Date - uses the Time now to populate the segments +Coercible::Coercer::Integer#datetime_format + with other Ruby VMs + should == "%s" + with Rubinius + should == "%Q" -Coercible::Coercer::TrueClass.to_string +Coercible::Coercer::FalseClass.to_string + should eql "false" should be an instance of String - should eql "true" - -Coercible::Coercer::Hash#coerced? - behaves like Coercible::Coercer#coerced? - with a non-primitive value - should equal false - with a primitive value - should equal true - -Coercible::Coercer::Float.to_float - should equal 1.0 - -Coercible::Coercer::Numeric.to_integer - should eql 1 -Coercible::Coercer::Numeric.to_float - should eql 1.0 - -Coercible::Coercer::Object#method_missing - when method doesn't match coercion method regexp - should raise NoMethodError - when method matches coercion method regexp - should equal # +Coercible::Coercer::Object#coerced? + should equal true -Coercible::Coercer::TrueClass#coerced? +Coercible::Coercer::DateTime#coerced? behaves like Coercible::Coercer#coerced? with a primitive value should equal true with a non-primitive value should equal false -Coercible::Coercer::String.to_constant - with a namespaced name - should equal Coercible::Coercer::String - when the name is invalid - should raise NameError - with a namespaced qualified name - should equal Coercible::Coercer::String - with a non-namespaced name - should equal String - with a non-namespaced qualified name - should equal String - when the name is unknown - should raise NameError - with a name outside of the namespace - should raise NameError - -Coercible::Coercer::Decimal.to_float - should be an instance of Float - should eql 1.0 +Coercible::Coercer::Date.to_string + should be an instance of String + should eql "2011-01-01" -Coercible::Coercer::String#coerced? +Coercible::Coercer::Hash#coerced? behaves like Coercible::Coercer#coerced? - with a primitive value - should equal true with a non-primitive value should equal false + with a primitive value + should equal true -Coercible::Coercer::String.config - boolean_map - should equal ["1", true], ["on", true], ["t", true], ["true", true], ["y", true], ["yes", true], ["0", false], ["off", false], ["f", false], ["false", false], ["n", false], and ["no", false] - -Coercible::Coercer::Decimal.to_integer - should eql 1 - should be a kind of Integer - -Coercible::Coercer::TimeCoercions.to_datetime - when the value does not respond to #to_datetime - should be an instance of DateTime - should eql # - when the value responds to #to_datetime - should be an instance of DateTime - should eql # - -Coercible::Coercer::Object#coerced? - should equal true +Coercible::Coercer::Configurable.config + should equal # Coercible::Coercer::Date.to_datetime when Date does not support #to_datetime - should be an instance of DateTime should eql # + should be an instance of DateTime when Date supports #to_datetime should equal # -Coercible::Coercer::DateTime.to_datetime - should equal # +Coercible::Coercer::Numeric.to_string + should eql "1/1" -Coercible::Coercer::DateTime.to_string - should eql "2011-01-01T00:00:00+00:00" - should be an instance of String +Coercible::Coercer::Numeric.to_integer + should eql 1 + +Coercible::Coercer#[] + with a known type + should be an instance of Coercible::Coercer::String + with an unknown type + should be an instance of Coercible::Coercer::Object Coercible::Coercer.new should be an instance of Coercible::Coercer config + should be an instance of Coercible::Configuration + config should respond to #string config should respond to #string= - config - should be an instance of Coercible::Configuration - -Coercible::Coercer::Date.to_string - should be an instance of String - should eql "2011-01-01" - -Coercible::Coercer::Date.to_date - should equal # - -Coercible::Coercer::Object.to_integer - when the value does not respond to #to_int - should raise Coercible::UnsupportedCoercion - when the value responds to #to_int - should equal # - -Coercible::Coercer::Integer#datetime_format - with other Ruby VMs - should == "%s" - with Rubinius - should == "%Q" Coercible::Coercer::DateTime.to_time when DateTime does not support #to_time - should eql 0, 0, 0, 1, 1, 2011, 6, 1, false, and "UTC" should be an instance of Time + should eql 0, 0, 0, 1, 1, 2011, 6, 1, false, and "UTC" when DateTime supports #to_time should equal 0, 0, 0, 1, 1, 2011, 6, 1, false, and "UTC" -Coercible::Coercer::Array#to_set - should eql "a", 1, "b", and 2 - should be an instance of Set +Coercible::Coercer::Decimal.to_decimal + should equal 0.1e1 -Coercible::Coercer::Symbol.to_string - should eql "piotr" - should be an instance of String +Coercible::Coercer::String.to_time + with an invalid date time string + should raise Coercible::UnsupportedCoercion + with a valid time string + including time part + it should behave like a correct time object + should be an instance of Time + day + should == 22 + min + should == 44 + month + should == 7 + sec + should == 50 + hour + should == 13 + year + should == 2011 + not including time part + it should behave like a correct time object + should be an instance of Time + min + should == 0 + hour + should == 0 + month + should == 7 + sec + should == 0 + year + should == 2011 + day + should == 22 -Coercible::Coercer::Integer#to_datetime - should eql "2013-02-16 17:44:32.000" +Coercible::Coercer::Decimal.to_float + should be an instance of Float + should eql 1.0 -Coercible::Coercer::Configurable.config_name - should equal :test +Coercible::Coercer::Integer.to_boolean + when the fixnum is 0 + should equal false + when the fixnum is not 1 or 0 + should raise Coercible::UnsupportedCoercion + when the fixnum is 1 + should equal true -Coercible::Coercer::DateTime.to_date - when DateTime does not support #to_date - should be an instance of Date - should eql # - when DateTime supports #to_date - should equal # +Coercible::Coercer::String.to_integer + with "1.7976931348623158e+307" + should be a kind of Integer + should eql 17976931348623157580412819756850388593900235011794141176754562789180111453639664485361928830517704263...0189893797509826303293149283469713429932049693599732425511693654044437030940398714664210204414967808 + with "1.0" + should eql 1 + should be a kind of Integer + with "1" + should eql 1 + should be a kind of Integer + with "1.0E+1" + should eql 10 + should be a kind of Integer + with "+1.0e+1" + should eql 10 + should be a kind of Integer + with "1e1" + should eql 10 + should be a kind of Integer + with ".1" + should be a kind of Integer + should eql 0 + with "2.2250738585072014e-308" + should eql 0 + should be a kind of Integer + with "+1.0E-1" + should be a kind of Integer + should eql 0 + with "+1.0E+1" + should be a kind of Integer + should eql 10 + when integer string is big + should == 334490140000101135 + string starts with e + should raise Coercible::UnsupportedCoercion + with "-1e-1" + should be a kind of Integer + should eql 0 + with "-1E1" + should be a kind of Integer + should eql -10 + with ".1E-1" + should be a kind of Integer + should eql 0 + with "1E+1" + should eql 10 + should be a kind of Integer + with "+1" + should eql 1 + should be a kind of Integer + with "-1.0e-1" + should eql 0 + should be a kind of Integer + with ".1e+1" + should eql 1 + should be a kind of Integer + with "1.0E-1" + should be a kind of Integer + should eql 0 + with ".1e-1" + should eql 0 + should be a kind of Integer + with "-1.0E-1" + should eql 0 + should be a kind of Integer + with "-1.0E+1" + should eql -10 + should be a kind of Integer + with "-1.0" + should be a kind of Integer + should eql -1 + with an invalid integer string + should raise Coercible::UnsupportedCoercion + with "+1.0e-1" + should be a kind of Integer + should eql 0 + with "1.0e+1" + should be a kind of Integer + should eql 10 + with "-1" + should eql -1 + should be a kind of Integer + with "-1.0e+1" + should be a kind of Integer + should eql -10 + with "+1e-1" + should be a kind of Integer + should eql 0 + with "+1.0" + should eql 1 + should be a kind of Integer + with "1.0e-1" + should eql 0 + should be a kind of Integer + with ".1E+1" + should be a kind of Integer + should eql 1 + +Coercible::Coercer::Integer#coerced? + behaves like Coercible::Coercer#coerced? + with a non-primitive value + should equal false + with a primitive value + should equal true + +Coercible::Coercer::Numeric.to_float + should eql 1.0 + +Coercible::Coercer::Float.to_string + should be an instance of String + should eql "1.0" + +Coercible::Coercer::Decimal.to_string + should eql "1.0" + should be an instance of String + +Coercible::Coercer::Time.to_time + should equal 0, 0, 0, 1, 1, 2012, 0, 1, false, and "UTC" Coercible::Coercer::TimeCoercions.to_time when the value does not respond to #to_time @@ -1517,21 +1575,61 @@ should be an instance of Time should eql 0, 0, 0, 1, 1, 2011, 6, 1, false, and "UTC" -Coercible::Coercer::Time.to_integer - should eql 1597480862 +Coercible::Coercer::TrueClass#coerced? + behaves like Coercible::Coercer#coerced? + with a non-primitive value + should equal false + with a primitive value + should equal true -Coercible::Coercer::Float.to_string +Coercible::Coercer::Hash.to_datetime + when time segments are integers + should eql # + should be an instance of DateTime + when time segments are missing + should be an instance of DateTime + uses the Time now to populate the segments + when time segments are strings + should be an instance of DateTime + should eql # + +Coercible::Coercer::Float.to_decimal + should eql 0.1e1 + should be an instance of BigDecimal + +Coercible::Configuration.build + should respond to #foo= + should respond to #bar + should respond to #foo + should be an instance of Coercible::Configuration + should respond to #bar= + +Configuring coercers +WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-coercible-1.0.0/spec/integration/configuring_coercers_spec.rb:12:in `block (2 levels) in '. + allows to configure coercers + +Coercible::Coercer::Symbol.to_string should be an instance of String - should eql "1.0" + should eql "piotr" + +Coercible::Coercer::DateTime.to_date + when DateTime does not support #to_date + should eql # + should be an instance of Date + when DateTime supports #to_date + should equal # + +Coercible::Coercer::Integer#datetime_proc + with other Ruby VMs + should be an instance of Proc + with Rubinius + should be an instance of Proc Coercible::Coercer::Object#inspect should == "#" Coercible::Coercer::Integer behaves like Configurable - .config - responds to configuration keys - should be an instance of Coercible::Configuration .config_name should be an instance of Symbol .config_keys @@ -1539,12 +1637,124 @@ should not be empty .config_name should equal :integer + .config + should be an instance of Coercible::Configuration + responds to configuration keys -Coercible::Coercer::Float#to_float - should eql "2013-02-16 17:44:32.120" +Coercible::Coercer::Hash.to_time + when time segments are strings + should eql 1, 1, 1, 1, 1, 2011, 6, 1, false, and "UTC" + should be an instance of Time + when time segments are missing + uses the Time now to populate the segments + should be an instance of Time + when time segments are integers + should eql 1, 1, 1, 1, 1, 2011, 6, 1, false, and "UTC" + should be an instance of Time -Coercible::Coercer::Integer.to_integer - should equal 1 +Coercible::Coercer::String.to_decimal + with "+1.0e-1" + should eql 0.1e0 + should be an instance of BigDecimal + with "-1.0" + should eql -0.1e1 + should be an instance of BigDecimal + with "-1.0E-1" + should eql -0.1e0 + should be an instance of BigDecimal + with "1.0E-1" + should be an instance of BigDecimal + should eql 0.1e0 + with "+1.0" + should eql 0.1e1 + should be an instance of BigDecimal + with ".1" + should be an instance of BigDecimal + should eql 0.1e0 + with "+1.0E-1" + should eql 0.1e0 + should be an instance of BigDecimal + with "1.0e+1" + should eql 0.1e2 + should be an instance of BigDecimal + with ".1e+1" + should be an instance of BigDecimal + should eql 0.1e1 + with "1.0E+1" + should eql 0.1e2 + should be an instance of BigDecimal + with ".1E-1" + should be an instance of BigDecimal + should eql 0.1e-1 + with "1" + should be an instance of BigDecimal + should eql 0.1e1 + with an invalid decimal string + should raise Coercible::UnsupportedCoercion + with "1.0e-1" + should be an instance of BigDecimal + should eql 0.1e0 + with "+1.0E+1" + should eql 0.1e2 + should be an instance of BigDecimal + with "+1" + should be an instance of BigDecimal + should eql 0.1e1 + with "+1.0e+1" + should eql 0.1e2 + should be an instance of BigDecimal + with "1.0" + should be an instance of BigDecimal + should eql 0.1e1 + with "-1.0e-1" + should eql -0.1e0 + should be an instance of BigDecimal + with "-1.0e+1" + should be an instance of BigDecimal + should eql -0.1e2 + with ".1E+1" + should be an instance of BigDecimal + should eql 0.1e1 + with ".1e-1" + should eql 0.1e-1 + should be an instance of BigDecimal + with "-1" + should eql -0.1e1 + should be an instance of BigDecimal + with "-1.0E+1" + should eql -0.1e2 + should be an instance of BigDecimal + +Coercible::Coercer::FalseClass#coerced? + behaves like Coercible::Coercer#coerced? + with a primitive value + should equal true + with a non-primitive value + should equal false + +Coercible::Coercer::String + behaves like Configurable + .config_name + should equal :string + .config + responds to configuration keys + should be an instance of Coercible::Configuration + .config_name + should be an instance of Symbol + .config_keys + should not be empty + should be an instance of Array + +Coercible::Coercer::Integer.to_decimal + should be an instance of BigDecimal + should eql 0.1e1 + +Coercible::Coercer::DateTime.to_datetime + should equal # + +Coercible::Coercer::Date.to_time + should eql 0, 0, 0, 1, 1, 2011, 6, 1, false, and "UTC" + should be an instance of Time Coercible::Coercer::Date#coerced? behaves like Coercible::Coercer#coerced? @@ -1553,224 +1763,89 @@ with a non-primitive value should equal false -Coercible::Coercer::Decimal.to_string - should be an instance of String - should eql "1.0" +Coercible::Coercer::TimeCoercions.to_date + when the value does not respond to #to_date + should be an instance of Date + should eql # + when the value responds to #to_date + should eql # + should be an instance of Date + +Coercible::Coercer::String.config + boolean_map + should equal ["1", true], ["on", true], ["t", true], ["true", true], ["y", true], ["yes", true], ["0", false], ["off", false], ["f", false], ["false", false], ["n", false], and ["no", false] Coercible::Coercer::String.to_boolean - with "TRUE" - should equal true with "f" should equal false - with "N" - should equal false with "ON" should equal true - with "y" - should equal true - with "on" - should equal true - with "true" - should equal true - with "OFF" - should equal false - with "YES" - should equal true - with "T" - should equal true - with "false" - should equal false - with "NO" + with "F" should equal false with an invalid boolean string WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-coercible-1.0.0/spec/unit/coercible/coercer/string/to_boolean_spec.rb:28:in `block (3 levels) in '. should raise Exception - with "1" + with "OFF" + should equal false + with "false" + should equal false + with "T" should equal true with "FALSE" should equal false - with "yes" + with "Y" should equal true - with "n" + with "TRUE" + should equal true + with "N" should equal false - with "no" + with "0" should equal false - with "off" + with "true" + should equal true + with "1" + should equal true + with "on" + should equal true + with "NO" should equal false with "t" should equal true - with "0" - should equal false - with "F" + with "no" should equal false - with "Y" + with "YES" should equal true - -Coercible::Coercer::FalseClass#coerced? - behaves like Coercible::Coercer#coerced? - with a non-primitive value - should equal false - with a primitive value - should equal true - -Coercible::Coercer::String.to_date - with a valid date string - should be an instance of Date - month - should == 7 - day - should == 22 - year - should == 2011 - with an invalid date string - should raise Coercible::UnsupportedCoercion - -Coercible::Coercer::Float#coerced? - behaves like Coercible::Coercer#coerced? - with a primitive value - should equal true - with a non-primitive value - should equal false - -Coercible::Coercer::String.to_time - with a valid time string - including time part - it should behave like a correct time object - should be an instance of Time - day - should == 22 - sec - should == 50 - min - should == 44 - hour - should == 13 - year - should == 2011 - month - should == 7 - not including time part - it should behave like a correct time object - should be an instance of Time - year - should == 2011 - day - should == 22 - hour - should == 0 - sec - should == 0 - min - should == 0 - month - should == 7 - with an invalid date time string - should raise Coercible::UnsupportedCoercion - -Coercible::Coercer::Decimal#coerced? - behaves like Coercible::Coercer#coerced? - with a primitive value - should equal true - with a non-primitive value - should equal false - -Coercible::Coercer::Symbol#coerced? - behaves like Coercible::Coercer#coerced? - with a non-primitive value - should equal false - with a primitive value - should equal true - -Coercible::Coercer#[] - with an unknown type - should be an instance of Coercible::Coercer::Object - with a known type - should be an instance of Coercible::Coercer::String - -Coercible::Coercer::Hash.to_time - when time segments are strings - should eql 1, 1, 1, 1, 1, 2011, 6, 1, false, and "UTC" - should be an instance of Time - when time segments are integers - should be an instance of Time - should eql 1, 1, 1, 1, 1, 2011, 6, 1, false, and "UTC" - when time segments are missing - uses the Time now to populate the segments - should be an instance of Time - -Coercible::Coercer::Array#coerced? - behaves like Coercible::Coercer#coerced? - with a primitive value - should equal true - with a non-primitive value - should equal false - -Coercible::Coercer::Time#coerced? - behaves like Coercible::Coercer#coerced? - with a primitive value - should equal true - with a non-primitive value - should equal false - -Coercible::Coercer::Integer.to_decimal - should eql 0.1e1 - should be an instance of BigDecimal - -Coercible::Coercer::Integer.to_boolean - when the fixnum is not 1 or 0 - should raise Coercible::UnsupportedCoercion - when the fixnum is 1 + with "yes" should equal true - when the fixnum is 0 + with "y" + should equal true + with "n" + should equal false + with "off" should equal false -Coercible::Coercer::FalseClass.to_string - should eql "false" - should be an instance of String - -Coercible::Coercer::Decimal.to_decimal - should equal 0.1e1 +Coercible::Coercer::Date.to_date + should equal # -Coercible::Coercer::Float.to_integer +Coercible::Coercer::Decimal.to_integer should be a kind of Integer should eql 1 -Coercible::Coercer::Object.to_array - when the value returns nil from #to_ary - calls #to_a as a fallback - wraps the value in an Array if #to_a is not available - when the value responds to #to_a but not #to_ary - should equal # - when the value does not respond to #to_ary or #to_a - should == [#] - should be an instance of Array - when the value responds to #to_ary - should equal # - does not call #to_a if #to_ary is available - -Coercible::Coercer::Configurable.config - should equal # - -Coercible::Configuration.build - should be an instance of Coercible::Configuration - should respond to #foo - should respond to #bar - should respond to #bar= - should respond to #foo= - -Coercible::Coercer::String.to_symbol - should equal :value - -Coercible::Coercer::Integer#coerced? +Coercible::Coercer::Time#coerced? behaves like Coercible::Coercer#coerced? with a non-primitive value should equal false with a primitive value should equal true -Coercible::Coercer::Integer.to_string - should be an instance of String - should eql "1" +Coercible::Coercer::Float.to_float + should equal 1.0 + +Coercible::Coercer::Object.to_hash + when the value does not respond to #to_hash + should raise Coercible::UnsupportedCoercion + when the value responds to #to_hash + should equal # Coercible::Coercer::Numeric.to_decimal with an object responding to #to_d @@ -1778,69 +1853,28 @@ with an object not responding to #to_d should eql 0.1e1 -Coercible::Coercer::Object.to_hash - when the value responds to #to_hash - should equal # - when the value does not respond to #to_hash - should raise Coercible::UnsupportedCoercion +Coercible::Coercer::Integer.to_integer + should equal 1 -Coercible::Coercer::Date.to_time - should eql 0, 0, 0, 1, 1, 2011, 6, 1, false, and "UTC" - should be an instance of Time +Coercible::Coercer::Float.to_integer + should be a kind of Integer + should eql 1 -Coercible::Coercer::String - behaves like Configurable - .config - responds to configuration keys - should be an instance of Coercible::Configuration - .config_keys - should not be empty - should be an instance of Array - .config_name - should be an instance of Symbol - .config_name - should equal :string +Coercible::Coercer::Object#method_missing + when method matches coercion method regexp + should equal # + when method doesn't match coercion method regexp + should raise NoMethodError -Coercible::Coercer::String.to_datetime - with an invalid date time string - should raise Coercible::UnsupportedCoercion - with a valid date string - not including time part - it should behave like a correct datetime object - should be an instance of DateTime - month - should == 7 - sec - should == 0 - year - should == 2011 - day - should == 22 - min - should == 0 - hour - should == 0 - including time part - it should behave like a correct datetime object - should be an instance of DateTime - year - should == 2011 - hour - should == 13 - month - should == 7 - day - should == 22 - sec - should == 50 - min - should == 44 +Coercible::Coercer::DateTime.to_string + should eql "2011-01-01T00:00:00+00:00" + should be an instance of String Deprecation Warnings: RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values= is deprecated, it is now set to true as default and setting it to false has no effect. -Using `stub` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /build/ruby-coercible-1.0.0/spec/unit/coercible/coercer/hash/to_datetime_spec.rb:13:in `block (3 levels) in '. +Using `should_receive` from rspec-mocks' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` instead. Called from /build/ruby-coercible-1.0.0/spec/unit/coercible/coercer/object/to_integer_spec.rb:13:in `block (3 levels) in '. If you need more of the backtrace for any of these deprecations to @@ -1850,54 +1884,54 @@ 2 deprecation warnings total -Top 10 slowest examples (0.59937 seconds, 25.7% of total time): - Coercible::Coercer::Hash.to_datetime when time segments are strings should be an instance of DateTime - 0.12432 seconds ./spec/unit/coercible/coercer/hash/to_datetime_spec.rb:34 - Coercible::Coercer::String.to_datetime with an invalid date time string should raise Coercible::UnsupportedCoercion - 0.07813 seconds ./spec/unit/coercible/coercer/string/to_datetime_spec.rb:48 - Coercible::Coercer::String.to_integer with "1.7976931348623158e+307" should eql 17976931348623157580412819756850388593900235011794141176754562789180111453639664485361928830517704263...0189893797509826303293149283469713429932049693599732425511693654044437030940398714664210204414967808 - 0.07106 seconds ./spec/unit/coercible/coercer/string/to_integer_spec.rb:46 - Coercible::Coercer::String behaves like Configurable .config_name should be an instance of Symbol - 0.05253 seconds ./spec/shared/unit/configurable.rb:5 - Coercible::Coercer::String.to_datetime with a valid date string not including time part it should behave like a correct datetime object month should == 7 - 0.05101 seconds ./spec/unit/coercible/coercer/string/to_datetime_spec.rb:7 +Top 10 slowest examples (0.0608 seconds, 4.8% of total time): Coercible::Coercer::String.to_datetime with a valid date string not including time part it should behave like a correct datetime object sec should == 0 - 0.05063 seconds ./spec/unit/coercible/coercer/string/to_datetime_spec.rb:11 - Coercible::Coercer::String.to_datetime with a valid date string not including time part it should behave like a correct datetime object year should == 2011 - 0.04919 seconds ./spec/unit/coercible/coercer/string/to_datetime_spec.rb:6 - Coercible::Coercer::String.to_datetime with a valid date string including time part it should behave like a correct datetime object sec should == 50 - 0.04656 seconds ./spec/unit/coercible/coercer/string/to_datetime_spec.rb:11 - Coercible::Coercer::String.to_datetime with a valid date string including time part it should behave like a correct datetime object day should == 22 - 0.03976 seconds ./spec/unit/coercible/coercer/string/to_datetime_spec.rb:8 - Coercible::Coercer::String.to_datetime with a valid date string including time part it should behave like a correct datetime object min should == 44 - 0.03618 seconds ./spec/unit/coercible/coercer/string/to_datetime_spec.rb:10 + 0.01369 seconds ./spec/unit/coercible/coercer/string/to_datetime_spec.rb:11 + Coercible::Coercer::Integer behaves like Configurable .config_keys should not be empty + 0.00726 seconds ./spec/shared/unit/configurable.rb:12 + Coercible::Coercer::String.to_datetime with an invalid date time string should raise Coercible::UnsupportedCoercion + 0.00707 seconds ./spec/unit/coercible/coercer/string/to_datetime_spec.rb:48 + Coercible::Coercer.new config should respond to #string + 0.00605 seconds ./spec/unit/coercible/coercer/class_methods/new_spec.rb:11 + Coercible::Coercer::String.to_datetime with a valid date string not including time part it should behave like a correct datetime object should be an instance of DateTime + 0.00541 seconds ./spec/unit/coercible/coercer/string/to_datetime_spec.rb:4 + Coercible::Coercer::String.to_integer with "+1.0e+1" should be a kind of Integer + 0.00496 seconds ./spec/unit/coercible/coercer/string/to_integer_spec.rb:44 + Coercible::Coercer::Decimal.to_float should eql 1.0 + 0.00481 seconds ./spec/unit/coercible/coercer/decimal/to_float_spec.rb:11 + Coercible::Coercer::String.to_integer with "1.7976931348623158e+307" should be a kind of Integer + 0.00432 seconds ./spec/unit/coercible/coercer/string/to_integer_spec.rb:44 + Coercible::Coercer::Integer.to_float should eql 1.0 + 0.00387 seconds ./spec/unit/coercible/coercer/integer/to_float_spec.rb:11 + Coercible::Coercer::TimeCoercions.to_time when the value does not respond to #to_time should eql 0, 0, 0, 1, 1, 2011, 6, 1, false, and "UTC" + 0.00335 seconds ./spec/unit/coercible/coercer/time_coercions/to_time_spec.rb:36 Top 10 slowest example groups: + Coercible::Coercer::Float.to_float + 0.00567 seconds average (0.00567 seconds / 1 example) ./spec/unit/coercible/coercer/float/to_float_spec.rb:3 + Coercible::Coercer::Integer#datetime_format + 0.00535 seconds average (0.01071 seconds / 2 examples) ./spec/unit/coercible/coercer/integer/datetime_format_spec.rb:3 Coercible::Coercer::String.to_datetime - 0.03526 seconds average (0.52896 seconds / 15 examples) ./spec/unit/coercible/coercer/string/to_datetime_spec.rb:14 - Coercible::Coercer::Hash.to_datetime - 0.02357 seconds average (0.14143 seconds / 6 examples) ./spec/unit/coercible/coercer/hash/to_datetime_spec.rb:3 - Coercible::Coercer::Object.to_hash - 0.01605 seconds average (0.03211 seconds / 2 examples) ./spec/unit/coercible/coercer/object/to_hash_spec.rb:3 - Coercible::Coercer::String - 0.01384 seconds average (0.08303 seconds / 6 examples) ./spec/unit/coercible/coercer/string_spec.rb:3 - Coercible::Coercer::Date.to_time - 0.01351 seconds average (0.02702 seconds / 2 examples) ./spec/unit/coercible/coercer/date/to_time_spec.rb:3 + 0.00515 seconds average (0.07722 seconds / 15 examples) ./spec/unit/coercible/coercer/string/to_datetime_spec.rb:14 + Coercible::Coercer::Integer.to_decimal + 0.00439 seconds average (0.00878 seconds / 2 examples) ./spec/unit/coercible/coercer/integer/to_decimal_spec.rb:3 Coercible::Coercer::Integer#coerced? - 0.01265 seconds average (0.0253 seconds / 2 examples) ./spec/unit/coercible/coercer/integer/coerced_predicate_spec.rb:3 + 0.00434 seconds average (0.00868 seconds / 2 examples) ./spec/unit/coercible/coercer/integer/coerced_predicate_spec.rb:3 + Coercible::Coercer::DateTime.to_time + 0.00432 seconds average (0.01296 seconds / 3 examples) ./spec/unit/coercible/coercer/date_time/to_time_spec.rb:3 + Coercible::Coercer::DateTime.to_date + 0.0043 seconds average (0.0129 seconds / 3 examples) ./spec/unit/coercible/coercer/date_time/to_date_spec.rb:3 Coercible::Coercer::Integer.to_string - 0.01247 seconds average (0.02494 seconds / 2 examples) ./spec/unit/coercible/coercer/integer/to_string_spec.rb:3 - Coercible::Coercer::Numeric.to_decimal - 0.00921 seconds average (0.01843 seconds / 2 examples) ./spec/unit/coercible/coercer/numeric/to_decimal_spec.rb:3 - Coercible::Coercer::Hash.to_time - 0.00892 seconds average (0.05353 seconds / 6 examples) ./spec/unit/coercible/coercer/hash/to_time_spec.rb:3 - Coercible::Coercer::Configurable.config - 0.00807 seconds average (0.00807 seconds / 1 example) ./spec/unit/coercible/coercer/configurable/config_spec.rb:3 + 0.00428 seconds average (0.00856 seconds / 2 examples) ./spec/unit/coercible/coercer/integer/to_string_spec.rb:3 + Coercible::Coercer::Decimal.to_float + 0.00405 seconds average (0.00809 seconds / 2 examples) ./spec/unit/coercible/coercer/decimal/to_float_spec.rb:3 + Coercible::Coercer::Decimal.to_string + 0.00402 seconds average (0.00805 seconds / 2 examples) ./spec/unit/coercible/coercer/decimal/to_string_spec.rb:3 -Finished in 2.33 seconds (files took 5.91 seconds to load) +Finished in 1.26 seconds (files took 1.16 seconds to load) 396 examples, 0 failures -Randomized with seed 11861 +Randomized with seed 388 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1934,12 +1968,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/1067/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1067/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2583 and its subdirectories -I: Current time: Fri Aug 14 20:41:46 -12 2020 -I: pbuilder-time-stamp: 1597480906 +I: removing directory /srv/workspace/pbuilder/1067 and its subdirectories +I: Current time: Sat Aug 15 22:43:56 +14 2020 +I: pbuilder-time-stamp: 1597481036