Diff of the two buildlogs: -- --- b1/build.log 2020-06-10 15:42:58.595088803 +0000 +++ b2/build.log 2020-06-10 15:45:58.283561177 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Jun 10 03:41:20 -12 2020 -I: pbuilder-time-stamp: 1591803680 +I: Current time: Thu Jun 11 05:43:10 +14 2020 +I: pbuilder-time-stamp: 1591803790 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -17,7 +17,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Fri May 13 00:51:16 2016 -12 +gpgv: Signature made Sat May 14 02:51:16 2016 +14 gpgv: using RSA key 5C13D6DB93052E03 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-mixlib-versioning_1.1.0-1.dsc @@ -30,136 +30,170 @@ 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/16082/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/26869/tmp/hooks/D01_modify_environment starting +debug: Running on odu3a. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash' +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/26869/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/26869/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="0" [2]="3" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.0.3(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='6d426ff24e4a4c70baaa3aed70e1bbd6' - 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='16082' - PS1='# ' - PS2='> ' + INVOCATION_ID=5adcc7d045dc4b76a3cac77fe54229cf + 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=26869 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.NEPuoL8Eu9/pbuilderrc_nb6f --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.NEPuoL8Eu9/b1 --logfile b1/build.log ruby-mixlib-versioning_1.1.0-1.dsc' - SUDO_GID='111' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:8000/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.NEPuoL8Eu9/pbuilderrc_TuO1 --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/buster-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.NEPuoL8Eu9/b2 --logfile b2/build.log ruby-mixlib-versioning_1.1.0-1.dsc' + SUDO_GID=114 + SUDO_UID=109 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:8000/ I: uname -a - Linux jtx1c 4.19.0-9-arm64 #1 SMP Debian 4.19.118-2 (2020-04-29) aarch64 GNU/Linux + Linux i-capture-the-hostname 4.19.0-9-armmp #1 SMP Debian 4.19.118-2 (2020-04-29) armv7l GNU/Linux I: ls -l /bin total 3328 - -rwxr-xr-x 1 root root 767656 Apr 17 2019 bash - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bunzip2 - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bzcat - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2227 Jul 10 2019 bzdiff - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Jun 24 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3641 Jul 10 2019 bzgrep - -rwxr-xr-x 3 root root 26052 Jul 10 2019 bzip2 - -rwxr-xr-x 1 root root 9636 Jul 10 2019 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 10 2019 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 10 2019 bzmore - -rwxr-xr-x 1 root root 22432 Feb 28 2019 cat - -rwxr-xr-x 1 root root 38868 Feb 28 2019 chgrp - -rwxr-xr-x 1 root root 38836 Feb 28 2019 chmod - -rwxr-xr-x 1 root root 42972 Feb 28 2019 chown - -rwxr-xr-x 1 root root 88376 Feb 28 2019 cp - -rwxr-xr-x 1 root root 75516 Jan 17 2019 dash - -rwxr-xr-x 1 root root 71648 Feb 28 2019 date - -rwxr-xr-x 1 root root 51212 Feb 28 2019 dd - -rwxr-xr-x 1 root root 55672 Feb 28 2019 df - -rwxr-xr-x 1 root root 88444 Feb 28 2019 dir - -rwxr-xr-x 1 root root 54872 Jan 9 2019 dmesg - lrwxrwxrwx 1 root root 8 Sep 26 2018 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Sep 26 2018 domainname -> hostname - -rwxr-xr-x 1 root root 22364 Feb 28 2019 echo - -rwxr-xr-x 1 root root 28 Jan 7 2019 egrep - -rwxr-xr-x 1 root root 18260 Feb 28 2019 false - -rwxr-xr-x 1 root root 28 Jan 7 2019 fgrep - -rwxr-xr-x 1 root root 47356 Jan 9 2019 findmnt - -rwsr-xr-x 1 root root 21980 Apr 22 07:38 fusermount - -rwxr-xr-x 1 root root 124508 Jan 7 2019 grep - -rwxr-xr-x 2 root root 2345 Jan 5 2019 gunzip - -rwxr-xr-x 1 root root 6375 Jan 5 2019 gzexe - -rwxr-xr-x 1 root root 64232 Jan 5 2019 gzip - -rwxr-xr-x 1 root root 13784 Sep 26 2018 hostname - -rwxr-xr-x 1 root root 43044 Feb 28 2019 ln - -rwxr-xr-x 1 root root 34932 Jul 26 2018 login - -rwxr-xr-x 1 root root 88444 Feb 28 2019 ls - -rwxr-xr-x 1 root root 67036 Jan 9 2019 lsblk - -rwxr-xr-x 1 root root 47168 Feb 28 2019 mkdir - -rwxr-xr-x 1 root root 43040 Feb 28 2019 mknod - -rwxr-xr-x 1 root root 26552 Feb 28 2019 mktemp - -rwxr-xr-x 1 root root 26024 Jan 9 2019 more - -rwsr-xr-x 1 root root 34268 Jan 9 2019 mount - -rwxr-xr-x 1 root root 9688 Jan 9 2019 mountpoint - -rwxr-xr-x 1 root root 84284 Feb 28 2019 mv - lrwxrwxrwx 1 root root 8 Sep 26 2018 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Feb 14 2019 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 22416 Feb 28 2019 pwd - lrwxrwxrwx 1 root root 4 Apr 17 2019 rbash -> bash - -rwxr-xr-x 1 root root 26504 Feb 28 2019 readlink - -rwxr-xr-x 1 root root 42968 Feb 28 2019 rm - -rwxr-xr-x 1 root root 26496 Feb 28 2019 rmdir - -rwxr-xr-x 1 root root 14136 Jan 21 2019 run-parts - -rwxr-xr-x 1 root root 76012 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Jun 9 20:25 sh -> dash - -rwxr-xr-x 1 root root 22384 Feb 28 2019 sleep - -rwxr-xr-x 1 root root 51124 Feb 28 2019 stty - -rwsr-xr-x 1 root root 42472 Jan 9 2019 su - -rwxr-xr-x 1 root root 22392 Feb 28 2019 sync - -rwxr-xr-x 1 root root 283324 Apr 23 2019 tar - -rwxr-xr-x 1 root root 9808 Jan 21 2019 tempfile - -rwxr-xr-x 1 root root 63464 Feb 28 2019 touch - -rwxr-xr-x 1 root root 18260 Feb 28 2019 true - -rwxr-xr-x 1 root root 9636 Apr 22 07:38 ulockmgr_server - -rwsr-xr-x 1 root root 21976 Jan 9 2019 umount - -rwxr-xr-x 1 root root 22380 Feb 28 2019 uname - -rwxr-xr-x 2 root root 2345 Jan 5 2019 uncompress - -rwxr-xr-x 1 root root 88444 Feb 28 2019 vdir - -rwxr-xr-x 1 root root 21980 Jan 9 2019 wdctl - -rwxr-xr-x 1 root root 946 Jan 21 2019 which - lrwxrwxrwx 1 root root 8 Sep 26 2018 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1983 Jan 5 2019 zcat - -rwxr-xr-x 1 root root 1677 Jan 5 2019 zcmp - -rwxr-xr-x 1 root root 5879 Jan 5 2019 zdiff - -rwxr-xr-x 1 root root 29 Jan 5 2019 zegrep - -rwxr-xr-x 1 root root 29 Jan 5 2019 zfgrep - -rwxr-xr-x 1 root root 2080 Jan 5 2019 zforce - -rwxr-xr-x 1 root root 7584 Jan 5 2019 zgrep - -rwxr-xr-x 1 root root 2205 Jan 5 2019 zless - -rwxr-xr-x 1 root root 1841 Jan 5 2019 zmore - -rwxr-xr-x 1 root root 4552 Jan 5 2019 znew -I: user script /srv/workspace/pbuilder/16082/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 767656 Apr 18 2019 bash + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bunzip2 + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzcat + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2227 Jul 11 2019 bzdiff + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Jun 25 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3641 Jul 11 2019 bzgrep + -rwxr-xr-x 3 root root 26052 Jul 11 2019 bzip2 + -rwxr-xr-x 1 root root 9636 Jul 11 2019 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 11 2019 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 11 2019 bzmore + -rwxr-xr-x 1 root root 22432 Mar 1 2019 cat + -rwxr-xr-x 1 root root 38868 Mar 1 2019 chgrp + -rwxr-xr-x 1 root root 38836 Mar 1 2019 chmod + -rwxr-xr-x 1 root root 42972 Mar 1 2019 chown + -rwxr-xr-x 1 root root 88376 Mar 1 2019 cp + -rwxr-xr-x 1 root root 75516 Jan 18 2019 dash + -rwxr-xr-x 1 root root 71648 Mar 1 2019 date + -rwxr-xr-x 1 root root 51212 Mar 1 2019 dd + -rwxr-xr-x 1 root root 55672 Mar 1 2019 df + -rwxr-xr-x 1 root root 88444 Mar 1 2019 dir + -rwxr-xr-x 1 root root 54872 Jan 10 2019 dmesg + lrwxrwxrwx 1 root root 8 Sep 27 2018 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Sep 27 2018 domainname -> hostname + -rwxr-xr-x 1 root root 22364 Mar 1 2019 echo + -rwxr-xr-x 1 root root 28 Jan 8 2019 egrep + -rwxr-xr-x 1 root root 18260 Mar 1 2019 false + -rwxr-xr-x 1 root root 28 Jan 8 2019 fgrep + -rwxr-xr-x 1 root root 47356 Jan 10 2019 findmnt + -rwsr-xr-x 1 root root 21980 Apr 23 09:38 fusermount + -rwxr-xr-x 1 root root 124508 Jan 8 2019 grep + -rwxr-xr-x 2 root root 2345 Jan 6 2019 gunzip + -rwxr-xr-x 1 root root 6375 Jan 6 2019 gzexe + -rwxr-xr-x 1 root root 64232 Jan 6 2019 gzip + -rwxr-xr-x 1 root root 13784 Sep 27 2018 hostname + -rwxr-xr-x 1 root root 43044 Mar 1 2019 ln + -rwxr-xr-x 1 root root 34932 Jul 27 2018 login + -rwxr-xr-x 1 root root 88444 Mar 1 2019 ls + -rwxr-xr-x 1 root root 67036 Jan 10 2019 lsblk + -rwxr-xr-x 1 root root 47168 Mar 1 2019 mkdir + -rwxr-xr-x 1 root root 43040 Mar 1 2019 mknod + -rwxr-xr-x 1 root root 26552 Mar 1 2019 mktemp + -rwxr-xr-x 1 root root 26024 Jan 10 2019 more + -rwsr-xr-x 1 root root 34268 Jan 10 2019 mount + -rwxr-xr-x 1 root root 9688 Jan 10 2019 mountpoint + -rwxr-xr-x 1 root root 84284 Mar 1 2019 mv + lrwxrwxrwx 1 root root 8 Sep 27 2018 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Feb 15 2019 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 22416 Mar 1 2019 pwd + lrwxrwxrwx 1 root root 4 Apr 18 2019 rbash -> bash + -rwxr-xr-x 1 root root 26504 Mar 1 2019 readlink + -rwxr-xr-x 1 root root 42968 Mar 1 2019 rm + -rwxr-xr-x 1 root root 26496 Mar 1 2019 rmdir + -rwxr-xr-x 1 root root 14136 Jan 22 2019 run-parts + -rwxr-xr-x 1 root root 76012 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Jun 11 05:43 sh -> bash + lrwxrwxrwx 1 root root 4 Jun 10 22:26 sh.distrib -> dash + -rwxr-xr-x 1 root root 22384 Mar 1 2019 sleep + -rwxr-xr-x 1 root root 51124 Mar 1 2019 stty + -rwsr-xr-x 1 root root 42472 Jan 10 2019 su + -rwxr-xr-x 1 root root 22392 Mar 1 2019 sync + -rwxr-xr-x 1 root root 283324 Apr 24 2019 tar + -rwxr-xr-x 1 root root 9808 Jan 22 2019 tempfile + -rwxr-xr-x 1 root root 63464 Mar 1 2019 touch + -rwxr-xr-x 1 root root 18260 Mar 1 2019 true + -rwxr-xr-x 1 root root 9636 Apr 23 09:38 ulockmgr_server + -rwsr-xr-x 1 root root 21976 Jan 10 2019 umount + -rwxr-xr-x 1 root root 22380 Mar 1 2019 uname + -rwxr-xr-x 2 root root 2345 Jan 6 2019 uncompress + -rwxr-xr-x 1 root root 88444 Mar 1 2019 vdir + -rwxr-xr-x 1 root root 21980 Jan 10 2019 wdctl + -rwxr-xr-x 1 root root 946 Jan 22 2019 which + lrwxrwxrwx 1 root root 8 Sep 27 2018 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1983 Jan 6 2019 zcat + -rwxr-xr-x 1 root root 1677 Jan 6 2019 zcmp + -rwxr-xr-x 1 root root 5879 Jan 6 2019 zdiff + -rwxr-xr-x 1 root root 29 Jan 6 2019 zegrep + -rwxr-xr-x 1 root root 29 Jan 6 2019 zfgrep + -rwxr-xr-x 1 root root 2080 Jan 6 2019 zforce + -rwxr-xr-x 1 root root 7584 Jan 6 2019 zgrep + -rwxr-xr-x 1 root root 2205 Jan 6 2019 zless + -rwxr-xr-x 1 root root 1841 Jan 6 2019 zmore + -rwxr-xr-x 1 root root 4552 Jan 6 2019 znew +I: user script /srv/workspace/pbuilder/26869/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -339,7 +373,7 @@ Get: 134 http://deb.debian.org/debian buster/main armhf ruby-rspec-core all 3.8.0c0e1m0s0-1 [190 kB] Get: 135 http://deb.debian.org/debian buster/main armhf ruby-rspec all 3.8.0c0e1m0s0-1 [7620 B] Get: 136 http://deb.debian.org/debian buster/main armhf ruby-rspec-its all 1.2.0-3 [6296 B] -Fetched 40.9 MB in 5s (7481 kB/s) +Fetched 40.9 MB in 7s (6261 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18932 files and directories currently installed.) @@ -915,7 +949,7 @@ fakeroot is already the newest version (1.23-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/ruby-mixlib-versioning-1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-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 dpkg-buildpackage: info: source package ruby-mixlib-versioning dpkg-buildpackage: info: source version 1.1.0-1 dpkg-buildpackage: info: source distribution unstable @@ -953,13 +987,13 @@ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby -install -D -m644 /build/ruby-mixlib-versioning-1.1.0/lib/mixlib/versioning/version.rb /build/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby/mixlib/versioning/version.rb -install -D -m644 /build/ruby-mixlib-versioning-1.1.0/lib/mixlib/versioning/exceptions.rb /build/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby/mixlib/versioning/exceptions.rb install -D -m644 /build/ruby-mixlib-versioning-1.1.0/lib/mixlib/versioning/format.rb /build/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby/mixlib/versioning/format.rb +install -D -m644 /build/ruby-mixlib-versioning-1.1.0/lib/mixlib/versioning/version.rb /build/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby/mixlib/versioning/version.rb install -D -m644 /build/ruby-mixlib-versioning-1.1.0/lib/mixlib/versioning/format/git_describe.rb /build/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby/mixlib/versioning/format/git_describe.rb -install -D -m644 /build/ruby-mixlib-versioning-1.1.0/lib/mixlib/versioning/format/semver.rb /build/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby/mixlib/versioning/format/semver.rb install -D -m644 /build/ruby-mixlib-versioning-1.1.0/lib/mixlib/versioning/format/rubygems.rb /build/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby/mixlib/versioning/format/rubygems.rb install -D -m644 /build/ruby-mixlib-versioning-1.1.0/lib/mixlib/versioning/format/opscode_semver.rb /build/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby/mixlib/versioning/format/opscode_semver.rb +install -D -m644 /build/ruby-mixlib-versioning-1.1.0/lib/mixlib/versioning/format/semver.rb /build/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby/mixlib/versioning/format/semver.rb +install -D -m644 /build/ruby-mixlib-versioning-1.1.0/lib/mixlib/versioning/exceptions.rb /build/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby/mixlib/versioning/exceptions.rb install -D -m644 /build/ruby-mixlib-versioning-1.1.0/lib/mixlib/versioning.rb /build/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby/mixlib/versioning.rb dh_installchangelogs -pruby-mixlib-versioning /build/ruby-mixlib-versioning-1.1.0/CHANGELOG.md upstream @@ -988,1101 +1022,1101 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 25819 +Randomized with seed 47305 -Mixlib::Versioning::Format::OpscodeSemVer +Mixlib::Versioning::Format::SemVer + has behavior: comparable + #<= + confirms that 1.2.3 less-than or equal to 1.2.3+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 is less-than 1.2.3+build.123 + 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 0.1.0 is less-than 0.2.0 + #between? + comfirms that a version is between the oldest and latest release + #== + 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 1.2.3 is equal to 1.2.3 + confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 + confirms that 2.0.0-beta.1+build.123 is equal to 2.0.0-beta.1+build.123 + confirms that 0.2.0 is equal to 0.2.0 + confirms that 1.2.3+build.123 is equal to 1.2.3+build.123 + #>= + 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.2.3+build.123 greater-than or 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 has behavior: sortable + finds the max + finds the min responds to <=> sorts all properly - finds the min - finds the max - has behavior: rejects invalid version strings - 3.6.7-rc.007 - fails because: leading zero invalid - 1.0.0+2010AA08010101 - fails because: a malformed timestamp - 1.0.0+git.AA.e0f985a - fails because: a malformed git describe: non-numeric COMMITS_SINCE - 1.0.0-poop.0 - fails because: non-valid pre-release type - 0008.1.4 - fails because: leading zero invalid - 1.0.0+cvs.33.e0f985a - fails because: a malformed git describe: no git string - 11.00000000002.8-rc.1+20130308110833 - fails because: leading zero invalid - 01.0.8-alpha.2+20130308110833.git.2.94a1dde - fails because: leading zero invalid - 11.02.8-rc.1+20130308110833 - fails because: leading zero invalid - 1.0.0+git.33.z0f985a - fails because: a malformed git describe: invalid SHA1 - 11.0.08-rc.1+20130308110833 - fails because: leading zero invalid - 4.67.00012+build.20131219 - fails because: leading zero invalid + has behavior: filterable + filters by release versions only + filters by pre-release versions only + filters by release build versions only + filters by pre-release build versions only + filters by build versions only + has behavior: serializable + #to_semver_string + 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 + generates a semver version string for 1.0.0+build.build.build + #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 + #to_s + reconstructs the initial input for 1.0.0-alpha.1 + 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 it should behave like Mixlib::Versioning::Format::SemVer has behavior: parses valid version strings - 1.0.0-alpha.1 - prerelease - should eq "alpha.1" - release? - should eq false - release_build? - should eq false - prerelease? - should eq true + 1.0.0+20130308110833 build - should eq nil + should eq "20130308110833" prerelease_build? should eq false - patch - should eq 0 + release? + should eq false major should eq 1 - build? + prerelease? should eq false + release_build? + should eq true + build? + should eq true + patch + should eq 0 + prerelease + should eq nil minor should eq 0 - 1.0.0-beta.3+20130308110833 - release_build? - should eq false - prerelease_build? + 1.0.0-alpha.1 + prerelease? should eq true + build? + should eq false release? should eq false - prerelease - should eq "beta.3" build - should eq "20130308110833" - patch + should eq nil + minor should eq 0 major should eq 1 - prerelease? + prerelease_build? should eq false - minor + patch should eq 0 - build? - should eq true - 1.0.0+20130308110833 - prerelease - should eq nil - build? - should eq true release_build? - should eq true - major - should eq 1 - build - should eq "20130308110833" - release? should eq false + prerelease + should eq "alpha.1" + 1.0.0-beta.3+20130308110833 patch should eq 0 - prerelease_build? - should eq false + major + should eq 1 minor should eq 0 + prerelease_build? + should eq true prerelease? should eq false - build qualification - release build version + release? + should eq false release_build? - should be truthy + should eq false + build + should eq "20130308110833" + prerelease + should eq "beta.3" + build? + should eq true + 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 + prerelease + should eq nil + release_build? + should eq false + release? + should eq true + build + should eq nil + major + should eq 1 + minor + should eq 2 + prerelease? + should eq false + prerelease_build? + should eq false + build? + should eq false + patch + should eq 3 + build qualification + release version release? + should be truthy + prerelease? should be falsey prerelease_build? should be falsey build? - should be truthy - prerelease? should be falsey - pre-release build version + release_build? + should be falsey + release build version build? should be truthy - release? - should be falsey + release_build? + should be truthy prerelease? should be falsey prerelease_build? - should be truthy - release_build? + should be falsey + release? should be falsey pre-release version - prerelease? - should be truthy build? should be falsey + prerelease? + should be truthy release_build? should be falsey release? should be falsey prerelease_build? should be falsey - release version - prerelease? + pre-release build version + release_build? should be falsey release? - should be truthy - prerelease_build? - should be falsey - build? should be falsey - release_build? + prerelease? should be falsey + build? + should be truthy + prerelease_build? + should be truthy has behavior: rejects invalid version strings + 1.0.0-alpha.. + fails because: empty prerelease identifier 1.0.0-01.02.03 fails because: leading zero invalid - 1.0.0- - fails because: empty prerelease identifier - 1.1.01 + 1.01.1 + fails because: leading zero invalid + 4.0.000000000002-alpha.1 fails because: leading zero invalid 12.2.10-beta.00000017 fails because: leading zero invalid - 01.1.1 + 007.2.3-rc.1+build.16 fails because: leading zero invalid + 1.0.0- + fails because: empty prerelease identifier + 1.0.0-alpha.01 + fails because: leading zero invalid + 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 - 007.2.3-rc.1+build.16 + 6.3.1+ + fails because: empty build identifier + 12.0005.1-alpha.12 fails because: leading zero invalid - 1.0.0-alpha.01 + 01.1.1 fails because: leading zero invalid - 1.01.1 + 1.1.01 + fails because: leading zero invalid + +Mixlib::Versioning::Format + #initialize +WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-mixlib-versioning-1.1.0/spec/mixlib/versioning/format_spec.rb:27:in `block (3 levels) in '. + descendants must override #parse + .for + unknown format_type + format_type is a: #{invalid_format_type.class} + raises a Mixlib::Versioning::UnknownFormatError + format_type is a: #{invalid_format_type.class} + raises a Mixlib::Versioning::UnknownFormatError + format_type is a: #{invalid_format_type.class} + raises a Mixlib::Versioning::UnknownFormatError + format_type is a: #{format_type.class} + returns the correct format class + format_type is a: #{format_type.class} + returns the correct format class + format_type is a: #{format_type.class} + returns the correct format class + +Mixlib::Versioning::Format::OpscodeSemVer + 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-alpha.1+20130308110833 + generates a semver version string for 1.0.0+20130308110833.git.2.94a1dde + #to_rubygems_string + 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 + generates a rubygems version string for 1.0.0-alpha.1 + #to_s + 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 + reconstructs the initial input for 1.0.0 + has behavior: sortable + responds to <=> + sorts all properly + finds the min + finds the max + has behavior: comparable + #>= + 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 1.2.3+20121009074433 greater-than or equal to 1.2.3 + confirms that 0.2.0 greater-than or equal to 0.1.0 + #between? + comfirms that a version is between the oldest and latest release + #<= + 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 less-than or equal to 1.2.3+20121009074433 + confirms that 2.0.0-beta.1 less-than or equal to 2.0.0+20131009104433.git.2.94a1dde + #== + confirms that 0.2.0 is equal to 0.2.0 + confirms that 1.0.0 is equal to 1.0.0 + confirms that 1.2.3+20121009074433 is equal to 1.2.3+20121009074433 + confirms that 1.0.0-alpha.1 is equal to 1.0.0-alpha.1 + confirms that 1.2.3 is equal to 1.2.3 + 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 0.1.0 is equal to 0.1.0 + #> + confirms that 2.0.0+20131009104433.git.2.94a1dde is greather-than 2.0.0-beta.1 + confirms that 1.0.0 is greather-than 1.0.0-alpha.1 + confirms that 1.2.3+20121009074433 is greather-than 1.2.3 + confirms that 0.2.0 is greather-than 0.1.0 + #< + 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 + confirms that 1.2.3 is less-than 1.2.3+20121009074433 + confirms that 0.1.0 is less-than 0.2.0 + it should behave like Mixlib::Versioning::Format::SemVer + has behavior: parses valid version strings + 1.0.0+20130308110833 + patch + should eq 0 + prerelease + should eq nil + build + should eq "20130308110833" + release_build? + should eq true + prerelease? + should eq false + release? + should eq false + major + should eq 1 + prerelease_build? + should eq false + minor + should eq 0 + build? + should eq true + 1.0.0-beta.3+20130308110833 + minor + should eq 0 + patch + should eq 0 + build? + should eq true + release_build? + should eq false + prerelease? + should eq false + prerelease_build? + should eq true + release? + should eq false + build + should eq "20130308110833" + prerelease + should eq "beta.3" + major + should eq 1 + 1.0.0-alpha.1 + build + should eq nil + prerelease + should eq "alpha.1" + prerelease? + should eq true + build? + should eq false + release? + should eq false + prerelease_build? + should eq false + major + should eq 1 + release_build? + should eq false + patch + should eq 0 + minor + should eq 0 + has behavior: rejects invalid version strings + 12.0005.1-alpha.12 fails because: leading zero invalid 4.0.000000000002-alpha.1 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 + 12.2.10-beta.00000017 + 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 + 1.0.0- + fails because: empty prerelease identifier + 1.1.01 + fails because: leading zero invalid 6.3.1+ fails because: empty build identifier - 12.0005.1-alpha.12 + 01.1.1 + fails because: leading zero invalid + 1.0.0-01.02.03 fails because: leading zero invalid + 1.0.0-alpha.. + fails because: empty prerelease identifier 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 + build should eq nil - build? - should eq false - release? - should eq true - patch - should eq 3 minor should eq 2 - major - should eq 1 - release_build? - should eq false - build + prerelease should eq nil prerelease? should eq false + release_build? + should eq false prerelease_build? should eq false - 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 + release? + should eq true + build? + should eq false + major + should eq 1 + patch + should eq 3 + build qualification + release version + build? + should be falsey + prerelease? + should be falsey + release_build? + should be falsey + prerelease_build? + should be falsey + release? + should be truthy + pre-release build version + build? + should be truthy + prerelease? + should be falsey + release? + should be falsey + release_build? + should be falsey + prerelease_build? + should be truthy + release build version + release? + should be falsey + build? + should be truthy + release_build? + should be truthy + prerelease? + should be falsey + prerelease_build? + should be falsey + pre-release version + release_build? + should be falsey + prerelease_build? + should be falsey + release? + should be falsey + build? + should be falsey + prerelease? + should be truthy + has behavior: rejects invalid version strings + 01.0.8-alpha.2+20130308110833.git.2.94a1dde + fails because: leading zero invalid + 1.0.0+git.AA.e0f985a + fails because: a malformed git describe: non-numeric COMMITS_SINCE + 11.00000000002.8-rc.1+20130308110833 + fails because: leading zero invalid + 3.6.7-rc.007 + fails because: leading zero invalid + 1.0.0+2010AA08010101 + fails because: a malformed timestamp + 1.0.0+cvs.33.e0f985a + fails because: a malformed git describe: no git string + 11.02.8-rc.1+20130308110833 + fails because: leading zero invalid + 4.67.00012+build.20131219 + fails because: leading zero invalid + 1.0.0-poop.0 + fails because: non-valid pre-release type + 1.0.0+git.33.z0f985a + fails because: a malformed git describe: invalid SHA1 + 0008.1.4 + fails because: leading zero invalid + 11.0.08-rc.1+20130308110833 + fails because: leading zero invalid has behavior: filterable - filters by pre-release versions only - filters by release versions only - filters by pre-release build versions only - filters by release build versions only filters by build versions only - has behavior: comparable - #between? - comfirms that a version is between the oldest and latest release - #<= - 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 1.0.0-alpha.1 less-than or equal to 1.0.0 - confirms that 0.1.0 less-than or equal to 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 - 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 0.2.0 is greather-than 0.1.0 - confirms that 1.0.0 is greather-than 1.0.0-alpha.1 - confirms that 1.2.3+20121009074433 is greather-than 1.2.3 - confirms that 2.0.0+20131009104433.git.2.94a1dde is greather-than 2.0.0-beta.1 - #== - 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 0.2.0 is equal to 0.2.0 - confirms that 1.0.0 is equal to 1.0.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 2.0.0+20131009104433.git.2.94a1dde is equal to 2.0.0+20131009104433.git.2.94a1dde - confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 - #>= - confirms that 1.2.3+20121009074433 greater-than or equal to 1.2.3 - 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 2.0.0+20131009104433.git.2.94a1dde greater-than or equal to 2.0.0-beta.1 - has behavior: serializable - #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 - reconstructs the initial input for 1.0.0-alpha.1+20130308110833 - #to_rubygems_string - generates a rubygems version string for 1.0.0-alpha.1 - generates a rubygems version string for 1.0.0-alpha.1+20130308110833 - generates a rubygems version string for 1.0.0 - generates a rubygems version string for 1.0.0+20130308110833.git.2.94a1dde - #to_semver_string - generates a semver version string for 1.0.0-alpha.1+20130308110833 - generates a semver version string for 1.0.0-alpha.1 - generates a semver version string for 1.0.0+20130308110833.git.2.94a1dde - generates a semver version string for 1.0.0 - -Mixlib::Versioning::Format::GitDescribe - has behavior: sortable - finds the max - sorts all properly - responds to <=> - finds the min - has behavior: comparable - #< - confirms that 10.0.0-1-gabcdef3-1 is less-than 10.5.7-2-g21353f0-1 - confirms that 9.0.1-2-gdeadbe1-2 is less-than 9.0.1-2-gdeadbe2-1 - confirms that 10.20.2-2-gbbbbbbb-1 is less-than 10.20.2-3-gaaaaaaa-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 - #between? - comfirms that a version is between the oldest and latest release - #== - 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 10.20.2-2-gbbbbbbb-1 is equal to 10.20.2-2-gbbbbbbb-1 - confirms that 9.0.1-2-gdeadbe2-1 is equal to 9.0.1-2-gdeadbe2-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-1 is equal to 9.0.1-2-gdeadbe1-1 - confirms that 9.0.1-2-gdeadbe1-2 is equal to 9.0.1-2-gdeadbe1-2 - confirms that 9.1.2-2-g1234567-1 is equal to 9.1.2-2-g1234567-1 - confirms that 9.1.1-2-g1234567-1 is equal to 9.1.1-2-g1234567-1 - #> - confirms that 10.20.2-3-gaaaaaaa-1 is greather-than 10.20.2-2-gbbbbbbb-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 9.0.1-2-gdeadbe1-1 is greather-than 9.0.1-1-gdeadbee-1 - #<= - confirms that 10.0.0-1-gabcdef3-1 less-than or equal to 10.5.7-2-g21353f0-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-2-gbbbbbbb-1 less-than or equal to 10.20.2-3-gaaaaaaa-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-2-gdeadbe1-2 less-than or equal to 9.0.1-2-gdeadbe2-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 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 - has behavior: filterable - filters by pre-release versions only filters by release build versions only - filters by release versions only + filters by pre-release versions only filters by pre-release build versions only - filters by build versions only - has behavior: rejects invalid version strings - 1.0.0-alpha.1+build.deadbeef - fails because: no git describe data - 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-gfd0e3a65282cb5f6df3bab6a53f4fcb722340d499-1 - fails because: too many SHA1 characters - 1.0.0-123-gNOTHEX1-1 - fails because: illegal SHA1 characters - 1.0.0-123-g1234567-alpha - fails because: non-numeric iteration - 1.0.0-alpha.1 - 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-alpha-poop-g1234567-1 - fails because: non-numeric 'commits_since' + filters by release versions only + +Mixlib::Versioning + .find_target_version + filter_version argument is an instance of Mixlib::Versioning::Format + finds the correct version + all_versions argument is a mix of String and Mixlib::Versioning::Format instances + correctly parses the array + filter version of: 11.0.2 + 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.0 + finds the most recent release version + include pre-release versions + finds the most recent pre-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 + filter version of: + finds the most recent 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 + include pre-release versions + finds the most recent pre-release version + filter version of: 11.0.2-alpha.0 + 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 + .parse + parsing an Mixlib::Versioning::Format object + returns the same object + parsing with automatic format detection + 10.18.2.poop-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+20130311134422 + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + 11.0.8-rc.1 + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + 10.16.2-rc.2-49-g21353f0 + parses version string as: Mixlib::Versioning::Format::GitDescribe + 10.18.2.poop + parses version string as: Mixlib::Versioning::Format::Rubygems + 10.16.2-49-g21353f0 + parses version string as: Mixlib::Versioning::Format::GitDescribe + version_string cannot be parsed + returns nil + 11.0.8 + parses version string as: Mixlib::Versioning::Format::SemVer + 12.1.1+20130308110833.git.2.94a1dde + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + 12.1.1-rc.3+20130311134422 + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + 11.0.8-1 + parses version string as: Mixlib::Versioning::Format::SemVer + 11.0.8.rc.1-1 + 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.16.2.rc.2-49-g21353f0 + parses version string as: Mixlib::Versioning::Format::GitDescribe + 10.18.2-poop + parses version string as: Mixlib::Versioning::Format::SemVer + when formats are given + when the format is in the list + returns nil when the array contains a string + returns nil when the array contains a Mixlib::Versioning::Format + returns nil when the array contains a symbol + when the format is not in the list + returns nil when the array contains a symbol + returns nil when the array contains a Mixlib::Versioning::Format + returns nil when the array contains a string + parsing when format type is specified + 11.1.1-rc.2 as Mixlib::Versioning::Format::SemVer + format type as a: Symbol + parses version string 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 + 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 + 11.1.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 + 11.1.1-alpha.1 as Mixlib::Versioning::Format::OpscodeSemVer + format type as a: String + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + format type as a: Symbol + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + format type as a: Class + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + invalid format type specified + invalid format as a: String + raises a Mixlib::Versioning::UnknownFormatError + invalid format as a: Class + 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: Symbol + parses version string as: Mixlib::Versioning::Format::SemVer + format type as a: String + parses version string as: Mixlib::Versioning::Format::SemVer + +Mixlib::Versioning::Format::Rubygems has behavior: parses valid version strings - 10.16.2-49-g21353f0-1 + 11.0.8.rc.3 + release? + should eq false + build? + should eq false minor - should eq 16 - release_build? - should eq true - patch - should eq 2 + should eq 0 major - should eq 10 + should eq 11 + build + should eq nil + iteration + should eq 0 prerelease_build? should eq false - build? - should eq true prerelease? + should eq true + prerelease + should eq "rc.3" + patch + should eq 8 + release_build? + should eq false + 10.1.1.alpha.1 + build? + should eq false + release_build? should eq false prerelease + should eq "alpha.1" + build should eq nil - commits_since - should eq 49 - commit_sha - should eq "21353f0" release? should eq false - build - should eq "49.g21353f0.1" - iteration - should eq 1 - 10.16.2-alpha-49-g21353f0-1 - commits_since - should eq 49 - minor - should eq 16 - build? + prerelease? should eq true - build - should eq "49.g21353f0.1" + minor + should eq 1 + iteration + should eq 0 major should eq 10 - release? - should eq false patch - should eq 2 - prerelease? + should eq 1 + prerelease_build? should eq false + 11.0.8-33 + major + should eq 11 iteration - should eq 1 + should eq 33 + minor + should eq 0 + build + should eq nil release_build? should eq false prerelease - should eq "alpha" - commit_sha - should eq "21353f0" + should eq nil prerelease_build? + should eq false + prerelease? + should eq false + build? + should eq false + release? should eq true - 10.16.2.rc.1-49-g21353f0-1 - commits_since - should eq 49 - minor - should eq 16 + patch + should eq 8 + 10.1.1 + build? + should eq false major should eq 10 - build? - should eq true prerelease - should eq "rc.1" + should eq nil prerelease? should eq false + patch + should eq 1 iteration + should eq 0 + minor should eq 1 + build + should eq nil prerelease_build? - should eq true + should eq false release_build? should eq false release? - should eq false - patch - should eq 2 - commit_sha - should eq "21353f0" - build - should eq "49.g21353f0.1" - 0.10.8-231-g59d6185 - build? should eq true - prerelease - should eq nil - iteration - should eq 0 + 11.0.8.rc.3-1 build - should eq "231.g59d6185.0" + should eq nil + prerelease? + should eq true patch should eq 8 - commits_since - should eq 231 - release_build? - should eq true - prerelease? - should eq false - major - should eq 0 - commit_sha - should eq "59d6185" - prerelease_build? - should eq false + prerelease + should eq "rc.3" release? should eq false minor - should eq 10 - 10.16.2-alpha-49-g21353f0 - build - should eq "49.g21353f0.0" - build? - should eq true - prerelease - should eq "alpha" - iteration should eq 0 - patch - should eq 2 - commits_since - should eq 49 - prerelease_build? - should eq true - minor - should eq 16 - major - should eq 10 release_build? should eq false - commit_sha - should eq "21353f0" - release? + prerelease_build? should eq false - prerelease? + iteration + should eq 1 + build? should eq false + major + should eq 11 + has behavior: comparable + #> + 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 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 0.2.0 is greather-than 0.1.0 + #== + 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 1.2.3.alpha is equal to 1.2.3.alpha + confirms that 2.4.5.beta is equal to 2.4.5.beta + confirms that 3.0.0.rc.1 is equal to 3.0.0.rc.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 0.2.0 is equal to 0.2.0 + 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 1.0.0 is equal to 1.0.0 + #between? + comfirms that a version is between the oldest and latest release + #>= + confirms that 0.2.0 greater-than or equal to 0.1.0 + confirms that 1.2.3.alpha.1 greater-than or equal to 1.2.3.alpha + confirms that 2.4.5.beta greater-than or equal to 2.4.5.alpha + confirms that 1.0.0 greater-than or equal to 1.0.0.alpha.1 + confirms that 3.1.2 greater-than or equal to 3.1.2.rc.42 + confirms that 3.0.0.rc.1 greater-than or equal to 3.0.0.beta.1 + #<= + confirms that 1.0.0.alpha.1 less-than or equal to 1.0.0 + confirms that 2.4.5.alpha less-than or equal to 2.4.5.beta + confirms that 1.2.3.alpha less-than or equal to 1.2.3.alpha.1 + confirms that 3.1.2.rc.42 less-than or equal to 3.1.2 + confirms that 3.0.0.beta.1 less-than or equal to 3.0.0.rc.1 + confirms that 0.1.0 less-than or equal to 0.2.0 + #< + confirms that 0.1.0 is less-than 0.2.0 + 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 3.0.0.beta.1 is less-than 3.0.0.rc.1 + confirms that 1.2.3.alpha is less-than 1.2.3.alpha.1 + confirms that 2.4.5.alpha is less-than 2.4.5.beta has behavior: serializable #to_semver_string - generates a semver version string for 9.1.1-2-g1234567-1 - generates a semver version string for 10.0.0-1-gabcdef3-1 - generates a semver version string for 9.1.2-2-g1234567-1 - generates a semver version string for 10.5.7-2-g21353f0-1 - generates a semver version string for 9.0.1-2-gdeadbe1-1 - generates a semver version string for 10.20.2-3-gaaaaaaa-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-gdeadbe2-1 - generates a semver version string for 9.0.1-1-gdeadbee-1 + generates a semver version string for 1.0.0.beta + 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 9.0.1-1-gdeadbee-1 - reconstructs the initial input for 10.20.2-2-gbbbbbbb-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.20.2-3-gaaaaaaa-1 - reconstructs the initial input for 9.0.1-2-gdeadbe1-2 - reconstructs the initial input for 10.0.0-1-gabcdef3-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 9.0.1-2-gdeadbe2-1 + reconstructs the initial input for 1.0.0.alpha.1 + reconstructs the initial input for 1.0.0 + reconstructs the initial input for 1.0.0.beta #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.0.0-1-gabcdef3-1 - 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.1.1-2-g1234567-1 - generates a rubygems version string for 10.20.2-3-gaaaaaaa-1 - generates a rubygems version string for 10.20.2-2-gbbbbbbb-1 - -Mixlib::Versioning::Format::Rubygems + generates a rubygems version string for 1.0.0.beta + generates a rubygems version string for 1.0.0 + generates a rubygems version string for 1.0.0.alpha.1 + has behavior: sortable + finds the min + sorts all properly + finds the max + responds to <=> + has behavior: rejects invalid version strings + 1.1.1-rutro + fails because: dash for pre-release delimeter + has behavior: filterable + filters by build versions only + filters by release build versions only + filters by release versions only + filters by pre-release build versions only + filters by pre-release versions only it should behave like Basic SemVer + has behavior: rejects invalid version strings + a.1.1 + fails because: non-numeric MAJOR + 1.a.1 + fails because: non-numeric MINOR + 1.1.a + fails because: non-numeric PATCH has behavior: parses valid version strings 1.2.3 - build? + patch + should eq 3 + prerelease_build? should eq false - prerelease - should eq nil build should eq nil - release? - should eq true - patch - should eq 3 prerelease? should eq false + minor + should eq 2 major should eq 1 - release_build? + build? should eq false - minor - should eq 2 - prerelease_build? + release? + should eq true + release_build? should eq false - has behavior: rejects invalid version strings - 1.a.1 - fails because: non-numeric MINOR - a.1.1 - fails because: non-numeric MAJOR - 1.1.a - fails because: non-numeric PATCH + prerelease + should eq nil + +Mixlib::Versioning::Format::GitDescribe has behavior: filterable + filters by release build versions only + filters by build versions only filters by pre-release build versions only filters by pre-release versions only filters by release versions only - filters by build versions only - filters by release build versions only - has behavior: serializable - #to_s - reconstructs the initial input for 1.0.0.alpha.1 - reconstructs the initial input for 1.0.0 - reconstructs the initial input for 1.0.0.beta - #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.beta - #to_rubygems_string - generates a rubygems version string for 1.0.0.beta - generates a rubygems version string for 1.0.0 - generates a rubygems version string for 1.0.0.alpha.1 + has behavior: sortable + sorts all properly + responds to <=> + finds the min + finds the max has behavior: comparable #between? comfirms that a version is between the oldest and latest release - #>= - 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 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 1.2.3.alpha.1 greater-than or equal to 1.2.3.alpha - confirms that 0.2.0 greater-than or equal to 0.1.0 - #<= - 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.1.2.rc.42 less-than or equal to 3.1.2 - confirms that 2.4.5.alpha less-than or equal to 2.4.5.beta - confirms that 3.0.0.beta.1 less-than or equal to 3.0.0.rc.1 #< - confirms that 1.2.3.alpha is less-than 1.2.3.alpha.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 1.0.0.alpha.1 is less-than 1.0.0 - confirms that 3.0.0.beta.1 is less-than 3.0.0.rc.1 - confirms that 0.1.0 is less-than 0.2.0 + confirms that 9.1.1-2-g1234567-1 is less-than 9.1.2-2-g1234567-1 + confirms that 9.0.1-1-gdeadbee-1 is less-than 9.0.1-2-gdeadbe1-1 + confirms that 10.0.0-1-gabcdef3-1 is less-than 10.5.7-2-g21353f0-1 + confirms that 9.0.1-2-gdeadbe1-2 is less-than 9.0.1-2-gdeadbe2-1 + confirms that 10.20.2-2-gbbbbbbb-1 is less-than 10.20.2-3-gaaaaaaa-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.0.0-1-gabcdef3-1 less-than or equal to 10.5.7-2-g21353f0-1 + #>= + confirms that 9.0.1-2-gdeadbe2-1 greater-than or equal to 9.0.1-2-gdeadbe1-2 + confirms that 9.0.1-2-gdeadbe1-1 greater-than or equal to 9.0.1-1-gdeadbee-1 + confirms that 9.1.2-2-g1234567-1 greater-than or equal to 9.1.1-2-g1234567-1 + confirms that 10.20.2-3-gaaaaaaa-1 greater-than or equal to 10.20.2-2-gbbbbbbb-1 + confirms that 10.5.7-2-g21353f0-1 greater-than or equal to 10.0.0-1-gabcdef3-1 #> - confirms that 1.2.3.alpha.1 is greather-than 1.2.3.alpha - confirms that 1.0.0 is greather-than 1.0.0.alpha.1 - confirms that 0.2.0 is greather-than 0.1.0 - confirms that 3.0.0.rc.1 is greather-than 3.0.0.beta.1 - confirms that 3.1.2 is greather-than 3.1.2.rc.42 - confirms that 2.4.5.beta is greather-than 2.4.5.alpha + 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 9.1.2-2-g1234567-1 is greather-than 9.1.1-2-g1234567-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.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 3.1.2 is equal to 3.1.2 - confirms that 3.0.0.rc.1 is equal to 3.0.0.rc.1 - confirms that 2.4.5.beta is equal to 2.4.5.beta - confirms that 0.2.0 is equal to 0.2.0 - confirms that 1.0.0 is equal to 1.0.0 - 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 1.0.0.alpha.1 is equal to 1.0.0.alpha.1 - confirms that 3.0.0.beta.1 is equal to 3.0.0.beta.1 - confirms that 3.1.2.rc.42 is equal to 3.1.2.rc.42 + confirms that 10.20.2-3-gaaaaaaa-1 is equal to 10.20.2-3-gaaaaaaa-1 + confirms that 9.0.1-2-gdeadbe1-1 is equal to 9.0.1-2-gdeadbe1-1 + confirms that 9.0.1-2-gdeadbe1-2 is equal to 9.0.1-2-gdeadbe1-2 + confirms that 10.5.7-2-g21353f0-1 is equal to 10.5.7-2-g21353f0-1 + confirms that 9.0.1-2-gdeadbe2-1 is equal to 9.0.1-2-gdeadbe2-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 9.0.1-1-gdeadbee-1 is equal to 9.0.1-1-gdeadbee-1 + confirms that 10.20.2-2-gbbbbbbb-1 is equal to 10.20.2-2-gbbbbbbb-1 + confirms that 9.1.2-2-g1234567-1 is equal to 9.1.2-2-g1234567-1 + has behavior: serializable + #to_semver_string + generates a semver version string for 9.1.2-2-g1234567-1 + generates a semver version string for 9.1.1-2-g1234567-1 + generates a semver version string for 10.0.0-1-gabcdef3-1 + generates a semver version string for 10.20.2-2-gbbbbbbb-1 + generates a semver version string for 9.0.1-2-gdeadbe2-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 9.0.1-2-gdeadbe1-1 + generates a semver version string for 9.0.1-2-gdeadbe1-2 + generates a semver version string for 9.0.1-1-gdeadbee-1 + #to_s + reconstructs the initial input for 10.0.0-1-gabcdef3-1 + reconstructs the initial input for 9.0.1-2-gdeadbe1-1 + reconstructs the initial input for 9.0.1-2-gdeadbe2-1 + 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.5.7-2-g21353f0-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 9.1.2-2-g1234567-1 + reconstructs the initial input for 9.1.1-2-g1234567-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-1-gdeadbee-1 + generates a rubygems version string for 9.1.1-2-g1234567-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.0.1-2-gdeadbe2-1 + generates a rubygems version string for 10.5.7-2-g21353f0-1 + generates a rubygems version string for 9.0.1-2-gdeadbe1-2 + generates a rubygems version string for 10.20.2-2-gbbbbbbb-1 + generates a rubygems version string for 9.1.2-2-g1234567-1 has behavior: rejects invalid version strings - 1.1.1-rutro - fails because: dash for pre-release delimeter - has behavior: sortable - sorts all properly - finds the min - finds the max - responds to <=> + 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-123-gdeadbe-1 + fails because: too few SHA1 characters + 1.0.0 + fails because: no git describe data + 1.0.0-alpha-poop-g1234567-1 + fails because: non-numeric 'commits_since' + 1.0.0-alpha.1+build.deadbeef + fails because: no git describe data + 1.0.0-123-1 + fails because: missing SHA1 + 1.0.0-123-gfd0e3a65282cb5f6df3bab6a53f4fcb722340d499-1 + fails because: too many SHA1 characters + 1.0.0-123-g1234567-alpha + fails because: non-numeric iteration + 1.0.0-g1234567-1 + fails because: missing 'commits_since' has behavior: parses valid version strings - 11.0.8-33 + 10.16.2.rc.1-49-g21353f0-1 + release_build? + should eq false minor - should eq 0 + should eq 16 + build + should eq "49.g21353f0.1" + major + should eq 10 + commits_since + should eq 49 + prerelease + should eq "rc.1" + prerelease_build? + should eq true + commit_sha + should eq "21353f0" build? + should eq true + release? should eq false - prerelease - should eq nil + iteration + should eq 1 prerelease? should eq false + patch + should eq 2 + 0.10.8-231-g59d6185 + minor + should eq 10 iteration - should eq 33 - prerelease_build? - should eq false + should eq 0 patch should eq 8 - release_build? + release? should eq false - build + prerelease should eq nil - release? + build + should eq "231.g59d6185.0" + commits_since + should eq 231 + release_build? should eq true + prerelease? + should eq false major - should eq 11 - 10.1.1 - iteration should eq 0 - release? - should eq true - prerelease? + commit_sha + should eq "59d6185" + prerelease_build? should eq false - minor - should eq 1 + build? + should eq true + 10.16.2-49-g21353f0-1 + patch + should eq 2 prerelease should eq nil - release_build? + prerelease_build? should eq false - build? + minor + should eq 16 + release? should eq false build - should eq nil - prerelease_build? - should eq false + should eq "49.g21353f0.1" + commit_sha + should eq "21353f0" + build? + should eq true major should eq 10 - patch + iteration should eq 1 - 11.0.8.rc.3 - prerelease? + release_build? should eq true - build? + commits_since + should eq 49 + prerelease? should eq false + 10.16.2-alpha-49-g21353f0 patch - should eq 8 + should eq 2 + build + should eq "49.g21353f0.0" + prerelease? + should eq false iteration should eq 0 minor - should eq 0 - build - should eq nil + should eq 16 + major + should eq 10 release_build? should eq false - major - should eq 11 release? should eq false prerelease - should eq "rc.3" + should eq "alpha" prerelease_build? - should eq false - 11.0.8.rc.3-1 + should eq true build? - should eq false - prerelease_build? - should eq false - iteration - should eq 1 + should eq true + commits_since + should eq 49 + commit_sha + should eq "21353f0" + 10.16.2-alpha-49-g21353f0-1 minor - should eq 0 + should eq 16 + commits_since + should eq 49 release? should eq false - release_build? - should eq false - prerelease - should eq "rc.3" - major - should eq 11 - build - should eq nil - patch - should eq 8 - prerelease? + iteration + should eq 1 + prerelease_build? should eq true - 10.1.1.alpha.1 build - should eq nil - prerelease_build? - should eq false - build? - should eq false + should eq "49.g21353f0.1" release_build? should eq false - release? + commit_sha + should eq "21353f0" + patch + should eq 2 + prerelease? should eq false - minor - should eq 1 major should eq 10 - patch - should eq 1 - iteration - should eq 0 - prerelease - should eq "alpha.1" - prerelease? + build? should eq true - -Mixlib::Versioning - .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 with automatic format detection - 10.16.2-49-g21353f0-1 - parses version string as: Mixlib::Versioning::Format::GitDescribe - 10.16.2-49-g21353f0 - parses version string as: Mixlib::Versioning::Format::GitDescribe - 11.0.8 - parses version string as: Mixlib::Versioning::Format::SemVer - 12.1.1-rc.3+20130311134422 - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 10.18.2 - parses version string as: Mixlib::Versioning::Format::SemVer - 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::OpscodeSemVer - 11.0.8.rc.1 - parses version string as: Mixlib::Versioning::Format::Rubygems - 10.18.2.poop - parses version string as: Mixlib::Versioning::Format::Rubygems - 10.18.2-poop - parses version string as: Mixlib::Versioning::Format::SemVer - 11.0.8-1 - parses version string as: Mixlib::Versioning::Format::SemVer - 10.16.2-rc.2-49-g21353f0 - parses version string as: Mixlib::Versioning::Format::GitDescribe - 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 - version_string cannot be parsed - returns nil - 10.16.2.rc.2-49-g21353f0 - parses version string as: Mixlib::Versioning::Format::GitDescribe - 10.18.2.poop-1 - parses version string as: Mixlib::Versioning::Format::Rubygems - 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-rc.2 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 - format type as a: Class - parses version string as: Mixlib::Versioning::Format::SemVer - 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 - 11.1.1-alpha.1 as Mixlib::Versioning::Format::OpscodeSemVer - format type as a: Class - parses version string 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 - 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.0.8 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 - parsing an Mixlib::Versioning::Format object - returns the same object - .find_target_version - all_versions argument is a mix of String and Mixlib::Versioning::Format instances - correctly parses the array - filter version of: - finds the most recent release version - include build versions - finds the most recent build 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 - filter version of: 11.0.2-alpha.0 - finds the most recent release 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 - include build versions - finds the most recent build version - filter_version argument is an instance of Mixlib::Versioning::Format - finds the correct version - filter version of: 11.0.0 - finds the most recent release version - include build versions - finds the most recent build 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 - filter version of: 11.0.2 - finds the most recent release version - include build versions - finds the most recent build 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 - -Mixlib::Versioning::Format::SemVer - has behavior: serializable - #to_s - 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-alpha.1+some.build.version - reconstructs the initial input for 1.0.0 - #to_semver_string - 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 - generates a semver version string for 1.0.0-alpha.1+some.build.version - #to_rubygems_string - 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-alpha.1 - generates a rubygems version string for 1.0.0+build.build.build - has behavior: sortable - responds to <=> - finds the max - finds the min - sorts all properly - has behavior: comparable - #>= - confirms that 1.0.0 greater-than or equal to 1.0.0-alpha.1 - confirms that 1.2.3+build.123 greater-than or equal to 1.2.3 - 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 - #> - confirms that 2.0.0-beta.1+build.123 is greather-than 2.0.0-beta.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 1.0.0 is greather-than 1.0.0-alpha.1 - #between? - comfirms that a version is between the oldest and latest release - #<= - 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 less-than or equal to 0.2.0 - #< - confirms that 2.0.0-beta.1 is less-than 2.0.0-beta.1+build.123 - 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 1.0.0 is equal to 1.0.0 - 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 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 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 - it should behave like Mixlib::Versioning::Format::SemVer - it should behave like Basic SemVer - has behavior: parses valid version strings - 1.2.3 - prerelease_build? - should eq false - patch - should eq 3 - minor - should eq 2 - major - should eq 1 - build - should eq nil - prerelease? - should eq false - prerelease - should eq nil - release_build? - should eq false - build? - should eq false - release? - should eq true - has behavior: rejects invalid version strings - a.1.1 - fails because: non-numeric MAJOR - 1.a.1 - fails because: non-numeric MINOR - 1.1.a - fails because: non-numeric PATCH - has behavior: parses valid version strings - 1.0.0-alpha.1 - prerelease? - should eq true - release? - should eq false - build - should eq nil - patch - should eq 0 - prerelease_build? - should eq false - minor - should eq 0 - release_build? - should eq false - major - should eq 1 - build? - should eq false - prerelease - should eq "alpha.1" - 1.0.0+20130308110833 - build - should eq "20130308110833" - major - should eq 1 - prerelease? - should eq false - release_build? - should eq true - release? - should eq false - patch - should eq 0 - minor - should eq 0 - prerelease_build? - should eq false - build? - should eq true - prerelease - should eq nil - 1.0.0-beta.3+20130308110833 - prerelease - should eq "beta.3" - minor - should eq 0 - major - should eq 1 - patch - should eq 0 - build? - should eq true - prerelease? - should eq false - release_build? - should eq false - build - should eq "20130308110833" - prerelease_build? - should eq true - release? - should eq false - has behavior: rejects invalid version strings - 1.0.0-alpha.01 - fails because: leading zero invalid - 12.0005.1-alpha.12 - fails because: leading zero invalid - 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 - 007.2.3-rc.1+build.16 - fails because: leading zero invalid - 1.0.0- - fails because: empty prerelease identifier - 1.1.01 - fails because: leading zero invalid - 6.3.1+ - fails because: empty build identifier - 12.2.10-beta.00000017 - fails because: leading zero invalid - 4.0.000000000002-alpha.1 - fails because: leading zero invalid - 6.4.8-alpha.1.2.3+build. - fails because: empty build identifier - 1.0.0-alpha.. - fails because: empty prerelease identifier - 8.8.8.8 - fails because: too many segments: MAJOR.MINOR.PATCH.EXTRA - build qualification - release version - release_build? - should be falsey - prerelease_build? - should be falsey - prerelease? - should be falsey - release? - should be truthy - build? - should be falsey - release build version - release? - should be falsey - prerelease_build? - should be falsey - prerelease? - should be falsey - build? - should be truthy - release_build? - should be truthy - pre-release version - build? - should be falsey - release_build? - should be falsey - release? - should be falsey - prerelease_build? - should be falsey - prerelease? - should be truthy - pre-release build version - release_build? - should be falsey - prerelease? - should be falsey - build? - should be truthy - release? - should be falsey - prerelease_build? - should be truthy - has behavior: filterable - filters by pre-release versions only - filters by release versions only - filters by build versions only - filters by release build versions only - filters by pre-release build versions only - -Mixlib::Versioning::Format - .for - format_type is a: #{format_type.class} - returns the correct format class - format_type is a: #{format_type.class} - returns the correct format class - format_type is a: #{format_type.class} - returns the correct format class - unknown format_type - format_type is a: #{invalid_format_type.class} - raises a Mixlib::Versioning::UnknownFormatError - format_type is a: #{invalid_format_type.class} - raises a Mixlib::Versioning::UnknownFormatError - format_type is a: #{invalid_format_type.class} - raises a Mixlib::Versioning::UnknownFormatError - #initialize -WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/ruby-mixlib-versioning-1.1.0/spec/mixlib/versioning/format_spec.rb:27:in `block (3 levels) in '. - descendants must override #parse + prerelease + should eq "alpha" Deprecation Warnings: @@ -2096,10 +2130,10 @@ 1 deprecation warning total -Finished in 0.99042 seconds (files took 1.06 seconds to load) +Finished in 1.17 seconds (files took 1.3 seconds to load) 594 examples, 0 failures -Randomized with seed 25819 +Randomized with seed 47305 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2128,12 +2162,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/26869/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/26869/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/16082 and its subdirectories -I: Current time: Wed Jun 10 03:42:54 -12 2020 -I: pbuilder-time-stamp: 1591803774 +I: removing directory /srv/workspace/pbuilder/26869 and its subdirectories +I: Current time: Thu Jun 11 05:45:54 +14 2020 +I: pbuilder-time-stamp: 1591803954