Diff of the two buildlogs: -- --- b1/build.log 2023-04-26 11:13:01.196104277 +0000 +++ b2/build.log 2023-04-26 11:17:17.060752277 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Apr 25 23:09:47 -12 2023 -I: pbuilder-time-stamp: 1682507387 +I: Current time: Wed May 29 07:36:04 +14 2024 +I: pbuilder-time-stamp: 1716917764 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-mixlib-versioning_1.1.0.orig.tar.gz] I: copying [./ruby-mixlib-versioning_1.1.0-1.1.debian.tar.xz] I: Extracting source -gpgv: Signature made Wed Jan 6 05:13:52 2021 -12 +gpgv: Signature made Thu Jan 7 07:13:52 2021 +14 gpgv: using RSA key B8BF54137B09D35CF026FE9D091AB856069AAA1C gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./ruby-mixlib-versioning_1.1.0-1.1.dsc: no acceptable signature found @@ -29,135 +29,167 @@ dpkg-source: info: applying 0003-Convert-specs-to-RSpec-2.99.2-syntax-with-Transpec.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/878180/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2053298/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +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 29 07:36 /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/2053298/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2053298/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-linux-gnu") + 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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='52b574c725034a8993923eaca504d4b3' - 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='878180' - PS1='# ' - PS2='> ' + INVOCATION_ID=80511d3bcdd140feb29f073f9fe62243 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=2053298 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.lWeXxpSx/pbuilderrc_qsn9 --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.lWeXxpSx/b1 --logfile b1/build.log ruby-mixlib-versioning_1.1.0-1.1.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + 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.lWeXxpSx/pbuilderrc_FY59 --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.lWeXxpSx/b2 --logfile b2/build.log --extrapackages usrmerge ruby-mixlib-versioning_1.1.0-1.1.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 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 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 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 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 01:20 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 22: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 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 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 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 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 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 09:23 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 04:31 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 04:31 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 22: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/878180/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 2023 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 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 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 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 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 2023 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 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 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 2023 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 2023 sed + lrwxrwxrwx 1 root root 9 May 29 07:36 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 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/2053298/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -333,7 +365,7 @@ Get: 130 http://deb.debian.org/debian bookworm/main amd64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.5 kB] Get: 131 http://deb.debian.org/debian bookworm/main amd64 ruby-rspec all 3.12.0c0e1m1s0-1 [5084 B] Get: 132 http://deb.debian.org/debian bookworm/main amd64 ruby-rspec-its all 1.3.0-1 [6864 B] -Fetched 46.7 MB in 2s (20.8 MB/s) +Fetched 46.7 MB in 2s (26.7 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19596 files and directories currently installed.) @@ -887,10 +919,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-mixlib-versioning-1.1.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-mixlib-versioning_1.1.0-1.1_source.changes +I: user script /srv/workspace/pbuilder/2053298/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/2053298/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/ruby-mixlib-versioning-1.1.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-mixlib-versioning_1.1.0-1.1_source.changes dpkg-buildpackage: info: source package ruby-mixlib-versioning dpkg-buildpackage: info: source version 1.1.0-1.1 dpkg-buildpackage: info: source distribution unstable @@ -967,226 +1006,7 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 25416 - -Mixlib::Versioning::Format::Rubygems - it should behave like Basic SemVer - has behavior: rejects invalid version strings - a.1.1 - fails because: non-numeric MAJOR - 1.1.a - fails because: non-numeric PATCH - 1.a.1 - fails because: non-numeric MINOR - has behavior: parses valid version strings - 1.2.3 - major - is expected to eq 1 - build - is expected to eq nil - prerelease? - is expected to eq false - prerelease_build? - is expected to eq false - prerelease - is expected to eq nil - release? - is expected to eq true - release_build? - is expected to eq false - build? - is expected to eq false - patch - is expected to eq 3 - minor - is expected to eq 2 - has behavior: filterable - filters by pre-release versions only - filters by pre-release build versions only - filters by release versions only - filters by build versions only - filters by release build versions only - has behavior: parses valid version strings - 11.0.8-33 - major - is expected to eq 11 - patch - is expected to eq 8 - prerelease_build? - is expected to eq false - prerelease? - is expected to eq false - iteration - is expected to eq 33 - release? - is expected to eq true - build - is expected to eq nil - release_build? - is expected to eq false - build? - is expected to eq false - prerelease - is expected to eq nil - minor - is expected to eq 0 - 10.1.1 - build? - is expected to eq false - major - is expected to eq 10 - iteration - is expected to eq 0 - prerelease_build? - is expected to eq false - release_build? - is expected to eq false - build - is expected to eq nil - patch - is expected to eq 1 - prerelease? - is expected to eq false - prerelease - is expected to eq nil - minor - is expected to eq 1 - release? - is expected to eq true - 11.0.8.rc.3 - patch - is expected to eq 8 - prerelease - is expected to eq "rc.3" - prerelease_build? - is expected to eq false - release? - is expected to eq false - major - is expected to eq 11 - release_build? - is expected to eq false - build - is expected to eq nil - prerelease? - is expected to eq true - minor - is expected to eq 0 - build? - is expected to eq false - iteration - is expected to eq 0 - 10.1.1.alpha.1 - major - is expected to eq 10 - prerelease? - is expected to eq true - minor - is expected to eq 1 - release? - is expected to eq false - iteration - is expected to eq 0 - prerelease - is expected to eq "alpha.1" - build? - is expected to eq false - build - is expected to eq nil - release_build? - is expected to eq false - prerelease_build? - is expected to eq false - patch - is expected to eq 1 - 11.0.8.rc.3-1 - build? - is expected to eq false - release? - is expected to eq false - prerelease_build? - is expected to eq false - prerelease - is expected to eq "rc.3" - prerelease? - is expected to eq true - patch - is expected to eq 8 - build - is expected to eq nil - minor - is expected to eq 0 - iteration - is expected to eq 1 - release_build? - is expected to eq false - major - is expected to eq 11 - has behavior: rejects invalid version strings - 1.1.1-rutro - fails because: dash for pre-release delimeter - has behavior: serializable - #to_rubygems_string - generates a rubygems version string for 1.0.0.alpha.1 - generates a rubygems version string for 1.0.0.beta - generates a rubygems version string for 1.0.0 - #to_semver_string - generates a semver version string for 1.0.0.beta - generates a semver version string for 1.0.0.alpha.1 - generates a semver version string for 1.0.0 - #to_s - reconstructs the initial input for 1.0.0.beta - reconstructs the initial input for 1.0.0.alpha.1 - reconstructs the initial input for 1.0.0 - has behavior: sortable - sorts all properly - finds the max - finds the min - responds to <=> - has behavior: comparable - #> - confirms that 0.2.0 is greather-than 0.1.0 - confirms that 1.2.3.alpha.1 is greather-than 1.2.3.alpha - confirms that 3.1.2 is greather-than 3.1.2.rc.42 - confirms that 3.0.0.rc.1 is greather-than 3.0.0.beta.1 - confirms that 2.4.5.beta is greather-than 2.4.5.alpha - confirms that 1.0.0 is greather-than 1.0.0.alpha.1 - #>= - confirms that 3.1.2 greater-than or equal to 3.1.2.rc.42 - confirms that 1.2.3.alpha.1 greater-than or equal to 1.2.3.alpha - confirms that 1.0.0 greater-than or equal to 1.0.0.alpha.1 - confirms that 3.0.0.rc.1 greater-than or equal to 3.0.0.beta.1 - confirms that 2.4.5.beta greater-than or equal to 2.4.5.alpha - confirms that 0.2.0 greater-than or equal to 0.1.0 - #== - confirms that 3.0.0.rc.1 is equal to 3.0.0.rc.1 - confirms that 0.2.0 is equal to 0.2.0 - confirms that 0.1.0 is equal to 0.1.0 - confirms that 1.0.0 is equal to 1.0.0 - confirms that 1.2.3.alpha is equal to 1.2.3.alpha - confirms that 3.0.0.beta.1 is equal to 3.0.0.beta.1 - confirms that 1.0.0.alpha.1 is equal to 1.0.0.alpha.1 - confirms that 3.1.2 is equal to 3.1.2 - confirms that 1.2.3.alpha.1 is equal to 1.2.3.alpha.1 - confirms that 3.1.2.rc.42 is equal to 3.1.2.rc.42 - confirms that 2.4.5.alpha is equal to 2.4.5.alpha - confirms that 2.4.5.beta is equal to 2.4.5.beta - #between? - comfirms that a version is between the oldest and latest release - #<= - confirms that 3.0.0.beta.1 less-than or equal to 3.0.0.rc.1 - confirms that 3.1.2.rc.42 less-than or equal to 3.1.2 - confirms that 1.2.3.alpha less-than or equal to 1.2.3.alpha.1 - confirms that 2.4.5.alpha less-than or equal to 2.4.5.beta - confirms that 0.1.0 less-than or equal to 0.2.0 - confirms that 1.0.0.alpha.1 less-than or equal to 1.0.0 - #< - confirms that 1.2.3.alpha is less-than 1.2.3.alpha.1 - confirms that 3.0.0.beta.1 is less-than 3.0.0.rc.1 - confirms that 3.1.2.rc.42 is less-than 3.1.2 - confirms that 2.4.5.alpha is less-than 2.4.5.beta - confirms that 0.1.0 is less-than 0.2.0 - confirms that 1.0.0.alpha.1 is less-than 1.0.0 +Randomized with seed 29943 Mixlib::Versioning::Format .for @@ -1208,27 +1028,107 @@ descendants must override #parse Mixlib::Versioning + .parse + parsing with automatic format detection + 10.16.2-49-g21353f0 + parses version string as: Mixlib::Versioning::Format::GitDescribe + 11.0.8-1 + parses version string as: Mixlib::Versioning::Format::SemVer + 10.18.2.poop + parses version string as: Mixlib::Versioning::Format::Rubygems + 10.16.2-49-g21353f0-1 + parses version string as: Mixlib::Versioning::Format::GitDescribe + 10.18.2 + parses version string as: Mixlib::Versioning::Format::SemVer + 10.18.2.poop-1 + parses version string as: Mixlib::Versioning::Format::Rubygems + 12.1.1+20130311134422 + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + 11.0.8.rc.1-1 + parses version string as: Mixlib::Versioning::Format::Rubygems + 11.0.8.rc.1 + parses version string as: Mixlib::Versioning::Format::Rubygems + 12.1.1+20130308110833.git.2.94a1dde + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + 10.16.2-rc.2-49-g21353f0 + parses version string as: Mixlib::Versioning::Format::GitDescribe + 12.1.1-rc.3+20130311134422 + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + 10.18.2-poop + parses version string as: Mixlib::Versioning::Format::SemVer + 10.16.2.rc.2-49-g21353f0 + parses version string as: Mixlib::Versioning::Format::GitDescribe + 11.0.8 + parses version string as: Mixlib::Versioning::Format::SemVer + version_string cannot be parsed + returns nil + 11.0.8-rc.1 + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + parsing an Mixlib::Versioning::Format object + returns the same object + parsing when format type is specified + 11.1.1 as Mixlib::Versioning::Format::Rubygems + format type as a: String + parses version string as: Mixlib::Versioning::Format::Rubygems + format type as a: Symbol + parses version string as: Mixlib::Versioning::Format::Rubygems + format type as a: Class + parses version string as: Mixlib::Versioning::Format::Rubygems + 11.1.1-alpha.1 as Mixlib::Versioning::Format::OpscodeSemVer + format type as a: Symbol + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + format type as a: String + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + format type as a: Class + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + 11.1.1.alpha.1 as Mixlib::Versioning::Format::Rubygems + format type as a: String + parses version string as: Mixlib::Versioning::Format::Rubygems + format type as a: Class + parses version string as: Mixlib::Versioning::Format::Rubygems + format type as a: Symbol + parses version string as: Mixlib::Versioning::Format::Rubygems + 11.1.1-rc.2 as Mixlib::Versioning::Format::SemVer + format type as a: Class + parses version string as: Mixlib::Versioning::Format::SemVer + format type as a: Symbol + parses version string as: Mixlib::Versioning::Format::SemVer + format type as a: String + parses version string as: Mixlib::Versioning::Format::SemVer + invalid format type specified + invalid format as a: Class + raises a Mixlib::Versioning::UnknownFormatError + invalid format as a: String + raises a Mixlib::Versioning::UnknownFormatError + invalid format as a: Symbol + raises a Mixlib::Versioning::UnknownFormatError + 11.0.8 as Mixlib::Versioning::Format::SemVer + format type as a: Class + parses version string as: Mixlib::Versioning::Format::SemVer + format type as a: String + parses version string as: Mixlib::Versioning::Format::SemVer + format type as a: Symbol + parses version string as: Mixlib::Versioning::Format::SemVer + when formats are given + when the format is not in the list + returns nil when the array contains a symbol + returns nil when the array contains a string + returns nil when the array contains a Mixlib::Versioning::Format + when the format is in the list + returns nil when the array contains a Mixlib::Versioning::Format + returns nil when the array contains a string + returns nil when the array contains a symbol .find_target_version - all_versions argument is a mix of String and Mixlib::Versioning::Format instances - correctly parses the array - filter version of: + filter version of: 11.0.2 finds the most recent release version include build versions finds the most recent build version - include pre-release and build versions - finds the most recent pre-release build version - include pre-release versions - finds the most recent pre-release version - filter_version argument is an instance of Mixlib::Versioning::Format - finds the correct version - filter version of: 11.0.2-alpha.0 - finds the most recent release version include pre-release versions finds the most recent pre-release version include pre-release and build versions finds the most recent pre-release build version - include build versions - finds the most recent build version + all_versions argument is a mix of String and Mixlib::Versioning::Format instances + correctly parses the array filter version of: 11.0.0 finds the most recent release version include pre-release and build versions @@ -1237,831 +1137,970 @@ finds the most recent pre-release version include build versions finds the most recent build version - filter version of: 11.0.2 + filter version of: finds the most recent release version + include pre-release versions + finds the most recent pre-release version + include pre-release and build versions + finds the most recent pre-release build version include build versions finds the most recent build version + filter version of: 11.0.2-alpha.0 + finds the most recent release version include pre-release versions finds the most recent pre-release version include pre-release and build versions finds the most recent pre-release build version - .parse - when formats are given - when the format is not in the list - returns nil when the array contains a string - returns nil when the array contains a symbol - returns nil when the array contains a Mixlib::Versioning::Format - when the format is in the list - returns nil when the array contains a symbol - returns nil when the array contains a string - returns nil when the array contains a Mixlib::Versioning::Format - parsing when format type is specified - invalid format type specified - invalid format as a: Symbol - raises a Mixlib::Versioning::UnknownFormatError - invalid format as a: Class - raises a Mixlib::Versioning::UnknownFormatError - invalid format as a: String - raises a Mixlib::Versioning::UnknownFormatError - 11.1.1-alpha.1 as Mixlib::Versioning::Format::OpscodeSemVer - format type as a: Symbol - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - format type as a: String - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - format type as a: Class - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 11.0.8 as Mixlib::Versioning::Format::SemVer - format type as a: Class - parses version string as: Mixlib::Versioning::Format::SemVer - format type as a: String - parses version string as: Mixlib::Versioning::Format::SemVer - format type as a: Symbol - parses version string as: Mixlib::Versioning::Format::SemVer - 11.1.1-rc.2 as Mixlib::Versioning::Format::SemVer - format type as a: Class - parses version string as: Mixlib::Versioning::Format::SemVer - format type as a: String - parses version string as: Mixlib::Versioning::Format::SemVer - format type as a: Symbol - parses version string as: Mixlib::Versioning::Format::SemVer - 11.1.1 as Mixlib::Versioning::Format::Rubygems - format type as a: String - parses version string as: Mixlib::Versioning::Format::Rubygems - format type as a: Class - parses version string as: Mixlib::Versioning::Format::Rubygems - format type as a: Symbol - parses version string as: Mixlib::Versioning::Format::Rubygems - 11.1.1.alpha.1 as Mixlib::Versioning::Format::Rubygems - format type as a: Symbol - parses version string as: Mixlib::Versioning::Format::Rubygems - format type as a: Class - parses version string as: Mixlib::Versioning::Format::Rubygems - format type as a: String - parses version string as: Mixlib::Versioning::Format::Rubygems - parsing an Mixlib::Versioning::Format object - returns the same object - parsing with automatic format detection - 12.1.1+20130308110833.git.2.94a1dde - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 12.1.1+20130311134422 - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 10.18.2-poop - parses version string as: Mixlib::Versioning::Format::SemVer - 10.18.2 - parses version string as: Mixlib::Versioning::Format::SemVer - 10.18.2.poop - parses version string as: Mixlib::Versioning::Format::Rubygems - 11.0.8 - parses version string as: Mixlib::Versioning::Format::SemVer - version_string cannot be parsed - returns nil - 11.0.8-rc.1 - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 10.18.2.poop-1 - parses version string as: Mixlib::Versioning::Format::Rubygems - 11.0.8.rc.1-1 - parses version string as: Mixlib::Versioning::Format::Rubygems - 11.0.8-1 - parses version string as: Mixlib::Versioning::Format::SemVer - 11.0.8.rc.1 - parses version string as: Mixlib::Versioning::Format::Rubygems - 10.16.2-49-g21353f0-1 - parses version string as: Mixlib::Versioning::Format::GitDescribe - 10.16.2.rc.2-49-g21353f0 - parses version string as: Mixlib::Versioning::Format::GitDescribe - 10.16.2-49-g21353f0 - parses version string as: Mixlib::Versioning::Format::GitDescribe - 12.1.1-rc.3+20130311134422 - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 10.16.2-rc.2-49-g21353f0 - parses version string as: Mixlib::Versioning::Format::GitDescribe + include build versions + finds the most recent build version + filter_version argument is an instance of Mixlib::Versioning::Format + finds the correct version -Mixlib::Versioning::Format::GitDescribe +Mixlib::Versioning::Format::Rubygems has behavior: parses valid version strings - 10.16.2.rc.1-49-g21353f0-1 - major - is expected to eq 10 - release? - is expected to eq false + 11.0.8-33 patch - is expected to eq 2 - release_build? + is expected to eq 8 + minor + is expected to eq 0 + release? + is expected to eq true + prerelease_build? is expected to eq false - commit_sha - is expected to eq "21353f0" - iteration - is expected to eq 1 build - is expected to eq "49.g21353f0.1" - commits_since - is expected to eq 49 - prerelease_build? - is expected to eq true + is expected to eq nil prerelease? is expected to eq false - prerelease - is expected to eq "rc.1" + major + is expected to eq 11 build? - is expected to eq true - minor - is expected to eq 16 - 0.10.8-231-g59d6185 - commits_since - is expected to eq 231 - iteration - is expected to eq 0 - release_build? - is expected to eq true + is expected to eq false prerelease is expected to eq nil - build? - is expected to eq true - prerelease? + release_build? is expected to eq false - minor - is expected to eq 10 + iteration + is expected to eq 33 + 10.1.1.alpha.1 + prerelease? + is expected to eq true + prerelease + is expected to eq "alpha.1" prerelease_build? is expected to eq false - major - is expected to eq 0 - commit_sha - is expected to eq "59d6185" + minor + is expected to eq 1 patch - is expected to eq 8 - build - is expected to eq "231.g59d6185.0" - release? + is expected to eq 1 + release_build? is expected to eq false - 10.16.2-alpha-49-g21353f0 iteration is expected to eq 0 major is expected to eq 10 - commits_since - is expected to eq 49 - prerelease - is expected to eq "alpha" - minor - is expected to eq 16 - patch - is expected to eq 2 - release_build? + build + is expected to eq nil + build? is expected to eq false - prerelease? + release? is expected to eq false - commit_sha - is expected to eq "21353f0" + 11.0.8.rc.3-1 build - is expected to eq "49.g21353f0.0" - release? + is expected to eq nil + prerelease_build? is expected to eq false build? - is expected to eq true - prerelease_build? - is expected to eq true - 10.16.2-alpha-49-g21353f0-1 + is expected to eq false + prerelease + is expected to eq "rc.3" + release_build? + is expected to eq false + minor + is expected to eq 0 major - is expected to eq 10 - prerelease_build? - is expected to eq true - commit_sha - is expected to eq "21353f0" + is expected to eq 11 + patch + is expected to eq 8 release? is expected to eq false - release_build? + iteration + is expected to eq 1 + prerelease? + is expected to eq true + 11.0.8.rc.3 + prerelease_build? is expected to eq false prerelease - is expected to eq "alpha" + is expected to eq "rc.3" + major + is expected to eq 11 build? - is expected to eq true - minor - is expected to eq 16 - prerelease? + is expected to eq false + release_build? + is expected to eq false + release? is expected to eq false iteration - is expected to eq 1 + is expected to eq 0 + prerelease? + is expected to eq true patch - is expected to eq 2 + is expected to eq 8 + minor + is expected to eq 0 build - is expected to eq "49.g21353f0.1" - commits_since - is expected to eq 49 - 10.16.2-49-g21353f0-1 - commit_sha - is expected to eq "21353f0" - prerelease? - is expected to eq false - commits_since - is expected to eq 49 + is expected to eq nil + 10.1.1 prerelease_build? is expected to eq false - build - is expected to eq "49.g21353f0.1" + release_build? + is expected to eq false prerelease is expected to eq nil + build + is expected to eq nil release? - is expected to eq false - release_build? is expected to eq true build? - is expected to eq true + is expected to eq false minor - is expected to eq 16 - patch - is expected to eq 2 - iteration is expected to eq 1 + prerelease? + is expected to eq false major is expected to eq 10 + patch + is expected to eq 1 + iteration + is expected to eq 0 has behavior: filterable filters by release versions only - filters by pre-release versions only filters by release build versions only + filters by pre-release versions only filters by build versions only filters by pre-release build versions only + has behavior: comparable + #<= + confirms that 2.4.5.alpha less-than or equal to 2.4.5.beta + confirms that 0.1.0 less-than or equal to 0.2.0 + confirms that 1.0.0.alpha.1 less-than or equal to 1.0.0 + confirms that 1.2.3.alpha less-than or equal to 1.2.3.alpha.1 + confirms that 3.0.0.beta.1 less-than or equal to 3.0.0.rc.1 + confirms that 3.1.2.rc.42 less-than or equal to 3.1.2 + #> + confirms that 2.4.5.beta is greather-than 2.4.5.alpha + confirms that 1.0.0 is greather-than 1.0.0.alpha.1 + confirms that 1.2.3.alpha.1 is greather-than 1.2.3.alpha + confirms that 3.0.0.rc.1 is greather-than 3.0.0.beta.1 + confirms that 0.2.0 is greather-than 0.1.0 + confirms that 3.1.2 is greather-than 3.1.2.rc.42 + #>= + confirms that 2.4.5.beta greater-than or equal to 2.4.5.alpha + confirms that 1.2.3.alpha.1 greater-than or equal to 1.2.3.alpha + confirms that 3.0.0.rc.1 greater-than or equal to 3.0.0.beta.1 + confirms that 3.1.2 greater-than or equal to 3.1.2.rc.42 + confirms that 1.0.0 greater-than or equal to 1.0.0.alpha.1 + confirms that 0.2.0 greater-than or equal to 0.1.0 + #== + confirms that 3.1.2 is equal to 3.1.2 + confirms that 0.1.0 is equal to 0.1.0 + confirms that 2.4.5.alpha is equal to 2.4.5.alpha + confirms that 0.2.0 is equal to 0.2.0 + confirms that 3.0.0.rc.1 is equal to 3.0.0.rc.1 + confirms that 3.0.0.beta.1 is equal to 3.0.0.beta.1 + confirms that 2.4.5.beta is equal to 2.4.5.beta + confirms that 3.1.2.rc.42 is equal to 3.1.2.rc.42 + confirms that 1.0.0.alpha.1 is equal to 1.0.0.alpha.1 + confirms that 1.0.0 is equal to 1.0.0 + confirms that 1.2.3.alpha is equal to 1.2.3.alpha + confirms that 1.2.3.alpha.1 is equal to 1.2.3.alpha.1 + #< + confirms that 1.2.3.alpha is less-than 1.2.3.alpha.1 + confirms that 0.1.0 is less-than 0.2.0 + confirms that 3.0.0.beta.1 is less-than 3.0.0.rc.1 + confirms that 3.1.2.rc.42 is less-than 3.1.2 + confirms that 1.0.0.alpha.1 is less-than 1.0.0 + confirms that 2.4.5.alpha is less-than 2.4.5.beta + #between? + comfirms that a version is between the oldest and latest release + has behavior: rejects invalid version strings + 1.1.1-rutro + fails because: dash for pre-release delimeter + has behavior: serializable + #to_s + reconstructs the initial input for 1.0.0 + reconstructs the initial input for 1.0.0.beta + reconstructs the initial input for 1.0.0.alpha.1 + #to_rubygems_string + generates a rubygems version string for 1.0.0.alpha.1 + generates a rubygems version string for 1.0.0 + generates a rubygems version string for 1.0.0.beta + #to_semver_string + generates a semver version string for 1.0.0.beta + generates a semver version string for 1.0.0.alpha.1 + generates a semver version string for 1.0.0 + it should behave like Basic SemVer + has behavior: rejects invalid version strings + a.1.1 + fails because: non-numeric MAJOR + 1.1.a + fails because: non-numeric PATCH + 1.a.1 + fails because: non-numeric MINOR + has behavior: parses valid version strings + 1.2.3 + prerelease? + is expected to eq false + prerelease + is expected to eq nil + build? + is expected to eq false + release? + is expected to eq true + prerelease_build? + is expected to eq false + release_build? + is expected to eq false + build + is expected to eq nil + minor + is expected to eq 2 + major + is expected to eq 1 + patch + is expected to eq 3 has behavior: sortable sorts all properly - finds the min finds the max + finds the min responds to <=> + +Mixlib::Versioning::Format::SemVer + has behavior: filterable + filters by pre-release versions only + filters by build versions only + filters by release versions only + filters by pre-release build versions only + filters by release build versions only has behavior: comparable - #>= - confirms that 9.1.2-2-g1234567-1 greater-than or equal to 9.1.1-2-g1234567-1 - confirms that 9.0.1-2-gdeadbe2-1 greater-than or equal to 9.0.1-2-gdeadbe1-2 - confirms that 10.5.7-2-g21353f0-1 greater-than or equal to 10.0.0-1-gabcdef3-1 - confirms that 10.20.2-3-gaaaaaaa-1 greater-than or equal to 10.20.2-2-gbbbbbbb-1 - confirms that 9.0.1-2-gdeadbe1-1 greater-than or equal to 9.0.1-1-gdeadbee-1 + #<= + confirms that 0.1.0 less-than or equal to 0.2.0 + confirms that 2.0.0-beta.1 less-than or equal to 2.0.0-beta.1+build.123 + confirms that 1.0.0-alpha.1 less-than or equal to 1.0.0 + confirms that 1.2.3 less-than or equal to 1.2.3+build.123 + #< + confirms that 0.1.0 is less-than 0.2.0 + confirms that 1.0.0-alpha.1 is less-than 1.0.0 + confirms that 2.0.0-beta.1 is less-than 2.0.0-beta.1+build.123 + confirms that 1.2.3 is less-than 1.2.3+build.123 #between? comfirms that a version is between the oldest and latest release #> - confirms that 9.1.2-2-g1234567-1 is greather-than 9.1.1-2-g1234567-1 - confirms that 9.0.1-2-gdeadbe2-1 is greather-than 9.0.1-2-gdeadbe1-2 - confirms that 10.5.7-2-g21353f0-1 is greather-than 10.0.0-1-gabcdef3-1 - confirms that 10.20.2-3-gaaaaaaa-1 is greather-than 10.20.2-2-gbbbbbbb-1 - confirms that 9.0.1-2-gdeadbe1-1 is greather-than 9.0.1-1-gdeadbee-1 + confirms that 1.2.3+build.123 is greather-than 1.2.3 + confirms that 0.2.0 is greather-than 0.1.0 + confirms that 2.0.0-beta.1+build.123 is greather-than 2.0.0-beta.1 + confirms that 1.0.0 is greather-than 1.0.0-alpha.1 #== - confirms that 9.0.1-2-gdeadbe1-2 is equal to 9.0.1-2-gdeadbe1-2 - confirms that 9.1.1-2-g1234567-1 is equal to 9.1.1-2-g1234567-1 - confirms that 10.5.7-2-g21353f0-1 is equal to 10.5.7-2-g21353f0-1 - confirms that 10.20.2-3-gaaaaaaa-1 is equal to 10.20.2-3-gaaaaaaa-1 - confirms that 10.0.0-1-gabcdef3-1 is equal to 10.0.0-1-gabcdef3-1 - confirms that 9.0.1-1-gdeadbee-1 is equal to 9.0.1-1-gdeadbee-1 - confirms that 9.0.1-2-gdeadbe2-1 is equal to 9.0.1-2-gdeadbe2-1 - confirms that 9.1.2-2-g1234567-1 is equal to 9.1.2-2-g1234567-1 - confirms that 9.0.1-2-gdeadbe1-1 is equal to 9.0.1-2-gdeadbe1-1 - confirms that 10.20.2-2-gbbbbbbb-1 is equal to 10.20.2-2-gbbbbbbb-1 - #<= - confirms that 10.0.0-1-gabcdef3-1 less-than or equal to 10.5.7-2-g21353f0-1 - confirms that 10.20.2-2-gbbbbbbb-1 less-than or equal to 10.20.2-3-gaaaaaaa-1 - confirms that 9.0.1-1-gdeadbee-1 less-than or equal to 9.0.1-2-gdeadbe1-1 - confirms that 9.0.1-2-gdeadbe1-2 less-than or equal to 9.0.1-2-gdeadbe2-1 - confirms that 9.1.1-2-g1234567-1 less-than or equal to 9.1.2-2-g1234567-1 - #< - confirms that 10.20.2-2-gbbbbbbb-1 is less-than 10.20.2-3-gaaaaaaa-1 - confirms that 10.0.0-1-gabcdef3-1 is less-than 10.5.7-2-g21353f0-1 - confirms that 9.1.1-2-g1234567-1 is less-than 9.1.2-2-g1234567-1 - confirms that 9.0.1-2-gdeadbe1-2 is less-than 9.0.1-2-gdeadbe2-1 - confirms that 9.0.1-1-gdeadbee-1 is less-than 9.0.1-2-gdeadbe1-1 - has behavior: serializable - #to_semver_string - generates a semver version string for 9.0.1-2-gdeadbe2-1 - generates a semver version string for 9.0.1-2-gdeadbe1-2 - generates a semver version string for 10.20.2-2-gbbbbbbb-1 - generates a semver version string for 9.0.1-2-gdeadbe1-1 - generates a semver version string for 10.5.7-2-g21353f0-1 - generates a semver version string for 10.20.2-3-gaaaaaaa-1 - generates a semver version string for 10.0.0-1-gabcdef3-1 - generates a semver version string for 9.0.1-1-gdeadbee-1 - generates a semver version string for 9.1.2-2-g1234567-1 - generates a semver version string for 9.1.1-2-g1234567-1 - #to_rubygems_string - generates a rubygems version string for 9.0.1-2-gdeadbe1-2 - generates a rubygems version string for 10.5.7-2-g21353f0-1 - generates a rubygems version string for 9.1.2-2-g1234567-1 - generates a rubygems version string for 9.0.1-2-gdeadbe2-1 - generates a rubygems version string for 9.0.1-1-gdeadbee-1 - generates a rubygems version string for 9.0.1-2-gdeadbe1-1 - generates a rubygems version string for 10.20.2-2-gbbbbbbb-1 - generates a rubygems version string for 10.0.0-1-gabcdef3-1 - generates a rubygems version string for 10.20.2-3-gaaaaaaa-1 - generates a rubygems version string for 9.1.1-2-g1234567-1 - #to_s - reconstructs the initial input for 9.0.1-2-gdeadbe1-2 - reconstructs the initial input for 10.20.2-3-gaaaaaaa-1 - reconstructs the initial input for 10.20.2-2-gbbbbbbb-1 - reconstructs the initial input for 9.0.1-1-gdeadbee-1 - reconstructs the initial input for 10.5.7-2-g21353f0-1 - reconstructs the initial input for 9.1.1-2-g1234567-1 - reconstructs the initial input for 10.0.0-1-gabcdef3-1 - reconstructs the initial input for 9.1.2-2-g1234567-1 - reconstructs the initial input for 9.0.1-2-gdeadbe1-1 - reconstructs the initial input for 9.0.1-2-gdeadbe2-1 - has behavior: rejects invalid version strings - 1.0.0-123-1 - fails because: missing SHA1 - 1.0.0-alpha.1 - fails because: no git describe data - 1.0.0 - fails because: no git describe data - 1.0.0-123-gNOTHEX1-1 - fails because: illegal SHA1 characters - 1.0.0-123-gfd0e3a65282cb5f6df3bab6a53f4fcb722340d499-1 - fails because: too many SHA1 characters - 1.0.0-alpha.1+build.deadbeef - fails because: no git describe data - 1.0.0-alpha-poop-g1234567-1 - fails because: non-numeric 'commits_since' - 1.0.0-g1234567-1 - fails because: missing 'commits_since' - 1.0.0-123-gdeadbe-1 - fails because: too few SHA1 characters - 1.0.0-123-g1234567-alpha - fails because: non-numeric iteration - -Mixlib::Versioning::Format::OpscodeSemVer + confirms that 0.1.0 is equal to 0.1.0 + confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 + confirms that 1.2.3+build.123 is equal to 1.2.3+build.123 + confirms that 0.2.0 is equal to 0.2.0 + confirms that 2.0.0-beta.1+build.123 is equal to 2.0.0-beta.1+build.123 + confirms that 1.0.0-alpha.1 is equal to 1.0.0-alpha.1 + confirms that 1.0.0 is equal to 1.0.0 + confirms that 1.2.3 is equal to 1.2.3 + #>= + confirms that 1.2.3+build.123 greater-than or equal to 1.2.3 + confirms that 1.0.0 greater-than or equal to 1.0.0-alpha.1 + confirms that 2.0.0-beta.1+build.123 greater-than or equal to 2.0.0-beta.1 + confirms that 0.2.0 greater-than or equal to 0.1.0 has behavior: sortable finds the min finds the max - sorts all properly responds to <=> + sorts all properly + has behavior: serializable + #to_semver_string + generates a semver version string for 1.0.0 + generates a semver version string for 1.0.0-alpha.1 + generates a semver version string for 1.0.0+build.build.build + generates a semver version string for 1.0.0-alpha.1+some.build.version + #to_s + reconstructs the initial input for 1.0.0 + reconstructs the initial input for 1.0.0-alpha.1 + reconstructs the initial input for 1.0.0+build.build.build + reconstructs the initial input for 1.0.0-alpha.1+some.build.version + #to_rubygems_string + generates a rubygems version string for 1.0.0-alpha.1 + generates a rubygems version string for 1.0.0 + generates a rubygems version string for 1.0.0-alpha.1+some.build.version + generates a rubygems version string for 1.0.0+build.build.build it should behave like Mixlib::Versioning::Format::SemVer it should behave like Basic SemVer has behavior: rejects invalid version strings + a.1.1 + fails because: non-numeric MAJOR 1.1.a fails because: non-numeric PATCH 1.a.1 fails because: non-numeric MINOR - a.1.1 - fails because: non-numeric MAJOR has behavior: parses valid version strings 1.2.3 + minor + is expected to eq 2 + release_build? + is expected to eq false build is expected to eq nil - prerelease_build? - is expected to eq false - build? - is expected to eq false major is expected to eq 1 - minor - is expected to eq 2 - patch - is expected to eq 3 - prerelease - is expected to eq nil prerelease? is expected to eq false + prerelease_build? + is expected to eq false + build? + is expected to eq false release? is expected to eq true - release_build? - is expected to eq false + prerelease + is expected to eq nil + patch + is expected to eq 3 build qualification - pre-release build version - release? + release version + prerelease? is expected to be falsey release_build? is expected to be falsey build? - is expected to be truthy - prerelease? is expected to be falsey - prerelease_build? + release? is expected to be truthy - pre-release version - build? - is expected to be falsey prerelease_build? is expected to be falsey + release build version release? is expected to be falsey - prerelease? - is expected to be truthy - release_build? - is expected to be falsey - release build version release_build? is expected to be truthy - release? + prerelease? is expected to be falsey prerelease_build? is expected to be falsey build? is expected to be truthy + pre-release version prerelease? + is expected to be truthy + release? is expected to be falsey - release version - prerelease? + release_build? is expected to be falsey prerelease_build? is expected to be falsey - release_build? - is expected to be falsey build? is expected to be falsey + pre-release build version + release_build? + is expected to be falsey + prerelease_build? + is expected to be truthy release? + is expected to be falsey + build? is expected to be truthy + prerelease? + is expected to be falsey + has behavior: rejects invalid version strings + 6.3.1+ + fails because: empty build identifier + 1.0.0- + fails because: empty prerelease identifier + 1.0.0-01.02.03 + fails because: leading zero invalid + 1.1.01 + fails because: leading zero invalid + 1.0.0-alpha.01 + fails because: leading zero invalid + 6.4.8-alpha.1.2.3+build. + fails because: empty build identifier + 007.2.3-rc.1+build.16 + fails because: leading zero invalid + 12.2.10-beta.00000017 + fails because: leading zero invalid + 01.1.1 + fails because: leading zero invalid + 1.0.0-alpha.. + fails because: empty prerelease identifier + 4.0.000000000002-alpha.1 + fails because: leading zero invalid + 1.01.1 + fails because: leading zero invalid + 8.8.8.8 + fails because: too many segments: MAJOR.MINOR.PATCH.EXTRA + 12.0005.1-alpha.12 + fails because: leading zero invalid has behavior: parses valid version strings 1.0.0-alpha.1 + major + is expected to eq 1 build? is expected to eq false - patch + minor is expected to eq 0 - release_build? - is expected to eq false - major - is expected to eq 1 prerelease_build? is expected to eq false + patch + is expected to eq 0 + build + is expected to eq nil + prerelease + is expected to eq "alpha.1" prerelease? is expected to eq true + release_build? + is expected to eq false release? is expected to eq false - minor - is expected to eq 0 - prerelease - is expected to eq "alpha.1" - build - is expected to eq nil 1.0.0+20130308110833 - patch - is expected to eq 0 build is expected to eq "20130308110833" - release? - is expected to eq false + release_build? + is expected to eq true minor is expected to eq 0 + patch + is expected to eq 0 + prerelease_build? + is expected to eq false major is expected to eq 1 - build? - is expected to eq true prerelease is expected to eq nil + release? + is expected to eq false prerelease? is expected to eq false - release_build? + build? is expected to eq true - prerelease_build? - is expected to eq false 1.0.0-beta.3+20130308110833 - patch - is expected to eq 0 - release_build? - is expected to eq false - prerelease_build? + build? is expected to eq true major is expected to eq 1 - build - is expected to eq "20130308110833" - release? + prerelease? is expected to eq false + prerelease_build? + is expected to eq true prerelease is expected to eq "beta.3" - prerelease? + release? is expected to eq false - build? - is expected to eq true + build + is expected to eq "20130308110833" minor is expected to eq 0 - has behavior: rejects invalid version strings - 1.0.0-01.02.03 - fails because: leading zero invalid - 8.8.8.8 - fails because: too many segments: MAJOR.MINOR.PATCH.EXTRA - 007.2.3-rc.1+build.16 - fails because: leading zero invalid - 1.01.1 - fails because: leading zero invalid - 12.2.10-beta.00000017 - fails because: leading zero invalid - 6.3.1+ - fails because: empty build identifier - 12.0005.1-alpha.12 - fails because: leading zero invalid - 1.0.0- - fails because: empty prerelease identifier - 1.0.0-alpha.. - fails because: empty prerelease identifier - 1.1.01 - fails because: leading zero invalid - 4.0.000000000002-alpha.1 - fails because: leading zero invalid - 01.1.1 - fails because: leading zero invalid - 6.4.8-alpha.1.2.3+build. - fails because: empty build identifier - 1.0.0-alpha.01 - fails because: leading zero invalid - has behavior: serializable - #to_semver_string - generates a semver version string for 1.0.0-alpha.1 - generates a semver version string for 1.0.0-alpha.1+20130308110833 - generates a semver version string for 1.0.0+20130308110833.git.2.94a1dde - generates a semver version string for 1.0.0 - #to_rubygems_string - generates a rubygems version string for 1.0.0-alpha.1 - generates a rubygems version string for 1.0.0 - generates a rubygems version string for 1.0.0+20130308110833.git.2.94a1dde - generates a rubygems version string for 1.0.0-alpha.1+20130308110833 - #to_s - reconstructs the initial input for 1.0.0 - reconstructs the initial input for 1.0.0+20130308110833.git.2.94a1dde - reconstructs the initial input for 1.0.0-alpha.1+20130308110833 - reconstructs the initial input for 1.0.0-alpha.1 + patch + is expected to eq 0 + release_build? + is expected to eq false + +Mixlib::Versioning::Format::OpscodeSemVer + has behavior: sortable + finds the min + sorts all properly + finds the max + responds to <=> has behavior: rejects invalid version strings - 1.0.0+git.33.z0f985a - fails because: a malformed git describe: invalid SHA1 - 1.0.0+git.AA.e0f985a - fails because: a malformed git describe: non-numeric COMMITS_SINCE - 0008.1.4 + 01.0.8-alpha.2+20130308110833.git.2.94a1dde fails because: leading zero invalid 1.0.0-poop.0 fails because: non-valid pre-release type - 3.6.7-rc.007 - fails because: leading zero invalid - 11.02.8-rc.1+20130308110833 - fails because: leading zero invalid - 1.0.0+cvs.33.e0f985a - fails because: a malformed git describe: no git string 11.0.08-rc.1+20130308110833 fails because: leading zero invalid - 4.67.00012+build.20131219 - fails because: leading zero invalid 11.00000000002.8-rc.1+20130308110833 fails because: leading zero invalid + 4.67.00012+build.20131219 + fails because: leading zero invalid 1.0.0+2010AA08010101 fails because: a malformed timestamp - 01.0.8-alpha.2+20130308110833.git.2.94a1dde + 0008.1.4 fails because: leading zero invalid - has behavior: filterable - filters by release build versions only - filters by pre-release build versions only - filters by release versions only - filters by build versions only - filters by pre-release versions only - has behavior: comparable - #== - confirms that 0.1.0 is equal to 0.1.0 - confirms that 1.2.3+20121009074433 is equal to 1.2.3+20121009074433 - confirms that 1.2.3 is equal to 1.2.3 - confirms that 1.0.0 is equal to 1.0.0 - confirms that 0.2.0 is equal to 0.2.0 - confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 - confirms that 2.0.0+20131009104433.git.2.94a1dde is equal to 2.0.0+20131009104433.git.2.94a1dde - confirms that 1.0.0-alpha.1 is equal to 1.0.0-alpha.1 - #<= - confirms that 1.0.0-alpha.1 less-than or equal to 1.0.0 - confirms that 2.0.0-beta.1 less-than or equal to 2.0.0+20131009104433.git.2.94a1dde - confirms that 1.2.3 less-than or equal to 1.2.3+20121009074433 - confirms that 0.1.0 less-than or equal to 0.2.0 - #< - confirms that 1.0.0-alpha.1 is less-than 1.0.0 - confirms that 0.1.0 is less-than 0.2.0 - confirms that 2.0.0-beta.1 is less-than 2.0.0+20131009104433.git.2.94a1dde - confirms that 1.2.3 is less-than 1.2.3+20121009074433 - #between? - comfirms that a version is between the oldest and latest release - #>= - confirms that 2.0.0+20131009104433.git.2.94a1dde greater-than or equal to 2.0.0-beta.1 - confirms that 0.2.0 greater-than or equal to 0.1.0 - confirms that 1.0.0 greater-than or equal to 1.0.0-alpha.1 - confirms that 1.2.3+20121009074433 greater-than or equal to 1.2.3 - #> - confirms that 1.0.0 is greather-than 1.0.0-alpha.1 - confirms that 2.0.0+20131009104433.git.2.94a1dde is greather-than 2.0.0-beta.1 - confirms that 1.2.3+20121009074433 is greather-than 1.2.3 - confirms that 0.2.0 is greather-than 0.1.0 - -Mixlib::Versioning::Format::SemVer - has behavior: comparable - #== - confirms that 0.2.0 is equal to 0.2.0 - confirms that 1.0.0-alpha.1 is equal to 1.0.0-alpha.1 - confirms that 2.0.0-beta.1+build.123 is equal to 2.0.0-beta.1+build.123 - confirms that 1.2.3+build.123 is equal to 1.2.3+build.123 - confirms that 0.1.0 is equal to 0.1.0 - confirms that 1.0.0 is equal to 1.0.0 - confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 - confirms that 1.2.3 is equal to 1.2.3 - #> - confirms that 1.2.3+build.123 is greather-than 1.2.3 - confirms that 1.0.0 is greather-than 1.0.0-alpha.1 - confirms that 2.0.0-beta.1+build.123 is greather-than 2.0.0-beta.1 - confirms that 0.2.0 is greather-than 0.1.0 - #between? - comfirms that a version is between the oldest and latest release - #>= - confirms that 1.2.3+build.123 greater-than or equal to 1.2.3 - confirms that 0.2.0 greater-than or equal to 0.1.0 - confirms that 2.0.0-beta.1+build.123 greater-than or equal to 2.0.0-beta.1 - confirms that 1.0.0 greater-than or equal to 1.0.0-alpha.1 - #< - confirms that 1.0.0-alpha.1 is less-than 1.0.0 - confirms that 1.2.3 is less-than 1.2.3+build.123 - confirms that 0.1.0 is less-than 0.2.0 - confirms that 2.0.0-beta.1 is less-than 2.0.0-beta.1+build.123 - #<= - confirms that 0.1.0 less-than or equal to 0.2.0 - confirms that 2.0.0-beta.1 less-than or equal to 2.0.0-beta.1+build.123 - confirms that 1.0.0-alpha.1 less-than or equal to 1.0.0 - confirms that 1.2.3 less-than or equal to 1.2.3+build.123 - has behavior: serializable - #to_semver_string - generates a semver version string for 1.0.0+build.build.build - generates a semver version string for 1.0.0-alpha.1+some.build.version - generates a semver version string for 1.0.0 - generates a semver version string for 1.0.0-alpha.1 - #to_s - reconstructs the initial input for 1.0.0-alpha.1+some.build.version - reconstructs the initial input for 1.0.0+build.build.build - reconstructs the initial input for 1.0.0-alpha.1 - reconstructs the initial input for 1.0.0 - #to_rubygems_string - generates a rubygems version string for 1.0.0-alpha.1 - generates a rubygems version string for 1.0.0+build.build.build - generates a rubygems version string for 1.0.0 - generates a rubygems version string for 1.0.0-alpha.1+some.build.version + 1.0.0+cvs.33.e0f985a + fails because: a malformed git describe: no git string + 1.0.0+git.33.z0f985a + fails because: a malformed git describe: invalid SHA1 + 11.02.8-rc.1+20130308110833 + fails because: leading zero invalid + 3.6.7-rc.007 + fails because: leading zero invalid + 1.0.0+git.AA.e0f985a + fails because: a malformed git describe: non-numeric COMMITS_SINCE it should behave like Mixlib::Versioning::Format::SemVer + build qualification + release build version + prerelease? + is expected to be falsey + prerelease_build? + is expected to be falsey + release? + is expected to be falsey + build? + is expected to be truthy + release_build? + is expected to be truthy + pre-release build version + release_build? + is expected to be falsey + prerelease_build? + is expected to be truthy + release? + is expected to be falsey + build? + is expected to be truthy + prerelease? + is expected to be falsey + pre-release version + prerelease? + is expected to be truthy + release_build? + is expected to be falsey + prerelease_build? + is expected to be falsey + build? + is expected to be falsey + release? + is expected to be falsey + release version + build? + is expected to be falsey + prerelease_build? + is expected to be falsey + release? + is expected to be truthy + release_build? + is expected to be falsey + prerelease? + is expected to be falsey has behavior: rejects invalid version strings 4.0.000000000002-alpha.1 fails because: leading zero invalid - 01.1.1 - fails because: leading zero invalid 007.2.3-rc.1+build.16 fails because: leading zero invalid + 1.0.0- + fails because: empty prerelease identifier + 1.01.1 + fails because: leading zero invalid 1.0.0-alpha.01 fails because: leading zero invalid 12.0005.1-alpha.12 fails because: leading zero invalid + 12.2.10-beta.00000017 + fails because: leading zero invalid 1.1.01 fails because: leading zero invalid + 1.0.0-alpha.. + fails because: empty prerelease identifier 6.4.8-alpha.1.2.3+build. fails because: empty build identifier 8.8.8.8 fails because: too many segments: MAJOR.MINOR.PATCH.EXTRA - 1.0.0-alpha.. - fails because: empty prerelease identifier - 12.2.10-beta.00000017 + 01.1.1 fails because: leading zero invalid 1.0.0-01.02.03 fails because: leading zero invalid - 1.01.1 - fails because: leading zero invalid 6.3.1+ fails because: empty build identifier - 1.0.0- - fails because: empty prerelease identifier has behavior: parses valid version strings - 1.0.0+20130308110833 - major - is expected to eq 1 - patch - is expected to eq 0 - prerelease? - is expected to eq false - build? - is expected to eq true - minor - is expected to eq 0 + 1.0.0-beta.3+20130308110833 release? is expected to eq false - build - is expected to eq "20130308110833" + prerelease? + is expected to eq false release_build? - is expected to eq true - prerelease_build? is expected to eq false - prerelease - is expected to eq nil - 1.0.0-beta.3+20130308110833 + build? + is expected to eq true prerelease_build? is expected to eq true minor is expected to eq 0 prerelease is expected to eq "beta.3" + major + is expected to eq 1 patch is expected to eq 0 + build + is expected to eq "20130308110833" + 1.0.0+20130308110833 + build + is expected to eq "20130308110833" build? is expected to eq true - prerelease? + release? is expected to eq false release_build? - is expected to eq false - build - is expected to eq "20130308110833" + is expected to eq true + minor + is expected to eq 0 major is expected to eq 1 - release? + prerelease? + is expected to eq false + prerelease + is expected to eq nil + patch + is expected to eq 0 + prerelease_build? is expected to eq false 1.0.0-alpha.1 major is expected to eq 1 + release? + is expected to eq false + release_build? + is expected to eq false + minor + is expected to eq 0 prerelease? is expected to eq true patch is expected to eq 0 - minor - is expected to eq 0 - prerelease - is expected to eq "alpha.1" - release_build? - is expected to eq false - release? - is expected to eq false - build? - is expected to eq false build is expected to eq nil + build? + is expected to eq false prerelease_build? is expected to eq false + prerelease + is expected to eq "alpha.1" it should behave like Basic SemVer - has behavior: rejects invalid version strings - 1.1.a - fails because: non-numeric PATCH - 1.a.1 - fails because: non-numeric MINOR - a.1.1 - fails because: non-numeric MAJOR has behavior: parses valid version strings 1.2.3 - patch - is expected to eq 3 - prerelease_build? - is expected to eq false build is expected to eq nil prerelease? is expected to eq false - release_build? + prerelease_build? is expected to eq false - release? - is expected to eq true minor is expected to eq 2 + build? + is expected to eq false major is expected to eq 1 prerelease is expected to eq nil - build? + patch + is expected to eq 3 + release_build? is expected to eq false - build qualification - pre-release version - prerelease? - is expected to be truthy - release? - is expected to be falsey - release_build? - is expected to be falsey - prerelease_build? - is expected to be falsey - build? - is expected to be falsey - release build version - release? - is expected to be falsey - prerelease? - is expected to be falsey - build? - is expected to be truthy - prerelease_build? - is expected to be falsey - release_build? - is expected to be truthy - pre-release build version - release? - is expected to be falsey - prerelease? - is expected to be falsey - release_build? - is expected to be falsey - build? - is expected to be truthy - prerelease_build? - is expected to be truthy - release version - prerelease? - is expected to be falsey - release_build? - is expected to be falsey - prerelease_build? - is expected to be falsey - release? - is expected to be truthy - build? - is expected to be falsey - has behavior: sortable - finds the max - sorts all properly - responds to <=> - finds the min + release? + is expected to eq true + has behavior: rejects invalid version strings + a.1.1 + fails because: non-numeric MAJOR + 1.1.a + fails because: non-numeric PATCH + 1.a.1 + fails because: non-numeric MINOR has behavior: filterable + filters by build versions only + filters by release versions only + filters by release build versions only filters by pre-release versions only filters by pre-release build versions only + has behavior: comparable + #<= + confirms that 1.0.0-alpha.1 less-than or equal to 1.0.0 + confirms that 1.2.3 less-than or equal to 1.2.3+20121009074433 + confirms that 0.1.0 less-than or equal to 0.2.0 + confirms that 2.0.0-beta.1 less-than or equal to 2.0.0+20131009104433.git.2.94a1dde + #== + confirms that 2.0.0+20131009104433.git.2.94a1dde is equal to 2.0.0+20131009104433.git.2.94a1dde + confirms that 0.2.0 is equal to 0.2.0 + confirms that 1.2.3 is equal to 1.2.3 + confirms that 1.0.0-alpha.1 is equal to 1.0.0-alpha.1 + confirms that 0.1.0 is equal to 0.1.0 + confirms that 1.0.0 is equal to 1.0.0 + confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 + confirms that 1.2.3+20121009074433 is equal to 1.2.3+20121009074433 + #>= + confirms that 1.2.3+20121009074433 greater-than or equal to 1.2.3 + confirms that 1.0.0 greater-than or equal to 1.0.0-alpha.1 + confirms that 2.0.0+20131009104433.git.2.94a1dde greater-than or equal to 2.0.0-beta.1 + confirms that 0.2.0 greater-than or equal to 0.1.0 + #> + confirms that 2.0.0+20131009104433.git.2.94a1dde is greather-than 2.0.0-beta.1 + confirms that 0.2.0 is greather-than 0.1.0 + confirms that 1.2.3+20121009074433 is greather-than 1.2.3 + confirms that 1.0.0 is greather-than 1.0.0-alpha.1 + #< + confirms that 0.1.0 is less-than 0.2.0 + confirms that 1.2.3 is less-than 1.2.3+20121009074433 + confirms that 2.0.0-beta.1 is less-than 2.0.0+20131009104433.git.2.94a1dde + confirms that 1.0.0-alpha.1 is less-than 1.0.0 + #between? + comfirms that a version is between the oldest and latest release + has behavior: serializable + #to_semver_string + generates a semver version string for 1.0.0-alpha.1+20130308110833 + generates a semver version string for 1.0.0 + generates a semver version string for 1.0.0+20130308110833.git.2.94a1dde + generates a semver version string for 1.0.0-alpha.1 + #to_s + reconstructs the initial input for 1.0.0 + reconstructs the initial input for 1.0.0-alpha.1+20130308110833 + reconstructs the initial input for 1.0.0+20130308110833.git.2.94a1dde + reconstructs the initial input for 1.0.0-alpha.1 + #to_rubygems_string + generates a rubygems version string for 1.0.0-alpha.1 + generates a rubygems version string for 1.0.0+20130308110833.git.2.94a1dde + generates a rubygems version string for 1.0.0-alpha.1+20130308110833 + generates a rubygems version string for 1.0.0 + +Mixlib::Versioning::Format::GitDescribe + has behavior: filterable + filters by pre-release versions only filters by release build versions only filters by release versions only filters by build versions only + filters by pre-release build versions only + has behavior: serializable + #to_s + reconstructs the initial input for 9.0.1-1-gdeadbee-1 + reconstructs the initial input for 9.0.1-2-gdeadbe1-2 + reconstructs the initial input for 10.20.2-2-gbbbbbbb-1 + reconstructs the initial input for 9.1.1-2-g1234567-1 + reconstructs the initial input for 10.5.7-2-g21353f0-1 + reconstructs the initial input for 9.0.1-2-gdeadbe2-1 + reconstructs the initial input for 9.0.1-2-gdeadbe1-1 + reconstructs the initial input for 9.1.2-2-g1234567-1 + reconstructs the initial input for 10.0.0-1-gabcdef3-1 + reconstructs the initial input for 10.20.2-3-gaaaaaaa-1 + #to_rubygems_string + generates a rubygems version string for 9.0.1-2-gdeadbe1-1 + generates a rubygems version string for 9.0.1-2-gdeadbe1-2 + generates a rubygems version string for 10.5.7-2-g21353f0-1 + generates a rubygems version string for 9.0.1-1-gdeadbee-1 + generates a rubygems version string for 10.20.2-3-gaaaaaaa-1 + generates a rubygems version string for 9.1.1-2-g1234567-1 + generates a rubygems version string for 10.20.2-2-gbbbbbbb-1 + generates a rubygems version string for 9.1.2-2-g1234567-1 + generates a rubygems version string for 10.0.0-1-gabcdef3-1 + generates a rubygems version string for 9.0.1-2-gdeadbe2-1 + #to_semver_string + generates a semver version string for 9.0.1-2-gdeadbe2-1 + generates a semver version string for 9.0.1-2-gdeadbe1-1 + generates a semver version string for 9.1.1-2-g1234567-1 + generates a semver version string for 10.20.2-3-gaaaaaaa-1 + generates a semver version string for 9.1.2-2-g1234567-1 + generates a semver version string for 10.20.2-2-gbbbbbbb-1 + generates a semver version string for 9.0.1-2-gdeadbe1-2 + generates a semver version string for 10.0.0-1-gabcdef3-1 + generates a semver version string for 9.0.1-1-gdeadbee-1 + generates a semver version string for 10.5.7-2-g21353f0-1 + has behavior: parses valid version strings + 10.16.2.rc.1-49-g21353f0-1 + patch + is expected to eq 2 + build? + is expected to eq true + release_build? + is expected to eq false + minor + is expected to eq 16 + release? + is expected to eq false + iteration + is expected to eq 1 + commits_since + is expected to eq 49 + build + is expected to eq "49.g21353f0.1" + prerelease_build? + is expected to eq true + commit_sha + is expected to eq "21353f0" + prerelease? + is expected to eq false + major + is expected to eq 10 + prerelease + is expected to eq "rc.1" + 10.16.2-49-g21353f0-1 + commit_sha + is expected to eq "21353f0" + prerelease + is expected to eq nil + build? + is expected to eq true + iteration + is expected to eq 1 + commits_since + is expected to eq 49 + release_build? + is expected to eq true + patch + is expected to eq 2 + release? + is expected to eq false + prerelease? + is expected to eq false + major + is expected to eq 10 + build + is expected to eq "49.g21353f0.1" + prerelease_build? + is expected to eq false + minor + is expected to eq 16 + 10.16.2-alpha-49-g21353f0 + build? + is expected to eq true + release_build? + is expected to eq false + prerelease + is expected to eq "alpha" + build + is expected to eq "49.g21353f0.0" + commits_since + is expected to eq 49 + major + is expected to eq 10 + commit_sha + is expected to eq "21353f0" + iteration + is expected to eq 0 + minor + is expected to eq 16 + prerelease_build? + is expected to eq true + release? + is expected to eq false + prerelease? + is expected to eq false + patch + is expected to eq 2 + 10.16.2-alpha-49-g21353f0-1 + prerelease + is expected to eq "alpha" + prerelease_build? + is expected to eq true + patch + is expected to eq 2 + commit_sha + is expected to eq "21353f0" + commits_since + is expected to eq 49 + iteration + is expected to eq 1 + minor + is expected to eq 16 + prerelease? + is expected to eq false + major + is expected to eq 10 + release? + is expected to eq false + build + is expected to eq "49.g21353f0.1" + release_build? + is expected to eq false + build? + is expected to eq true + 0.10.8-231-g59d6185 + minor + is expected to eq 10 + prerelease_build? + is expected to eq false + build + is expected to eq "231.g59d6185.0" + iteration + is expected to eq 0 + major + is expected to eq 0 + commits_since + is expected to eq 231 + prerelease + is expected to eq nil + prerelease? + is expected to eq false + build? + is expected to eq true + patch + is expected to eq 8 + commit_sha + is expected to eq "59d6185" + release_build? + is expected to eq true + release? + is expected to eq false + has behavior: rejects invalid version strings + 1.0.0-alpha-poop-g1234567-1 + fails because: non-numeric 'commits_since' + 1.0.0-alpha.1 + fails because: no git describe data + 1.0.0-123-gNOTHEX1-1 + fails because: illegal SHA1 characters + 1.0.0-alpha.1+build.deadbeef + fails because: no git describe data + 1.0.0 + fails because: no git describe data + 1.0.0-123-1 + fails because: missing SHA1 + 1.0.0-g1234567-1 + fails because: missing 'commits_since' + 1.0.0-123-gfd0e3a65282cb5f6df3bab6a53f4fcb722340d499-1 + fails because: too many SHA1 characters + 1.0.0-123-gdeadbe-1 + fails because: too few SHA1 characters + 1.0.0-123-g1234567-alpha + fails because: non-numeric iteration + has behavior: sortable + responds to <=> + finds the max + finds the min + sorts all properly + has behavior: comparable + #between? + comfirms that a version is between the oldest and latest release + #> + confirms that 9.0.1-2-gdeadbe1-1 is greather-than 9.0.1-1-gdeadbee-1 + confirms that 9.1.2-2-g1234567-1 is greather-than 9.1.1-2-g1234567-1 + confirms that 9.0.1-2-gdeadbe2-1 is greather-than 9.0.1-2-gdeadbe1-2 + confirms that 10.5.7-2-g21353f0-1 is greather-than 10.0.0-1-gabcdef3-1 + confirms that 10.20.2-3-gaaaaaaa-1 is greather-than 10.20.2-2-gbbbbbbb-1 + #< + confirms that 10.20.2-2-gbbbbbbb-1 is less-than 10.20.2-3-gaaaaaaa-1 + confirms that 10.0.0-1-gabcdef3-1 is less-than 10.5.7-2-g21353f0-1 + confirms that 9.0.1-1-gdeadbee-1 is less-than 9.0.1-2-gdeadbe1-1 + confirms that 9.1.1-2-g1234567-1 is less-than 9.1.2-2-g1234567-1 + confirms that 9.0.1-2-gdeadbe1-2 is less-than 9.0.1-2-gdeadbe2-1 + #<= + confirms that 10.0.0-1-gabcdef3-1 less-than or equal to 10.5.7-2-g21353f0-1 + confirms that 10.20.2-2-gbbbbbbb-1 less-than or equal to 10.20.2-3-gaaaaaaa-1 + confirms that 9.0.1-2-gdeadbe1-2 less-than or equal to 9.0.1-2-gdeadbe2-1 + confirms that 9.1.1-2-g1234567-1 less-than or equal to 9.1.2-2-g1234567-1 + confirms that 9.0.1-1-gdeadbee-1 less-than or equal to 9.0.1-2-gdeadbe1-1 + #== + confirms that 10.20.2-3-gaaaaaaa-1 is equal to 10.20.2-3-gaaaaaaa-1 + confirms that 10.0.0-1-gabcdef3-1 is equal to 10.0.0-1-gabcdef3-1 + confirms that 9.1.1-2-g1234567-1 is equal to 9.1.1-2-g1234567-1 + confirms that 10.5.7-2-g21353f0-1 is equal to 10.5.7-2-g21353f0-1 + confirms that 9.1.2-2-g1234567-1 is equal to 9.1.2-2-g1234567-1 + confirms that 9.0.1-2-gdeadbe2-1 is equal to 9.0.1-2-gdeadbe2-1 + confirms that 10.20.2-2-gbbbbbbb-1 is equal to 10.20.2-2-gbbbbbbb-1 + confirms that 9.0.1-2-gdeadbe1-1 is equal to 9.0.1-2-gdeadbe1-1 + confirms that 9.0.1-1-gdeadbee-1 is equal to 9.0.1-1-gdeadbee-1 + confirms that 9.0.1-2-gdeadbe1-2 is equal to 9.0.1-2-gdeadbe1-2 + #>= + confirms that 10.20.2-3-gaaaaaaa-1 greater-than or equal to 10.20.2-2-gbbbbbbb-1 + confirms that 9.1.2-2-g1234567-1 greater-than or equal to 9.1.1-2-g1234567-1 + confirms that 10.5.7-2-g21353f0-1 greater-than or equal to 10.0.0-1-gabcdef3-1 + confirms that 9.0.1-2-gdeadbe1-1 greater-than or equal to 9.0.1-1-gdeadbee-1 + confirms that 9.0.1-2-gdeadbe2-1 greater-than or equal to 9.0.1-2-gdeadbe1-2 Deprecation Warnings: @@ -2075,10 +2114,10 @@ 1 deprecation warning total -Finished in 0.59912 seconds (files took 1.55 seconds to load) +Finished in 2.48 seconds (files took 2.78 seconds to load) 594 examples, 0 failures -Randomized with seed 25416 +Randomized with seed 29943 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2115,12 +2154,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2053298/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2053298/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/878180 and its subdirectories -I: Current time: Tue Apr 25 23:13:00 -12 2023 -I: pbuilder-time-stamp: 1682507580 +I: removing directory /srv/workspace/pbuilder/2053298 and its subdirectories +I: Current time: Wed May 29 07:40:16 +14 2024 +I: pbuilder-time-stamp: 1716918016