Diff of the two buildlogs: -- --- b1/build.log 2023-05-07 15:39:26.990506694 +0000 +++ b2/build.log 2023-05-07 15:42:19.294950452 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun May 7 03:35:50 -12 2023 -I: pbuilder-time-stamp: 1683473750 +I: Current time: Mon May 8 05:39:36 +14 2023 +I: pbuilder-time-stamp: 1683473976 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./ruby-semverse_2.0.0.orig.tar.gz] I: copying [./ruby-semverse_2.0.0-1.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Aug 27 00:06:44 2017 -12 +gpgv: Signature made Mon Aug 28 02:06:44 2017 +14 gpgv: using RSA key 9CCD6B319DBF8E40AB1ABD1A89AF82B739CD217A gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ruby-semverse_2.0.0-1.dsc: no acceptable signature found @@ -28,135 +28,167 @@ dpkg-source: info: applying remove-spork I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/7134/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/26247/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +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 +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 8 05:39 /bin/sh -> /bin/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/26247/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/26247/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=5' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="15" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.15(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=4' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='d5823306a1284ef1b58372782cc19c1a' - 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='7134' - PS1='# ' - PS2='> ' + INVOCATION_ID=47966183033348a5afdf3d4a61a3408f + 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=26247 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/r-b-build.i2XAjpNp/pbuilderrc_QDU3 --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.i2XAjpNp/b1 --logfile b1/build.log ruby-semverse_2.0.0-1.dsc' - SUDO_GID='114' - SUDO_UID='109' - 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:3142/' + 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/r-b-build.i2XAjpNp/pbuilderrc_jhFm --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.i2XAjpNp/b2 --logfile b2/build.log --extrapackages usrmerge ruby-semverse_2.0.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + 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:3142/ I: uname -a - Linux ff64a 5.10.0-22-arm64 #1 SMP Debian 5.10.178-3 (2023-04-22) aarch64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-armmp-lpae #1 SMP Debian 5.10.178-3 (2023-04-22) armv7l GNU/Linux I: ls -l /bin total 5072 - -rwxr-xr-x 1 root root 838488 Apr 23 09:24 bash - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 67144 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 67112 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 67632 Sep 20 2022 cat - -rwxr-xr-x 1 root root 67676 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 67644 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 67684 Sep 20 2022 chown - -rwxr-xr-x 1 root root 133532 Sep 20 2022 cp - -rwxr-xr-x 1 root root 132868 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 133220 Sep 20 2022 date - -rwxr-xr-x 1 root root 67732 Sep 20 2022 dd - -rwxr-xr-x 1 root root 68104 Sep 20 2022 df - -rwxr-xr-x 1 root root 133632 Sep 20 2022 dir - -rwxr-xr-x 1 root root 59128 Mar 22 21:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 67560 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 67548 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 55748 Mar 22 21:02 findmnt - -rwsr-xr-x 1 root root 26208 Mar 22 20:15 fusermount - -rwxr-xr-x 1 root root 128608 Jan 24 02:43 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 64220 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 67032 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 67720 Sep 20 2022 ln - -rwxr-xr-x 1 root root 35132 Mar 22 21:51 login - -rwxr-xr-x 1 root root 133632 Sep 20 2022 ls - -rwxr-xr-x 1 root root 136808 Mar 22 21:02 lsblk - -rwxr-xr-x 1 root root 67800 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 67764 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 67596 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 38504 Mar 22 21:02 more - -rwsr-xr-x 1 root root 38496 Mar 22 21:02 mount - -rwxr-xr-x 1 root root 9824 Mar 22 21:02 mountpoint - -rwxr-xr-x 1 root root 133532 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 67608 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:24 rbash -> bash - -rwxr-xr-x 1 root root 67600 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 67672 Sep 20 2022 rm - -rwxr-xr-x 1 root root 67600 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 67400 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 133372 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 67644 Sep 20 2022 stty - -rwsr-xr-x 1 root root 50800 Mar 22 21:02 su - -rwxr-xr-x 1 root root 67584 Sep 20 2022 sync - -rwxr-xr-x 1 root root 336764 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 67144 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 133224 Sep 20 2022 touch - -rwxr-xr-x 1 root root 67548 Sep 20 2022 true - -rwxr-xr-x 1 root root 9768 Mar 22 20:15 ulockmgr_server - -rwsr-xr-x 1 root root 22108 Mar 22 21:02 umount - -rwxr-xr-x 1 root root 67572 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 133632 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 42608 Mar 22 21:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/7134/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 838488 Apr 24 11:24 bash + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 67144 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 67112 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 67632 Sep 21 2022 cat + -rwxr-xr-x 1 root root 67676 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 67644 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 67684 Sep 21 2022 chown + -rwxr-xr-x 1 root root 133532 Sep 21 2022 cp + -rwxr-xr-x 1 root root 132868 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 133220 Sep 21 2022 date + -rwxr-xr-x 1 root root 67732 Sep 21 2022 dd + -rwxr-xr-x 1 root root 68104 Sep 21 2022 df + -rwxr-xr-x 1 root root 133632 Sep 21 2022 dir + -rwxr-xr-x 1 root root 59128 Mar 23 23:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 67560 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 67548 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 55748 Mar 23 23:02 findmnt + -rwsr-xr-x 1 root root 26208 Mar 23 22:15 fusermount + -rwxr-xr-x 1 root root 128608 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 64220 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 67032 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 67720 Sep 21 2022 ln + -rwxr-xr-x 1 root root 35132 Mar 23 23:51 login + -rwxr-xr-x 1 root root 133632 Sep 21 2022 ls + -rwxr-xr-x 1 root root 136808 Mar 23 23:02 lsblk + -rwxr-xr-x 1 root root 67800 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 67764 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 67596 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 38504 Mar 23 23:02 more + -rwsr-xr-x 1 root root 38496 Mar 23 23:02 mount + -rwxr-xr-x 1 root root 9824 Mar 23 23:02 mountpoint + -rwxr-xr-x 1 root root 133532 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 67608 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:24 rbash -> bash + -rwxr-xr-x 1 root root 67600 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 67672 Sep 21 2022 rm + -rwxr-xr-x 1 root root 67600 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 67400 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 133372 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 8 05:39 sh -> /bin/bash + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 67644 Sep 21 2022 stty + -rwsr-xr-x 1 root root 50800 Mar 23 23:02 su + -rwxr-xr-x 1 root root 67584 Sep 21 2022 sync + -rwxr-xr-x 1 root root 336764 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 67144 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 133224 Sep 21 2022 touch + -rwxr-xr-x 1 root root 67548 Sep 21 2022 true + -rwxr-xr-x 1 root root 9768 Mar 23 22:15 ulockmgr_server + -rwsr-xr-x 1 root root 22108 Mar 23 23:02 umount + -rwxr-xr-x 1 root root 67572 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 133632 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 42608 Mar 23 23:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/26247/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -329,7 +361,7 @@ Get: 129 http://deb.debian.org/debian bookworm/main armhf ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.5 kB] Get: 130 http://deb.debian.org/debian bookworm/main armhf ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.5 kB] Get: 131 http://deb.debian.org/debian bookworm/main armhf ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] -Fetched 44.6 MB in 4s (11.2 MB/s) +Fetched 44.6 MB in 2s (28.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal: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 ... 19329 files and directories currently installed.) @@ -879,10 +911,17 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-semverse-2.0.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-semverse_2.0.0-1_source.changes +I: user script /srv/workspace/pbuilder/26247/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/26247/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ruby-semverse-2.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 && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-semverse_2.0.0-1_source.changes dpkg-buildpackage: info: source package ruby-semverse dpkg-buildpackage: info: source version 2.0.0-1 dpkg-buildpackage: info: source distribution unstable @@ -954,549 +993,549 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 56321 - -Semverse::Version - ClassMethods - ::split - raises an InvalidVersionFormat error - returns an array containing 5 elements - given a string only containing a major and minor version - converts the third element to 0 if it's nil or blank - returns 0 as the third element - returns an array containing 4 elements - given a string only containing a major, minor and patch version - returns an array containing 4 elements - returns nil as fifth element - returns nil as fourth element - given a string with only a major version - returns an array containing 3 elements - converts the second element to 0 if it's nil or blank - returns 0 as the second element - returns 0 as the third element - ::coerce - returns an object of the desired class without any additional processing - coerces a String to a Version object - ::new - an empty array - doesn't assigns a pre_release value - sets the patch value to 0 (zero) - sets the majro value to 0 (zero) - doesn't assigns a build value - sets the minor value to 0 (zero) - a string containing a major, minor, and patch separated by periods - doesn't assigns a pre_release value - assigns a minor value - doesn't assigns a build value - assigns a major value - assigns a patch value - a string containing a major, minor and patch separated by periods a pre-release and a build - assigns a build value - assigns a pre_release value - assigns a patch value - assigns a major value - assigns a minor value - a five element array - assigns a minor value - assigns a major value - doesn't assigns a pre_release value - assigns a patch value - assigns a build value - a string containing a major, minor and patch separated by periods and a build - assigns a minor value - assigns a patch value - assigns a build value - doesn't assigns a pre_release value - assigns a major value - a three element array - assigns a major value - doesn't assigns a pre_release value - assigns a patch value - doesn't assigns a build value - assigns a minor value - a one element array - sets the minor value to 0 (zero) - doesn't assigns a pre_release value - doesn't assigns a build value - sets the patch value to 0 (zero) - assigns the major value - a two element array - doesn't assigns a pre_release value - doesn't assigns a build value - sets the patch value to 0 (zero) - assigns a major value - assigns a minor value - a four element array - assigns a minor value - doesn't assigns a build value - assigns a pre_release value - assigns a major value - assigns a patch value - #<=> - compares versions - #pre_release? - when a pre-release value is set - is expected to equal true - when no pre-release value is set - is expected to equal false - #to_s - returns a string containing the major.minor.patch-pre_release+build - #zero? - minor is not equal to 0 - is expected to equal false - major, minor and patch are equal to 0 - is expected to equal true - major is not equal to 0 - is expected to equal false - patch is not equal to 0 - is expected to equal false +Randomized with seed 18292 Semverse::Constraint - #to_s - is expected to eq ">= 1.2.3-alpha+123" - when the constraint does not contain a patch value - is expected to eq "~> 1.2" - when the constraint contains a pre_release value - is expected to eq ">= 1.2.0+123" - when the constraint does not contain a build value - is expected to eq ">= 1.2.0-alpha" - when the constraint does not contain a minor or patch value - is expected to eq "~> 1" + #== + returns false if the other object is not a Semverse::Constraint + returns false if the other object is a Semverse::Constraint with the same version and different operator + returns true if the other object is a Semverse::Constraint with the same operator and version + returns false if the other object is a Semverse::Constraint with the same operator and different version #satisfies? is expected to satisfies # is expected to satisfies "1.0.0" - greater than or equal to (>) zero constraint - is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "2.0.0" + lower than or equal to (<=) pre-release constraint + is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "1.0.1" is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.1+build.2" is expected to satisfies "1.0.0" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.1" - strictly less than (<) pre-release constraint - is expected to satisfies "1.0.0-alpha" - is expected not to satisfies "1.0.1-beta" is expected not to satisfies "2.0.0" is expected not to satisfies "1.0.0+build" - is expected not to satisfies "1.0.0" + is expected to satisfies "1.0.0-alpha" is expected not to satisfies "1.0.1+build.2" is expected to satisfies "0.9.9+build" - is expected not to satisfies "1.0.1" - is expected to satisfies "1.0.0-alpha.2" - greater than or equal to (>=) zero build constraint + strictly less than (<) is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.0" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.1" - is expected to satisfies "1.0.1+build.2" + is expected not to satisfies "2.0.0" + is expected not to satisfies "1.0.0+build" + is expected not to satisfies "1.0.0" is expected to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.1-beta" + is expected to satisfies "0.9.9+build" + is expected not to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "1.0.1" + greater than or equal to (>=) pre-release constraint is expected to satisfies "2.0.0" - greater than or equal to (>=) zero constraint + is expected not to satisfies "0.9.9+build" is expected to satisfies "1.0.1" + is expected to satisfies "1.0.1-beta" is expected to satisfies "1.0.0" - is expected to satisfies "1.0.1+build.2" is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "2.0.0" - is expected to satisfies "0.9.9+build" is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1+build.2" is expected to satisfies "1.0.0+build" - strictly equal to (=) - is expected not to satisfies "0.9.9+build" - is expected not to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.0" - is expected not to satisfies "1.0.1" lower than or equal to (<=) build constraint - is expected not to satisfies "1.0.1-beta" - is expected not to satisfies "1.0.1+build.2" - is expected not to satisfies "1.0.1" is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.0+build" - is expected not to satisfies "2.0.0" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "0.9.9+build" is expected to satisfies "1.0.0" - strictly less than (<) build constraint + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.0+build" is expected not to satisfies "1.0.1" - is expected to satisfies "1.0.0-alpha" is expected not to satisfies "2.0.0" is expected not to satisfies "1.0.1-beta" is expected not to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.0" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.0+build" - greater than or equal to (>=) pre-release constraint - is expected to satisfies "1.0.1" - is expected not to satisfies "0.9.9+build" - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "1.0.0" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.0-alpha.2" is expected to satisfies "1.0.0-alpha" - strictly greater than (>) - is expected to satisfies "1.0.1+build.2" - is expected not to satisfies "1.0.0-alpha" - is expected not to satisfies "1.0.0-alpha.2" - is expected to satisfies "2.0.0" - is expected to satisfies "1.0.0+build" + greater than or equal to (>=) is expected not to satisfies "0.9.9+build" - is expected not to satisfies "1.0.0" - is expected to satisfies "1.0.1" - is expected not to satisfies "1.0.1-beta" - strictly greater than (>) build constraint - is expected to satisfies "1.0.1" is expected not to satisfies "1.0.0-alpha" - is expected not to satisfies "1.0.0" + is expected to satisfies "1.0.1" is expected not to satisfies "1.0.1-beta" - is expected not to satisfies "1.0.0+build" - is expected not to satisfies "0.9.9+build" + is expected not to satisfies "1.0.0-alpha.2" is expected to satisfies "2.0.0" is expected to satisfies "1.0.1+build.2" - is expected not to satisfies "1.0.0-alpha.2" - aproximately (~>) - when the last value in the constraint is for pre_release with a last numeric identifier - is expected not to satisfies "1.2.3" - is expected not to satisfies "1.2.3" - is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3--" - is expected to satisfies "1.2.3-4" - is expected to satisfies "1.2.3-10" + is expected to satisfies "1.0.0" + is expected to satisfies "1.0.0+build" + aproximately (~) + when the last value in the constraint is for minor + is expected to satisfies "1.2.3" + is expected not to satisfies "2.0.0-0" + is expected to satisfies "1.2.3+build" + is expected to satisfies "1.3.0" + is expected not to satisfies "2.0.0" + is expected not to satisfies "1.2.0-alpha" + is expected to satisfies "1.3" + is expected to satisfies "1.2.0" + is expected not to satisfies "1.1.0" + when the last value in the constraint is for build with a last non-numeric identifier is expected not to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3-10.5+build.33" is expected not to satisfies "1.2.4" - when the last value in the constraint is for build with a last numeric identifier + is expected not to satisfies "1.2.5" + is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3+build.5" + is expected not to satisfies "1.2.3+5" + is expected to satisfies "1.2.3+preview" is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3+-" - is expected not to satisfies "1.2.4" - is expected to satisfies "1.2.3+99" - is expected not to satisfies "1.2.3+build" + is expected to satisfies "1.2.3+zzz" + is expected to satisfies "1.2.3+build" + is expected not to satisfies "1.2.4-0" + when the last value in the constraint is for pre_release with a last numeric identifier is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3-4" + is expected not to satisfies "1.2.3--" is expected not to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3+5" - is expected not to satisfies "1.2.3+5.build" - is expected not to satisfies "1.2.3+4" - when the last value in the constraint is for patch - is expected to satisfies "1.2.5+build" - is expected not to satisfies "1.1.0" + is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.4" + is expected to satisfies "1.2.3-10.5+build.33" is expected not to satisfies "1.3.0" - is expected to satisfies "1.2.2" - is expected not to satisfies "1.3.0-0" - is expected to satisfies "1.2.3" - is expected not to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3-10" when the last value in the constraint is for build with a last non-numeric identifier and a pre-release + is expected not to satisfies "1.2.3-beta" + is expected not to satisfies "1.2.3-alphb" is expected not to satisfies "1.3.0" is expected not to satisfies "1.2.3-alpha" - is expected not to satisfies "1.2.3-beta" - is expected to satisfies "1.2.3-alpha+zzz" is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3-alpha+build.5" - is expected to satisfies "1.2.3-alpha+build" is expected not to satisfies "1.2.3-alpha.4" - is expected not to satisfies "1.2.3-alpha.4+4" - is expected not to satisfies "1.2.3-alphb" is expected to satisfies "1.2.3-alpha+preview" - when the last value in the constraint is for build with a last non-numeric identifier - is expected not to satisfies "1.2.3+5" + is expected not to satisfies "1.2.3-alpha.4+4" + is expected to satisfies "1.2.3-alpha+build.5" + is expected to satisfies "1.2.3-alpha+build" + is expected to satisfies "1.2.3-alpha+zzz" + when the last value in the constraint is for patch + is expected not to satisfies "1.3.0" + is expected not to satisfies "1.3.0-0" + is expected to satisfies "1.2.5+build" + is expected to satisfies "1.2.2" + is expected not to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3" + is expected not to satisfies "1.1.0" + when the last value in the constraint is for build with a last numeric identifier + is expected not to satisfies "1.2.3+build" is expected not to satisfies "1.2.4" - is expected to satisfies "1.2.3+preview" - is expected to satisfies "1.2.3+zzz" - is expected to satisfies "1.2.3+build.5" - is expected not to satisfies "1.2.4-0" - is expected to satisfies "1.2.3+build" - is expected not to satisfies "1.2.5" + is expected not to satisfies "1.2.3+-" + is expected not to satisfies "1.2.3+4" + is expected to satisfies "1.2.3+5" is expected not to satisfies "1.3.0" is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.3+5.build" + is expected to satisfies "1.2.3+99" when the last value in the constraint is for pre_release with a last non-numeric identifier - is expected to satisfies "1.2.3-omega.4" - is expected to satisfies "1.2.3-alpha.0" - is expected not to satisfies "1.2.3--" - is expected not to satisfies "1.2.3-4" - is expected to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3-omega" is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.3-4" + is expected to satisfies "1.2.3-alpha.0" + is expected to satisfies "1.2.3-omega.4" is expected not to satisfies "1.3.0" is expected to satisfies "1.2.3-beta" - is expected to satisfies "1.2.3-omega" + is expected to satisfies "1.2.3-alpha" + is expected not to satisfies "1.2.3--" when the last value in the constraint is for build with a last numeric identifier and a pre-release - is expected not to satisfies "1.2.3-beta" - is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3-alpha+10" is expected to satisfies "1.2.3-alpha+5" + is expected not to satisfies "1.2.3-alpha+-" + is expected not to satisfies "1.2.3-alpha+build" is expected not to satisfies "1.2.3-alpha.4+4" - is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.3.0" + is expected not to satisfies "1.2.3" is expected to satisfies "1.2.3-alpha+5.5" - is expected not to satisfies "1.2.3-alpha+build" - is expected to satisfies "1.2.3-alpha+10" - is expected not to satisfies "1.2.3-alpha+-" is expected not to satisfies "1.2.3-alpha.4" - when the last value in the constraint is for minor - is expected not to satisfies "2.0.0-0" - is expected not to satisfies "1.2.0-alpha" - is expected not to satisfies "1.1.0" - is expected not to satisfies "2.0.0" - is expected to satisfies "1.3.0" - is expected to satisfies "1.2.3" - is expected to satisfies "1.2.0" - is expected to satisfies "1.3" - is expected to satisfies "1.2.3+build" - greater than or equal to (>=) build constraint + is expected not to satisfies "1.2.3-beta" + strictly greater than (>) + is expected to satisfies "1.0.1" is expected to satisfies "1.0.0+build" is expected not to satisfies "1.0.0" - is expected to satisfies "2.0.0" - is expected not to satisfies "1.0.1-beta" - is expected not to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.1+build.2" is expected not to satisfies "0.9.9+build" + is expected to satisfies "1.0.1+build.2" is expected not to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.1" + is expected to satisfies "2.0.0" + is expected not to satisfies "1.0.0-alpha.2" + is expected not to satisfies "1.0.1-beta" strictly greater than (>) pre-release constraint - is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.1-beta" - is expected not to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.1+build.2" is expected to satisfies "2.0.0" is expected not to satisfies "0.9.9+build" - is expected to satisfies "1.0.0+build" is expected to satisfies "1.0.0" - is expected to satisfies "1.0.1" - greater than or equal to (>=) is expected to satisfies "1.0.1+build.2" - is expected not to satisfies "1.0.1-beta" is expected to satisfies "1.0.0+build" + is expected not to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0-alpha.2" is expected to satisfies "1.0.1" - is expected to satisfies "1.0.0" - is expected not to satisfies "1.0.0-alpha.2" + greater than or equal to (>=) build constraint is expected not to satisfies "1.0.0-alpha" - is expected not to satisfies "0.9.9+build" - is expected to satisfies "2.0.0" - lower than or equal to (<=) - is expected not to satisfies "1.0.1" + is expected to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.1-beta" is expected not to satisfies "1.0.0-alpha.2" - is expected to satisfies "0.9.9+build" is expected not to satisfies "1.0.0" - is expected not to satisfies "1.0.1+build.2" - is expected not to satisfies "1.0.1-beta" - is expected to satisfies "1.0.0-alpha" - is expected not to satisfies "2.0.0" - is expected not to satisfies "1.0.0+build" - greater than or equal to (>) zero pre-release constraint - is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.0+build" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.0" - is expected to satisfies "1.0.1+build.2" + is expected not to satisfies "0.9.9+build" is expected to satisfies "2.0.0" + is expected to satisfies "1.0.0+build" is expected to satisfies "1.0.1" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.1-beta" - lower than or equal to (<=) pre-release constraint - is expected not to satisfies "2.0.0" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.0-alpha.2" - is expected not to satisfies "1.0.1" - is expected not to satisfies "1.0.0+build" - is expected not to satisfies "1.0.1-beta" - is expected not to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.0" - is expected to satisfies "0.9.9+build" - strictly less than (<) - is expected not to satisfies "1.0.1" - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.0-alpha" - is expected not to satisfies "1.0.1+build.2" - is expected not to satisfies "1.0.1-beta" - is expected to satisfies "1.0.0-alpha.2" - is expected not to satisfies "1.0.0+build" - is expected not to satisfies "1.0.0" - is expected not to satisfies "2.0.0" greater than or equal to (>) zero build constraint - is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.1" - is expected to satisfies "1.0.0+build" is expected to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.0-alpha" - is expected to satisfies "1.0.0-alpha.2" - is expected to satisfies "1.0.1-beta" - is expected to satisfies "1.0.0" - is expected to satisfies "2.0.0" - greater than or equal to (>=) zero pre-release constraint - is expected to satisfies "1.0.0" is expected to satisfies "0.9.9+build" - is expected to satisfies "1.0.0-alpha.2" is expected to satisfies "1.0.1" - is expected to satisfies "1.0.1+build.2" - is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0" is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1-beta" is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.0-alpha.2" is expected to satisfies "2.0.0" - aproximately (~) - when the last value in the constraint is for minor - is expected to satisfies "1.2.3+build" - is expected to satisfies "1.3.0" - is expected not to satisfies "2.0.0" - is expected to satisfies "1.3" - is expected to satisfies "1.2.3" - is expected not to satisfies "1.1.0" - is expected not to satisfies "1.2.0-alpha" - is expected to satisfies "1.2.0" - is expected not to satisfies "2.0.0-0" + aproximately (~>) when the last value in the constraint is for patch - is expected to satisfies "1.2.3" - is expected not to satisfies "1.1.0" - is expected to satisfies "1.2.2" - is expected to satisfies "1.2.5+build" - is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.3.0-0" - is expected not to satisfies "1.3.0" - when the last value in the constraint is for build with a last numeric identifier - is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3+5.build" - is expected not to satisfies "1.2.3+4" - is expected not to satisfies "1.2.3+-" - is expected not to satisfies "1.2.3-alpha" - is expected not to satisfies "1.2.4" - is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3+99" - is expected not to satisfies "1.2.3+build" - is expected to satisfies "1.2.3+5" - when the last value in the constraint is for build with a last non-numeric identifier - is expected not to satisfies "1.2.4-0" - is expected to satisfies "1.2.3+build.5" + is expected not to satisfies "1.1.0" is expected not to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3+preview" - is expected not to satisfies "1.2.5" - is expected to satisfies "1.2.3+zzz" - is expected not to satisfies "1.2.3+5" - is expected to satisfies "1.2.3+build" is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.4" - is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.2" + is expected to satisfies "1.2.3" + is expected to satisfies "1.2.5+build" when the last value in the constraint is for build with a last non-numeric identifier and a pre-release - is expected to satisfies "1.2.3-alpha+zzz" + is expected not to satisfies "1.2.3-alphb" is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.3-alpha.4" + is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.2.3-beta" - is expected to satisfies "1.2.3-alpha+preview" is expected to satisfies "1.2.3-alpha+build.5" - is expected not to satisfies "1.2.3-alphb" - is expected not to satisfies "1.2.3-alpha.4+4" is expected to satisfies "1.2.3-alpha+build" - is expected not to satisfies "1.2.3-alpha" - is expected not to satisfies "1.2.3-alpha.4" is expected not to satisfies "1.3.0" + is expected to satisfies "1.2.3-alpha+preview" + is expected not to satisfies "1.2.3-alpha.4+4" + is expected to satisfies "1.2.3-alpha+zzz" when the last value in the constraint is for build with a last numeric identifier and a pre-release - is expected not to satisfies "1.3.0" is expected not to satisfies "1.2.3-alpha+build" + is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3-alpha+5.5" is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.2.3-alpha+-" is expected to satisfies "1.2.3-alpha+10" - is expected not to satisfies "1.2.3-alpha.4+4" is expected to satisfies "1.2.3-alpha+5" - is expected to satisfies "1.2.3-alpha+5.5" + is expected not to satisfies "1.2.3-alpha.4" + is expected not to satisfies "1.2.3-alpha.4+4" is expected not to satisfies "1.2.3-beta" + is expected not to satisfies "1.3.0" + when the last value in the constraint is for pre_release with a last non-numeric identifier is expected not to satisfies "1.2.3" - is expected not to satisfies "1.2.3-alpha.4" - is expected not to satisfies "1.2.3-alpha+-" + is expected not to satisfies "1.2.3-4" + is expected to satisfies "1.2.3-omega" + is expected not to satisfies "1.2.3--" + is expected to satisfies "1.2.3-beta" + is expected to satisfies "1.2.3-omega.4" + is expected not to satisfies "1.3.0" + is expected to satisfies "1.2.3-alpha.0" + is expected to satisfies "1.2.3-alpha" + when the last value in the constraint is for minor + is expected to satisfies "1.3" + is expected to satisfies "1.2.3+build" + is expected to satisfies "1.2.0" + is expected not to satisfies "1.1.0" + is expected to satisfies "1.2.3" + is expected not to satisfies "2.0.0-0" + is expected not to satisfies "1.2.0-alpha" + is expected to satisfies "1.3.0" + is expected not to satisfies "2.0.0" when the last value in the constraint is for pre_release with a last numeric identifier - is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3-4" is expected not to satisfies "1.3.0" - is expected to satisfies "1.2.3-10.5+build.33" is expected not to satisfies "1.2.4" - is expected to satisfies "1.2.3-10" + is expected not to satisfies "1.2.3-alpha" is expected not to satisfies "1.2.3--" - is expected to satisfies "1.2.3-4" + is expected to satisfies "1.2.3-10" is expected not to satisfies "1.2.3" - is expected not to satisfies "1.2.3-alpha" - when the last value in the constraint is for pre_release with a last non-numeric identifier + is expected to satisfies "1.2.3-10.5+build.33" is expected not to satisfies "1.2.3" - is expected to satisfies "1.2.3-alpha" - is expected to satisfies "1.2.3-omega.4" - is expected to satisfies "1.2.3-alpha.0" - is expected to satisfies "1.2.3-omega" - is expected to satisfies "1.2.3-beta" - is expected not to satisfies "1.2.3-4" + when the last value in the constraint is for build with a last numeric identifier + is expected not to satisfies "1.2.3+-" + is expected to satisfies "1.2.3+5" + is expected not to satisfies "1.2.3+build" is expected not to satisfies "1.3.0" - is expected not to satisfies "1.2.3--" + is expected not to satisfies "1.2.4" + is expected not to satisfies "1.2.3+4" + is expected not to satisfies "1.2.3" + is expected not to satisfies "1.2.3-alpha" + is expected not to satisfies "1.2.3+5.build" + is expected to satisfies "1.2.3+99" + when the last value in the constraint is for build with a last non-numeric identifier + is expected not to satisfies "1.3.0" + is expected not to satisfies "1.2.5" + is expected not to satisfies "1.2.3-alpha" + is expected to satisfies "1.2.3+preview" + is expected to satisfies "1.2.3+build" + is expected not to satisfies "1.2.3" + is expected to satisfies "1.2.3+build.5" + is expected not to satisfies "1.2.4-0" + is expected not to satisfies "1.2.4" + is expected not to satisfies "1.2.3+5" + is expected to satisfies "1.2.3+zzz" + strictly greater than (>) build constraint + is expected not to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1" + is expected not to satisfies "1.0.0" + is expected not to satisfies "1.0.0-alpha.2" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.1+build.2" + is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "0.9.9+build" + is expected not to satisfies "1.0.0+build" + strictly less than (<) pre-release constraint + is expected to satisfies "1.0.0-alpha" + is expected not to satisfies "1.0.1+build.2" + is expected not to satisfies "2.0.0" + is expected not to satisfies "1.0.1" + is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "1.0.0+build" + is expected to satisfies "1.0.0-alpha.2" + is expected not to satisfies "1.0.0" + is expected to satisfies "0.9.9+build" + greater than or equal to (>=) zero pre-release constraint + is expected to satisfies "1.0.1" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.0+build" + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.0" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0-alpha" + greater than or equal to (>) zero constraint + is expected to satisfies "1.0.1" + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.0" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.0-alpha" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.1-beta" + strictly less than (<) build constraint + is expected not to satisfies "1.0.1-beta" + is expected not to satisfies "2.0.0" + is expected not to satisfies "1.0.1+build.2" + is expected to satisfies "0.9.9+build" + is expected not to satisfies "1.0.1" + is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.0" + greater than or equal to (>=) zero constraint + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0" + is expected to satisfies "1.0.0+build" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1" + is expected to satisfies "1.0.1+build.2" + is expected to satisfies "1.0.0-alpha.2" + lower than or equal to (<=) + is expected not to satisfies "1.0.0-alpha.2" + is expected not to satisfies "1.0.0" + is expected not to satisfies "1.0.0+build" + is expected not to satisfies "1.0.1" + is expected to satisfies "1.0.0-alpha" + is expected to satisfies "0.9.9+build" + is expected not to satisfies "1.0.1+build.2" + is expected not to satisfies "2.0.0" + is expected not to satisfies "1.0.1-beta" + strictly equal to (=) + is expected not to satisfies "0.9.9+build" + is expected to satisfies "1.0.0" + is expected not to satisfies "1.0.0-alpha" + is expected not to satisfies "1.0.1" + greater than or equal to (>) zero pre-release constraint + is expected to satisfies "1.0.0" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.0-alpha" + is expected to satisfies "1.0.1" + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.1+build.2" + greater than or equal to (>=) zero build constraint + is expected to satisfies "1.0.0" + is expected to satisfies "1.0.1" + is expected to satisfies "2.0.0" + is expected to satisfies "1.0.1-beta" + is expected to satisfies "1.0.0+build" + is expected to satisfies "1.0.0-alpha.2" + is expected to satisfies "1.0.0-alpha" + is expected to satisfies "0.9.9+build" + is expected to satisfies "1.0.1+build.2" ClassMethods + ::new + falls back to a default constraint if nil is provided + assigns the parsed operator to the operator attribute + returns a new instance of Constraint + assigns the parsed operator to the operator attribute with no separation between operator and version + assigns the parsed version string as an instance of Version to the version attribute + fall sback to a default constraint if a blank string is provided + given a constraint that does not include a patch version (=) + has a 0 for patch + given a constraint that does not include a build version + has a nil value for build + given a constraint that does not include a pre release version + has a nil value for pre release + given a constraint that does not include a minor version (=) + has a 0 for minor + given a constraint that does not include a patch version (~>) + has a nil value for patch + given a string that does not match the Constraint REGEXP + raises an InvalidConstraintFormat error + given a constraint that does not include a minor version (~>) + has a nil value for patch + has a nil value for minor ::split - given a constraint containing the elements (operator, major, minor) - returns an array with a nil value at index 4 - returns an array with a nil value at index 3 - returns an array with the minor version at index 2 - returns an array with the major version in index 1 - returns an array with a nil value at index 5 - returns an array with the constraint operator at index 0 given a constraint containing the elements (operator, major) - returns an array with the constraint operator at index 0 - returns an array with a nil value at index 5 - returns an array with a nil value at index 2 returns an array with the major version in index 1 returns an array with a nil value at index 3 + returns an array with a nil value at index 2 returns an array with a nil value at index 4 - given a string that does not match the Constraint REGEXP - raises an InvalidConstraintFormat error - given a constraint containing the elements (operator, major, minor, patch) - returns an array with a nil value at index 4 - returns an array with the minor version at index 2 returns an array with a nil value at index 5 - returns an array with the patch version at index 3 - returns an array with the major version in index 1 returns an array with the constraint operator at index 0 given a constraint which is missing an operator returns an equality operator at index 0 + given a constraint containing the elements (operator, major, minor, patch, pre_release, build) + returns an array with the build version at index 5 + returns an array with the pre release version at index 4 + returns an array with the constraint operator at index 0 + returns an array with the major version in index 1 + returns an array with the minor version at index 2 + returns an array with the patch version at index 3 given a constraint containing the elements (operator, major, minor, patch, pre_release) returns an array with the major version in index 1 - returns an array with a nil value at index 5 returns an array with the minor version at index 2 - returns an array with the pre release version at index 4 returns an array with the constraint operator at index 0 + returns an array with the pre release version at index 4 + returns an array with a nil value at index 5 returns an array with the patch version at index 3 + given a constraint containing the elements (operator, major, minor) + returns an array with the major version in index 1 + returns an array with a nil value at index 4 + returns an array with a nil value at index 3 + returns an array with the constraint operator at index 0 + returns an array with the minor version at index 2 + returns an array with a nil value at index 5 given a string that does not contain an operator returns a constraint constraint with a default operator (=) - given a constraint containing the elements (operator, major, minor, patch, pre_release, build) - returns an array with the patch version at index 3 + given a string that does not match the Constraint REGEXP + raises an InvalidConstraintFormat error + given a constraint containing the elements (operator, major, minor, patch) returns an array with the major version in index 1 - returns an array with the build version at index 5 - returns an array with the minor version at index 2 returns an array with the constraint operator at index 0 - returns an array with the pre release version at index 4 + returns an array with a nil value at index 4 + returns an array with the minor version at index 2 + returns an array with a nil value at index 5 + returns an array with the patch version at index 3 + #to_s + is expected to eq ">= 1.2.3-alpha+123" + when the constraint contains a pre_release value + is expected to eq ">= 1.2.0+123" + when the constraint does not contain a build value + is expected to eq ">= 1.2.0-alpha" + when the constraint does not contain a patch value + is expected to eq "~> 1.2" + when the constraint does not contain a minor or patch value + is expected to eq "~> 1" + +Semverse::Version + #pre_release? + when no pre-release value is set + is expected to equal false + when a pre-release value is set + is expected to equal true + #<=> + compares versions + ClassMethods + ::coerce + returns an object of the desired class without any additional processing + coerces a String to a Version object + ::split + returns an array containing 5 elements + raises an InvalidVersionFormat error + given a string only containing a major, minor and patch version + returns nil as fifth element + returns nil as fourth element + returns an array containing 4 elements + given a string with only a major version + converts the second element to 0 if it's nil or blank + returns 0 as the second element + returns an array containing 3 elements + returns 0 as the third element + given a string only containing a major and minor version + returns an array containing 4 elements + converts the third element to 0 if it's nil or blank + returns 0 as the third element ::new - returns a new instance of Constraint - falls back to a default constraint if nil is provided - assigns the parsed operator to the operator attribute - assigns the parsed version string as an instance of Version to the version attribute - fall sback to a default constraint if a blank string is provided - assigns the parsed operator to the operator attribute with no separation between operator and version - given a constraint that does not include a patch version (~>) - has a nil value for patch - given a constraint that does not include a pre release version - has a nil value for pre release - given a constraint that does not include a patch version (=) - has a 0 for patch - given a constraint that does not include a build version - has a nil value for build - given a constraint that does not include a minor version (=) - has a 0 for minor - given a string that does not match the Constraint REGEXP - raises an InvalidConstraintFormat error - given a constraint that does not include a minor version (~>) - has a nil value for minor - has a nil value for patch - #== - returns false if the other object is not a Semverse::Constraint - returns true if the other object is a Semverse::Constraint with the same operator and version - returns false if the other object is a Semverse::Constraint with the same version and different operator - returns false if the other object is a Semverse::Constraint with the same operator and different version + a two element array + doesn't assigns a pre_release value + assigns a major value + assigns a minor value + sets the patch value to 0 (zero) + doesn't assigns a build value + a four element array + assigns a major value + assigns a minor value + doesn't assigns a build value + assigns a pre_release value + assigns a patch value + a string containing a major, minor, and patch separated by periods + doesn't assigns a pre_release value + assigns a patch value + doesn't assigns a build value + assigns a minor value + assigns a major value + a three element array + doesn't assigns a pre_release value + doesn't assigns a build value + assigns a major value + assigns a patch value + assigns a minor value + a string containing a major, minor and patch separated by periods a pre-release and a build + assigns a patch value + assigns a major value + assigns a pre_release value + assigns a build value + assigns a minor value + a string containing a major, minor and patch separated by periods and a build + assigns a minor value + assigns a major value + assigns a build value + assigns a patch value + doesn't assigns a pre_release value + a one element array + sets the patch value to 0 (zero) + assigns the major value + doesn't assigns a pre_release value + sets the minor value to 0 (zero) + doesn't assigns a build value + an empty array + doesn't assigns a pre_release value + sets the majro value to 0 (zero) + doesn't assigns a build value + sets the patch value to 0 (zero) + sets the minor value to 0 (zero) + a five element array + assigns a major value + doesn't assigns a pre_release value + assigns a minor value + assigns a build value + assigns a patch value + #zero? + major is not equal to 0 + is expected to equal false + minor is not equal to 0 + is expected to equal false + patch is not equal to 0 + is expected to equal false + major, minor and patch are equal to 0 + is expected to equal true + #to_s + returns a string containing the major.minor.patch-pre_release+build -Finished in 1.46 seconds (files took 1.22 seconds to load) +Finished in 0.97349 seconds (files took 0.79421 seconds to load) 445 examples, 0 failures -Randomized with seed 56321 +Randomized with seed 18292 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1533,12 +1572,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/26247/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/26247/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/7134 and its subdirectories -I: Current time: Sun May 7 03:39:22 -12 2023 -I: pbuilder-time-stamp: 1683473962 +I: removing directory /srv/workspace/pbuilder/26247 and its subdirectories +I: Current time: Mon May 8 05:42:15 +14 2023 +I: pbuilder-time-stamp: 1683474135