Diff of the two buildlogs: -- --- b1/build.log 2021-08-12 13:27:11.078076677 +0000 +++ b2/build.log 2021-08-12 13:27:42.376890102 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Aug 12 01:23:03 -12 2021 -I: pbuilder-time-stamp: 1628774583 +I: Current time: Thu Sep 15 09:50:12 +14 2022 +I: pbuilder-time-stamp: 1663185012 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -17,8 +17,8 @@ I: copying [./ruby-semantic-puppet_1.0.3-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.rCv2rher/trustedkeys.kbx': General error -gpgv: Signature made Fri Jan 29 03:37:16 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.nU_zue43/trustedkeys.kbx': General error +gpgv: Signature made Sat Jan 30 05:37:16 2021 +14 gpgv: using RSA key 7E43E9ACBF727AB3CF0885338716CE4614A452D8 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./ruby-semantic-puppet_1.0.3-1.dsc @@ -27,137 +27,171 @@ dpkg-source: info: unpacking ruby-semantic-puppet_1.0.3-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/15864/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/16355/tmp/hooks/D01_modify_environment starting +debug: Running on ionos16-i386. +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/16355/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/16355/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/root' - HOST_ARCH='i386' + 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]="1" [2]="4" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=15' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='fe4ac775bd8c4b968348d1584cea5b44' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='15864' - PS1='# ' - PS2='> ' + INVOCATION_ID=558124c72891405582f06f3f26996bfa + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=16355 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.PwIfZz0fZ2/pbuilderrc_SIpp --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.PwIfZz0fZ2/b1 --logfile b1/build.log ruby-semantic-puppet_1.0.3-1.dsc' - SUDO_GID='112' - SUDO_UID='107' - 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/tmp.PwIfZz0fZ2/pbuilderrc_D73i --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.PwIfZz0fZ2/b2 --logfile b2/build.log --extrapackages usrmerge ruby-semantic-puppet_1.0.3-1.dsc' + SUDO_GID=112 + SUDO_UID=107 + 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 ionos12-i386 4.19.0-17-686-pae #1 SMP Debian 4.19.194-3 (2021-07-18) i686 GNU/Linux + Linux i-capture-the-hostname 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux I: ls -l /bin - total 5780 - -rwxr-xr-x 1 root root 1367848 Aug 4 08:25 bash - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 38280 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 17768 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 38824 Sep 22 2020 cat - -rwxr-xr-x 1 root root 71624 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 67528 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 75752 Sep 22 2020 chown - -rwxr-xr-x 1 root root 157960 Sep 22 2020 cp - -rwxr-xr-x 1 root root 128724 Dec 10 2020 dash - -rwxr-xr-x 1 root root 124904 Sep 22 2020 date - -rwxr-xr-x 1 root root 92172 Sep 22 2020 dd - -rwxr-xr-x 1 root root 100752 Sep 22 2020 df - -rwxr-xr-x 1 root root 153964 Sep 22 2020 dir - -rwxr-xr-x 1 root root 83644 Jul 28 07:09 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 34664 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 34664 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 71928 Jul 28 07:09 findmnt - -rwsr-xr-x 1 root root 30112 Feb 26 04:12 fusermount - -rwxr-xr-x 1 root root 210488 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 11:30 gzexe - -rwxr-xr-x 1 root root 100952 Mar 2 11:30 gzip - -rwxr-xr-x 1 root root 21916 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 83980 Sep 22 2020 ln - -rwxr-xr-x 1 root root 55572 Feb 7 2020 login - -rwxr-xr-x 1 root root 153964 Sep 22 2020 ls - -rwxr-xr-x 1 root root 153124 Jul 28 07:09 lsblk - -rwxr-xr-x 1 root root 96328 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 79912 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 47048 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 58920 Jul 28 07:09 more - -rwsr-xr-x 1 root root 50720 Jul 28 07:09 mount - -rwxr-xr-x 1 root root 13856 Jul 28 07:09 mountpoint - -rwxr-xr-x 1 root root 157996 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 03:38 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 38824 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 08:25 rbash -> bash - -rwxr-xr-x 1 root root 46984 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 75720 Sep 22 2020 rm - -rwxr-xr-x 1 root root 46984 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 22292 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 125036 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Aug 10 19:48 sh -> dash - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 83880 Sep 22 2020 stty - -rwsr-xr-x 1 root root 79396 Jul 28 07:09 su - -rwxr-xr-x 1 root root 34696 Sep 22 2020 sync - -rwxr-xr-x 1 root root 602584 Feb 16 21:55 tar - -rwxr-xr-x 1 root root 13860 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 108520 Sep 22 2020 touch - -rwxr-xr-x 1 root root 34664 Sep 22 2020 true - -rwxr-xr-x 1 root root 17768 Feb 26 04:12 ulockmgr_server - -rwsr-xr-x 1 root root 30236 Jul 28 07:09 umount - -rwxr-xr-x 1 root root 34664 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 11:30 uncompress - -rwxr-xr-x 1 root root 153964 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 63024 Jul 28 07:09 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 11:30 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 11:30 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 11:30 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 11:30 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 11:30 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 11:30 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 11:30 zless - -rwxr-xr-x 1 root root 1842 Mar 2 11:30 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 11:30 znew -I: user script /srv/workspace/pbuilder/15864/tmp/hooks/D02_print_environment finished + total 5776 + -rwxr-xr-x 1 root root 1367848 Aug 5 2021 bash + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 38280 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 17768 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 38824 Sep 23 2020 cat + -rwxr-xr-x 1 root root 71624 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 67528 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 75752 Sep 23 2020 chown + -rwxr-xr-x 1 root root 157960 Sep 23 2020 cp + -rwxr-xr-x 1 root root 128724 Dec 11 2020 dash + -rwxr-xr-x 1 root root 124904 Sep 23 2020 date + -rwxr-xr-x 1 root root 92172 Sep 23 2020 dd + -rwxr-xr-x 1 root root 100752 Sep 23 2020 df + -rwxr-xr-x 1 root root 153964 Sep 23 2020 dir + -rwxr-xr-x 1 root root 83644 Jul 29 2021 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 34664 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 34664 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 71928 Jul 29 2021 findmnt + -rwsr-xr-x 1 root root 30112 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 210488 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 100952 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 21916 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 83980 Sep 23 2020 ln + -rwxr-xr-x 1 root root 55572 Feb 8 2020 login + -rwxr-xr-x 1 root root 153964 Sep 23 2020 ls + -rwxr-xr-x 1 root root 153124 Jul 29 2021 lsblk + -rwxr-xr-x 1 root root 96328 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 79912 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 47048 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 58920 Jul 29 2021 more + -rwsr-xr-x 1 root root 50720 Jul 29 2021 mount + -rwxr-xr-x 1 root root 13856 Jul 29 2021 mountpoint + -rwxr-xr-x 1 root root 157996 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 2021 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 38824 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 2021 rbash -> bash + -rwxr-xr-x 1 root root 46984 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 75720 Sep 23 2020 rm + -rwxr-xr-x 1 root root 46984 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 22292 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 125036 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 15 09:50 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 15 05:46 sh.distrib -> dash + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 83880 Sep 23 2020 stty + -rwsr-xr-x 1 root root 79396 Jul 29 2021 su + -rwxr-xr-x 1 root root 34696 Sep 23 2020 sync + -rwxr-xr-x 1 root root 602584 Feb 17 2021 tar + -rwxr-xr-x 1 root root 13860 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 108520 Sep 23 2020 touch + -rwxr-xr-x 1 root root 34664 Sep 23 2020 true + -rwxr-xr-x 1 root root 17768 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30236 Jul 29 2021 umount + -rwxr-xr-x 1 root root 34664 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 153964 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 63024 Jul 29 2021 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/16355/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -330,7 +364,7 @@ Get: 129 http://deb.debian.org/debian bullseye/main i386 ruby-rspec-expectations all 3.9.0c2e2m1s3-2 [89.9 kB] Get: 130 http://deb.debian.org/debian bullseye/main i386 ruby-rspec-mocks all 3.9.0c2e2m1s3-2 [81.4 kB] Get: 131 http://deb.debian.org/debian bullseye/main i386 ruby-rspec all 3.9.0c2e2m1s3-2 [8348 B] -Fetched 44.9 MB in 9s (5136 kB/s) +Fetched 44.9 MB in 1s (87.0 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19675 files and directories currently installed.) @@ -878,8 +912,44 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main i386 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main i386 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main i386 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (4308 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 26843 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/ruby-semantic-puppet-1.0.3/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/ruby-semantic-puppet-1.0.3/ && 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-semantic-puppet dpkg-buildpackage: info: source version 1.0.3-1 dpkg-buildpackage: info: source distribution unstable @@ -916,16 +986,16 @@ └──────────────────────────────────────────────────────────────────────────────┘ install -d /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby -install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet.rb -install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/version.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/version.rb -install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/dependency/source.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/dependency/source.rb +install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/version_range.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/version_range.rb +install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/dependency.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/dependency.rb install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/dependency/unsatisfiable_graph.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/dependency/unsatisfiable_graph.rb -install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/dependency/module_release.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/dependency/module_release.rb install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/dependency/graph_node.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/dependency/graph_node.rb +install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/dependency/source.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/dependency/source.rb +install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/dependency/module_release.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/dependency/module_release.rb install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/dependency/graph.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/dependency/graph.rb +install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/version.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/version.rb install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/gem_version.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/gem_version.rb -install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/dependency.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/dependency.rb -install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet/version_range.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet/version_range.rb +install -D -m644 /build/ruby-semantic-puppet-1.0.3/lib/semantic_puppet.rb /build/ruby-semantic-puppet-1.0.3/debian/ruby-semantic-puppet/usr/lib/ruby/vendor_ruby/semantic_puppet.rb ┌──────────────────────────────────────────────────────────────────────────────┐ │ Install Rubygems integration metadata │ @@ -951,1050 +1021,925 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 37883 +Randomized with seed 51270 SemanticPuppet::Dependency::GraphNode - #satisfied - is unsatisfied when any dependencies are missing - is unsatisfied when no nodes have been appended - is satisfied when all dependencies are fulfilled - #<=> - can be compared #populate_children - saves all relevant nodes as its children accepts a graph solution and populates it across all nodes + saves all relevant nodes as its children #<< - does not append nodes with unknown names does not append unsatisfying nodes appends satisfying nodes to the dependencies + does not append nodes with unknown names + #<=> + can be compared dependencies are maintained in the #dependencies Hash are added by #add_dependency - -SemanticPuppet::Dependency - .resolve - for a module with dependencies - returns the greatest releases matching the dependency range - when the dependency has both stable and prerelease versions - returns the greatest stable release matching the range - when the dependency cannot be satisfied - fails with an appropriate message - when the dependency has no stable versions - returns the greatest prerelease version matching the range - that violate graph constraints - that can be resolved - terminates - that cannot be resolved - fails with an appropriate message - for a module with competing dependencies - that overlap - returns the greatest release satisfying all dependencies - that do not overlap - fails with an appropriate message - for a module without dependencies - returns the greatest release matching the version range - when the query omits all versions - fails with an appropriate message - when the query includes both stable and prerelease versions - returns the greatest stable release matching the range - when the query omits all stable versions - returns the greatest prerelease version matching the range - for a module with dependencies - that violate module constraints on the graph - that cannot be resolved - fails with an appropriate message - that can be resolved - terminates - for a module with circular dependencies - that cannot be resolved - fails with an appropriate message - that can be resolved - terminates - .query - without sources - returns an unsatisfied ModuleRelease - with multiple sources - queries each source in turn - resolves all dependencies against all sources - with one source - populates the returned ModuleRelease with related dependencies - queries the source for each dependency - queries the source for each dependency only once - populates all returned ModuleReleases with related dependencies - queries the source for release information - returns a ModuleRelease with the requested dependencies - .sources - is frozen - defaults to an empty list - can be modified by using #add_source - can be emptied by using #clear_sources - -SemanticPuppet::Dependency::UnsatisfiableGraph - #message - is expected to match /foo, bar, and baz/ - #sentence_from_list - with a list of three items - is expected to eql "foo, bar, and baz" - with a list of two items - is expected to eql "foo and bar" - with a list of more than three items - is expected to eql "foo, bar, baz, and quux" - with a list of one item - is expected to eql "foo" + #satisfied + is unsatisfied when no nodes have been appended + is satisfied when all dependencies are fulfilled + is unsatisfied when any dependencies are missing SemanticPuppet::VersionRange - The version - 0.0.0 should be below range ~1.0 - 1.2.3 should not be above range 1.2.*(>=1.2.0 <1.3.0) - 1.2.3-foo should not be above range *(*) - 1.2.4 should not be below range 0.1.20 || >1.2.4 - 0.6.0-asdf should be below range =0.7.x - 3.0.0 should be above range 2.x.x - 1.0.2 should not be below range ~ 1.0 - 0.0.0 should not be below range >=0.2.3 || <0.0.1 - 2.1.2 should not be below range 2 - 1.2.3 should not be above range x(*) - 2.0.0 should not be above range ^1.0.0 || ~2.0.1(>=1.0.0 <2.0.0 || >=2.0.1 <2.1.0) - 1.0.0-beta should not be above range ^0.1.0 || ~3.0.1 || 5.0.0(>=0.1.0 <0.2.0 || >=3.0.1 <3.1.0 || 5.0.0) - 1.3.0 should be above range ~1.2.2 - 2.0.1 should be above range 1.0.0 - 2.0.0 - 2.0.0 should not be above range 1.0.0 - 2.0.0(>=1.0.0 <=2.0.0) - 4.0.0 should be above range 1.2.* || 2.* - 0.1.97 should not be above range >=0.1.97(>=0.1.97) - 3.2.3 should be above range ~> 1 - 2.0.0 should not be below range 1.0.0 - 2.0.0 - 0.2.9 should not be above range <2.0.0(<2.0.0) - 1.0.0-beta should not be below range ^1.0.0-alpha - 1.2.1 should be below range ~1.2.2 - 1.0.1 should not be below range >1.0.0 - 0.2.4 should not be below range >=0.2.3 <=0.2.4 - 0.2.4 should not be below range >=* - 1.0.0 should not be above range >=1(>=1.0.0) - 3.3.2 should be above range ~>3.2.1 - 2.4.5 should not be above range ~2.4(>=2.4.0 <2.5.0) - 2.1.3 should not be below range 1.2.* || 2.* - 1.0.2 should not be below range ~1.0 - 1.2.3 should not be above range 1.2.x || 2.x(>=1.2.0 <1.3.0 || >=2.0.0 <3.0.0) - 2.0.0 should be below range >2.0.0 - 0.5.5 should not be above range ~v0.5.4-pre(>=0.5.4-pre <0.6.0) - 1.2.3 should not be above range 1.2.* || 2.*(>=1.2.0 <1.3.0 || >=2.0.0 <3.0.0) - 1.0.1 should not be below range >=1.0.0 - 1.1.0 should not be above range >= 1.0.0(>=1.0.0) - 1.2.4 should not be above range 0.1.20 || >1.2.4(0.1.20 || >1.2.4) - 0.6.2 should be below range =0.7.x - 2.3.1 should not be below range 2.3 - 1.0.0 should not be below range - 1.0.0 should not be below range >= 1 - 2.1.3 should not be above range 1.2.* || 2.*(>=1.2.0 <1.3.0 || >=2.0.0 <3.0.0) - 1.1.0 should not be below range >1.0.0 - 1.1.0 should be above range ~1.0 - 1.2.0 should be above range <1.2 - 2.2.3 should be above range ~>1 - 1.2.3 should not be above range 0.1.20 || 1.2.4(0.1.20 || 1.2.4) - 0.0.1 should be below range 1.0.0 - 2.0.0 - 2.2.3 should be above range ~1 - 1.2.3 should not be above range *(*) - 0.7.0-asdf should be below range =0.7.x - 1.0.1 should not be below range > 1.0.0 - 1.1.0 should not be below range >= 1.0.0 - 0.2.9 should not be above range < 2.0.0(<2.0.0) - 1.2.3 should not be below range x - 3.1.3 should be above range 1.2.* || 2.* - 2.4.1 should be above range 2.3 - 1.2.3 should not be below range 1.2.* || 2.* - 0.0.0 should not be above range >=0.2.3 || <0.0.1(>=0.2.3 || <0.0.1) - 2.3.0 should be below range ~2.4 - 1.0.0-beta.1 should be below range 1.0.0-beta.2 - 0.2.4 should not be above range >=0.2.3 <=0.2.4(>=0.2.3 <=0.2.4) - 3.2.2 should not be below range ~>3.2.1 - 0.5.4-alpha should be below range ~v0.5.4-pre - 1.0.0-beta should not be below range ^0.1.0 || ~3.0.1 || 5.0.0 - 2.9999.9999 should be above range <=2.0.0 - 1.0.0 should be below range 2.x.x - 1.0.0-beta should not be below range ~1.0.0-alpha - 2.9999.9999 should be above range <2.0.0 - 0.6.0 should be above range ~v0.5.4-pre - 1.2.3 should not be below range 1.0.0 - 2.0.0 - 1.0.0 should not be below range >=1 - 1.2.3 should not be above range 1.2.x(>=1.2.0 <1.3.0) - 1.0.0-0 should be below range ^1 - 0.7.0-asdf should not be above range =0.7.x(>=0.7.0 <0.8.0) - 0.2.9 should not be below range <2.0.0 - 2.4.0 should not be below range ~2.4 - 1.0.0 should be below range >1 - 0.2.5 should not be above range >0.2.3 >0.2.4 <=0.2.5(>0.2.4 <=0.2.5) - 1.1.1 should not be above range <1.2(<1.2.0) - 2.1.1 should be above range <=2.0.0 - 2.0.0 should be above range <2.0.0 - 2.2.1 should be below range 2.3 - 1.0.0-beta should be below range 2 - 0.2.3 should be below range ~1 - 0.8.0-asdf should be above range =0.7.x - 0.2.3 should be below range 1.0.0 - 2.0.0 - 2.4.5 should not be below range ~2.4 - 2.3.0 should be below range ~2.4 - 1.2.9 should be below range >=2.0.0 - 0.2.4 should be below range ~>1 - 3.0.0 should be above range 1.2.x || 2.x - 1.2.3 should not be below range 1.2.* - 0.2.9 should not be below range < 2.0.0 - 1.0.0 should not be above range 1.0.0(1.0.0) - 1.2.3 should not be above range 1.2.* || 2.*(>=1.2.0 <1.3.0 || >=2.0.0 <3.0.0) - 1.2.3 should not be below range 1.2.* || 2.* - 1.3.0 should be above range ~1.2.2 - 1.2.3 should not be below range 0.1.20 || 1.2.4 - 2.0.0-beta should be above range 1 - 1.1.0 should not be below range > 1.0.0 - 0.1.2 should be below range ~1.0 - 2.2.3 should be above range 1.0.0 - 2.0.0 - 0.6.1-pre should be above range ~v0.5.4-pre - 0.6.1-0 should be below range ~0.6.1-1 - 1.0.1 should not be above range >= 1.0.0(>=1.0.0) - 0.5.5 should not be below range ~v0.5.4-pre - 2.2.9 should be above range <=2.0.0 - 1.2.3 should not be above range *(*) - 3.1.2 should be above range 2 - 0.8.0 should be above range =0.7.x - 1.2.3 should not be below range ~>1 - 1.9999.9999 should not be below range < 2.0.0 - 2.5.0 should be above range ~2.4 - 1.3.3 should be above range 1.2.* - 1.2.5 should be above range 0.1.20 || 1.2.4 - 2.1.2 should not be above range 2(>=2.0.0 <3.0.0) - 1.1.3 should be below range 1.2.x - 0.6.1-1 should not be below range ~0.6.1-1 - 1.0.0-beta should be below range 1 - 1.0.2 should not be above range ~ 1.0(>=1.0.0 <1.1.0) - 1.0.0 should not be above range >= 1(>=1.0.0) - 1.2.3 should not be below range ~> 1 - 2.0.0 should not be above range <= 2.0.0(<=2.0.0) - 1.2.3 should not be above range ~> 1(>=1.0.0 <2.0.0) - 1.1.1 should not be below range <1.2 - 1.1.0 should be below range 1.2.x - 0.2.9 should not be below range <= 2.0.0 - 1.0.0 should not be below range =0.1.0 - 1.1.1 should be below range >=2.0.0 - 1.9999.9999 should not be below range <2.0.0 - 1.2.1 should be below range > 1.2 - 3.5.0 should not be below range ^0.1.0 || ~3.0.1 || >4 <=5.0.0 - 5.0.0-0 should not be below range ^0.1.0 || ~3.0.1 || 5.0.0 - 1.1.3 should be below range 1.2.* || 2.* - 1.9999.9999 should not be below range <= 2.0.0 - 1.0.0 should not be below range 1.0.0 - 2.1.3 should not be below range 1.2.x || 2.x - 0.2.3 should not be above range >=0.2.3 || <0.0.1(>=0.2.3 || <0.0.1) - 2.2.4 should be above range ~>1 - 1.1.1 should not be below range < 1.2 - 2.0.0 should not be below range <= 2.0.0 - 0.7.0-asdf should not be above range >=0.7.x(>=0.7.0) - 1.0.0 should not be above range >= 1.0.0(>=1.0.0) - 2.0.0 should not be above range <=2.0.0(<=2.0.0) - 0.1.20 should not be below range 0.1.20 || 1.2.4 - 3.2.0 should not be below range ^0.1.0 || ~3.0.1 || 5.0.0 - 2.0.0 should be above range 1.0.0 - 1.0.0-beta should be above range < 1 - 3.5.0 should not be above range ^0.1.0 || ~3.0.1 || >4 <=5.0.0(>=0.1.0 <0.2.0 || >=3.0.1 <3.1.0 || 5.0.0) - 4.0.0 should not be below range ^3.0.0 - 0.7.2 should not be above range >=0.7.x(>=0.7.0) - 3.0.0 should be above range <=2.0.0 - 1.0.0 should not be below range >=1.0.0 - 1.1.3 should be below range 1.2.* - 2.0.0 should be below range >2.0.0 - 0.2.9 should not be above range <= 2.0.0(<=2.0.0) - 0.9.9 should not be above range 1.0.0 - 2.0.0(>=1.0.0 <=2.0.0) - 2.4.0 should not be above range ~2.4(>=2.4.0 <2.5.0) - 2.1.3 should not be below range 2.*.* - 1.9999.9999 should not be below range <=2.0.0 - 1.2.3 should not be above range ~>1(>=1.0.0 <2.0.0) - 0.8.2 should be above range =0.7.x - 0.5.4 should not be below range ~v0.5.4-pre - 1.0.0 should be below range >=2.0.0 - 2.0.0 should not be below range ^1.0.0 || ~2.0.1 - 1.2.3 should not be below range ~1 - 2.1.3 should not be above range 2.x.x(>=2.0.0 <3.0.0) - 1.2.3 should not be below range * - 1.9999.9999 should be below range 2 - 1.0.0 should not be above range (*) - 0.1.5 should be below range 0.1.20 || 1.2.4 - 1.1.0 should not be below range ~ 1.0 - 1.2.4 should not be below range 0.1.20 || 1.2.4 - 0.7.1-1 should be above range ~0.6.1-1 - 1.2.1 should be below range ~1.2.2 - 0.2.3 should be below range ~1 - 1.2.3 should not be above range 1.0.0 - 2.0.0(>=1.0.0 <=2.0.0) - 2.1.3 should not be above range 2.*.*(>=2.0.0 <3.0.0) - 2.0.0 should not be above range ^3.0.0(>=3.0.0 <4.0.0) - 3.2.9 should be above range <=2.0.0 - 1.2.9 should be below range >=2.0.0 - 1.0.0 should not be below range >= 1.0.0 - 0.6.2 should not be above range <=0.7.x(<0.8.0) - 0.2.3 should not be below range >=0.2.3 || <0.0.1 - 1.2.0 should be below range >1.2 - 1.0.0-beta should be below range > 1 - 2.3.2 should be below range ~>3.2.1 - 2.2.9 should be above range <2.0.0 - 1.1.0 should not be above range >1.0.0(>1.0.0) - 0.7.2 should not be below range >=0.7.x - 1.9999.9999 should not be above range <=2.0.0(<=2.0.0) - 1.1.0 should not be above range >=1.0.0(>=1.0.0) - 0.2.4 should not be below range >=0.2.3 || <0.0.1 - 3.2.0 should be below range ~>3.2.1 - 0.5.4 should not be above range ~v0.5.4-pre(>=0.5.4-pre <0.6.0) - 0.2.3 should be below range ~> 1 - 2.9.9 should not be below range 1.0.0 - 2.0.0 - 2.2.3 should be above range ~1 - 2.3.1 should not be above range 2.3(>=2.3.0 <2.4.0) - 2.5.5 should be above range ~2.4 - 1.2.4 should not be above range 0.1.20 || 1.2.4(0.1.20 || 1.2.4) - 1.2.1 should be above range < 1.2 - 0.0.0-0 should not be above range ^1(>=1.0.0 <2.0.0) - 1.3.3 should be above range 1.2.x - 1.0.2 should not be above range ~1.0(>=1.0.0 <1.1.0) - 1.1.9999 should be below range 1.2.* || 2.* - 1.3.4 should not be above range ||(*) - 0.7.2 should be above range <0.7.x - 0.6.2 should be below range >=0.7.x - 0.2.3 should be below range ~>1 - 1.0.1 should not be below range >= 1.0.0 - 2.0.0 should not be below range <=2.0.0 - 0.7.0-asdf should be below range >=0.7.x - 2.0.0-beta should be above range 1 - 0.2.9 should not be below range <=2.0.0 - 1.0.1 should be above range 1.0.0 - 3.1.3 should be above range 1.2.x || 2.x - 3.1.3 should be above range 2.x.x - 0.1.97 should not be below range >=0.1.97 - 2.4.2 should be above range 2.3 - 0.7.2 should not be above range =0.7.x(>=0.7.0 <0.8.0) - 3.3.0 should be above range ~>3.2.1 - 1.2.3 should not be below range * - 0.2.5 should not be below range >0.2.3 >0.2.4 <=0.2.5 - 1.0.0 should be below range 1.2.x || 2.x - 2.1.3 should not be above range 1.2.x || 2.x(>=1.2.0 <1.3.0 || >=2.0.0 <3.0.0) - 1.2.3 should not be below range 1.2.x || 2.x - 0.6.0 should be below range =0.7.x - 0.1.0 should be below range ~ 1.0 - 0.6.2 should not be below range <=0.7.x - 3.2.0 should not be above range ^0.1.0 || ~3.0.1 || 5.0.0(>=0.1.0 <0.2.0 || >=3.0.1 <3.1.0 || 5.0.0) - 2.1.3 should not be below range 2.x.x - 0.1.97 should not be above range >=0.1.97(>=0.1.97) - 1.0.0-beta should be above range <1 - 1.1.3 should be below range 2.x.x - 1.1.3 should be below range 2.*.* - 1.1.3 should be below range 1.2.* - 3.0.0 should be above range 2 - 1.1.0 should not be above range > 1.0.0(>1.0.0) - 0.7.2 should not be below range =0.7.x - 1.0.1 should not be above range > 1.0.0(>1.0.0) - 1.3.0 should be above range 1.2.x - 1.9999.9999 should be below range >=2.0.0 - 1.0.0-beta should not be above range 1(>=1.0.0 <2.0.0) - 5.0.1 should be above range 2.*.* - 0.2.4 should not be above range >=*(>=0.0.0) - 1.3.3 should be above range 1.2.* - 1.1.3 should be below range 1.2.x || 2.x - 1.3.4 should not be below range || - 1.0.1-beta1 should be above range 1.0.0 - 1.9999.9999 should not be above range <= 2.0.0(<=2.0.0) - 0.6.0 should be below range >=0.7.x - 1.0.0-beta should be below range >1 - 1.1.0 should not be below range >=1.0.0 - 1.9999.9999 should not be above range < 2.0.0(<2.0.0) - 5.0.0-0 should not be above range ^0.1.0 || ~3.0.1 || 5.0.0(>=0.1.0 <0.2.0 || >=3.0.1 <3.1.0 || 5.0.0) - 1.0.1 should not be above range >=1.0.0(>=1.0.0) - 0.0.0-beta should be below range 1 - 1.2.9 should be below range >2.0.0 - 1.0.0 should be above range <1 - 2.3.5 should be below range ~2.4 - 1.0.0 should be below range 2 - 3.1.3 should be above range 2.*.* - 2.2.2 should be below range 2.3 - 1.0.1 should not be above range >1.0.0(>1.0.0) - 2.5.0 should be above range ~2.4 - 1.2.3 should not be above range ~1(>=1.0.0 <2.0.0) - 0.0.0 should be below range 1.0.0 - 0.1.20 should not be above range 0.1.20 || 1.2.4(0.1.20 || 1.2.4) - 0.7.0 should be above range <0.7.x - 0.6.1-1 should not be above range ~0.6.1-1(>=0.6.1-1 <0.7.0) - 1.9999.9999 should not be above range <2.0.0(<2.0.0) - 0.2.4 should not be above range >=0.2.3 || <0.0.1(>=0.2.3 || <0.0.1) - 3.2.2 should not be above range ~>3.2.1(>=3.2.1 <3.3.0) - 1.1.2 should be above range ~1.0 - 1.2.3 should not be below range 1.2.x - 1.1.1 should not be above range < 1.2(<1.2.0) - 1.0.0 should not be above range >=1.0.0(>=1.0.0) - 0.5.4-alpha should be below range ~v0.5.4-pre - 1.0.1 should be below range 2.*.* - 0.0.1 should be below range 1.0.0 - 0.2.9 should not be above range <=2.0.0(<=2.0.0) - 1.1.0 should be above range ~ 1.0 .parse - ored expressions - non-overlapping - parse("1.2.3 || 1.2.5").to_s excludes 1.2.4 - "1.2.3 || 1.2.5" excludes 1.2.3-0 - "1.2.3 || 1.2.5" includes 1.2.3 - parse("1.2.3 || 1.2.5").to_s excludes 1.2.5-0 - returns nil on exclude_end? - returns nil on end - "1.2.3 || 1.2.5" stringifies as 1.2.3 || 1.2.5 - "1.2.3 || 1.2.5" excludes 1.2.4 - "1.2.3 || 1.2.5" includes 1.2.5 - parse("1.2.3 || 1.2.5").to_s includes 1.2.5 - "1.2.3 || 1.2.5" excludes 1.2.5-0 - returns nil on exclude_begin? - parse("1.2.3 || 1.2.5").to_s includes 1.2.3 - parse("1.2.3 || 1.2.5").to_s excludes 1.2.3-0 - returns nil on begin - adjacent - parse(">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0").to_s excludes 1.2.6-0 - ">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0" excludes 1.2.6-0 - parse("1.2.3 || 1.2.4 || 1.2.5").to_s excludes 1.2.3-0 - ">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0" excludes 1.2.3-0 - "1.2.3 || 1.2.4 || 1.2.5" includes 1.2.5 - parse(">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0").to_s includes 1.2.3 - "1.2.3 || 1.2.4 || 1.2.5" excludes 1.2.5-0 - returns nil on exclude_end? - parse(">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0").to_s includes 1.2.6 - parse("1.2.3 || 1.2.4 || 1.2.5").to_s includes 1.2.3 - parse(">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0").to_s excludes 1.2.3-0 - returns nil on end - parse("1.2.3 || 1.2.4 || 1.2.5").to_s includes 1.2.5 - "1.2.3 || 1.2.4 || 1.2.5" includes 1.2.3 - returns nil on exclude_begin? - "1.2.3 || 1.2.4 || 1.2.5" stringifies as >=1.2.3 <=1.2.5 - ">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0" includes 1.2.3 - ">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0" includes 1.2.6 - "1.2.3 || 1.2.4 || 1.2.5" excludes 1.2.3-0 - ">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0" stringifies as >=1.2.3 <1.3.0 - returns expected begin - parse("1.2.3 || 1.2.4 || 1.2.5").to_s excludes 1.2.5-0 - overlapping - parse(">=1.2.3 || 1.2.5").to_s includes 1.2.3 - parse(">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0").to_s includes 1.2.3 - parse(">=1.2.3 || 1.2.5").to_s includes 1.2.4 - parse(">=1.2.3 || 1.2.5").to_s excludes 1.2.3-0 - parse(">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0").to_s excludes 1.2.6-0 - ">=1.2.3 || 1.2.5" stringifies as >=1.2.3 - ">=1.2.3 || 1.2.5" includes 1.2.4 - ">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0" includes 1.2.6 - parse(">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0").to_s excludes 1.2.3-0 - parse(">=1.2.3 || 1.2.5").to_s excludes 1.2.4-0 - ">=1.2.3 || 1.2.5" includes 1.2.3 - ">=1.2.3 || 1.2.5" excludes 1.2.3-0 - ">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0" stringifies as >=1.2.3 <1.3.0 - ">=1.2.3 || 1.2.5" excludes 1.2.4-0 - parse(">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0").to_s includes 1.2.6 - ">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0" includes 1.2.3 - ">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0" excludes 1.2.3-0 - ">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0" excludes 1.2.6-0 loose version expressions - "1.2.3" stringifies as 1.2.3 - "1.X" excludes 2.0.0-0 - parse("1.X").to_s excludes 1.0.0-alpha - "1.2.x" includes 1.2.999 - parse("1.2.X").to_s excludes 1.2.0-alpha - "1.2" excludes 1.3.0-0 - parse("1.x").to_s includes 1.999.0 - "1.2" excludes 1.1.999 - "1.X" excludes 0.999.999 - "1.2" includes 1.2.0 - parse("1.X").to_s excludes 0.999.999 - "1.2.X" excludes 1.3.0-0 - "1.2.x" stringifies as >=1.2.0 <1.3.0 + parse("1").to_s includes 1.999.0 parse("1.2").to_s excludes 1.2.0-alpha - parse("1.2.3").to_s excludes 1.2.2 - "1.2.x" excludes 1.1.999 - parse("1.X").to_s includes 1.999.0 - "1.x" excludes 2.0.0-0 - "1.x" excludes 0.999.999 - "1.X" includes 1.999.0 + "1.2.3-alpha" excludes 1.2.3-beta + "1.x" includes 1.0.0 + "1" excludes 0.999.999 + parse("1.2.X").to_s excludes 1.1.999 + "1.2.X" excludes 1.1.999 + parse("1.X").to_s excludes 2.0.0-0 parse("1.2").to_s excludes 1.3.0-0 - parse("1.x").to_s excludes 0.999.999 - parse("1.2.X").to_s includes 1.2.999 + "1.2.X" excludes 1.2.0-alpha + "1.2" excludes 1.1.999 + "1.2.x" includes 1.2.0 + "1.2.3" excludes 1.2.3-alpha + "1.2" includes 1.2.999 + parse("1.x").to_s excludes 1.0.0-alpha + "1.X" stringifies as >=1.0.0 <2.0.0 "1.2.3-alpha" excludes 1.2.3-999 - parse("1.2.X").to_s excludes 1.1.999 + "1.2.x" includes 1.2.999 + "1.X" includes 1.999.0 + "1.2.x" excludes 1.2.0-alpha "1" includes 1.0.0 + parse("1.2.3").to_s excludes 1.2.3-alpha + parse("1.2.X").to_s includes 1.2.999 + "1.x" excludes 0.999.999 + parse("1.2.X").to_s excludes 1.3.0-0 + parse("1.x").to_s excludes 0.999.999 + parse("1.2").to_s includes 1.2.0 + parse("1.X").to_s excludes 1.0.0-alpha + "1.2.X" includes 1.2.999 parse("1.2.x").to_s includes 1.2.0 + "1.2" includes 1.2.0 + parse("1.x").to_s excludes 2.0.0-0 parse("1.2.3-alpha").to_s includes 1.2.3-alpha + parse("1.X").to_s includes 1.999.0 + parse("1.2.3").to_s includes 1.2.3 parse("1").to_s includes 1.0.0 - parse("1.2.x").to_s includes 1.2.999 - "1.2.3" includes 1.2.3 - parse("1.x").to_s excludes 2.0.0-0 - "1.2.3" excludes 1.2.3-alpha - "1.X" includes 1.0.0 - parse("1.2.3-alpha").to_s excludes 1.2.3-999 + parse("1.x").to_s includes 1.999.0 parse("1").to_s excludes 1.0.0-alpha - parse("1.2").to_s includes 1.2.999 - parse("1.2.3").to_s excludes 1.2.3-alpha - parse("1.2").to_s excludes 1.1.999 - parse("1.2.3-alpha").to_s excludes 1.2.3-beta - parse("1.x").to_s excludes 1.0.0-alpha - "1.x" includes 1.0.0 - "1.2.x" excludes 1.3.0-0 - "1.x" stringifies as >=1.0.0 <2.0.0 - "1.2.X" stringifies as >=1.2.0 <1.3.0 - "1.2.3-alpha" includes 1.2.3-alpha + "1.X" excludes 2.0.0-0 + parse("1.2.x").to_s includes 1.2.999 + "1.2.3" excludes 1.2.2 "1.x" includes 1.999.0 - "1.2.3-alpha" excludes 1.2.3-beta - parse("1.x").to_s includes 1.0.0 - "1.x" excludes 1.0.0-alpha - parse("1.2.x").to_s excludes 1.1.999 - "1.2.3" excludes 1.2.4-alpha - "1.2.X" includes 1.2.999 - "1.2" stringifies as >=1.2.0 <1.3.0 - "1.X" stringifies as >=1.0.0 <2.0.0 "1" includes 1.999.0 + "1.x" excludes 2.0.0-0 + "1.2.3" excludes 1.2.4-alpha + "1.2.X" excludes 1.3.0-0 "1" excludes 2.0.0-0 - "1" excludes 0.999.999 - parse("1.2").to_s includes 1.2.0 - parse("1.X").to_s excludes 2.0.0-0 - parse("1").to_s includes 1.999.0 - parse("1.2.X").to_s excludes 1.3.0-0 - parse("1.2.x").to_s excludes 1.2.0-alpha - parse("1.X").to_s includes 1.0.0 + "1.2" stringifies as >=1.2.0 <1.3.0 + parse("1.2").to_s excludes 1.1.999 + "1.2" excludes 1.2.0-alpha parse("1.2.x").to_s excludes 1.3.0-0 - parse("1.2.X").to_s includes 1.2.0 - "1.2.x" includes 1.2.0 - parse("1.2.3").to_s excludes 1.2.4-alpha - "1.2.x" excludes 1.2.0-alpha - "1" excludes 1.0.0-alpha - "1.2.3" excludes 1.2.2 - "1.2" includes 1.2.999 parse("1").to_s excludes 2.0.0-0 - "1.2.3-alpha" stringifies as 1.2.3-alpha - parse("1.2.3").to_s includes 1.2.3 - "1.2.X" excludes 1.1.999 - "1.2" excludes 1.2.0-alpha - "1.2.X" excludes 1.2.0-alpha "1.X" excludes 1.0.0-alpha + parse("1.2").to_s includes 1.2.999 + "1.x" stringifies as >=1.0.0 <2.0.0 + "1.2.X" includes 1.2.0 + "1.2.x" excludes 1.1.999 "1" stringifies as >=1.0.0 <2.0.0 + "1.2.x" excludes 1.3.0-0 + "1.2.x" stringifies as >=1.2.0 <1.3.0 + parse("1.2.x").to_s excludes 1.1.999 + "1.2" excludes 1.3.0-0 + parse("1.2.3-alpha").to_s excludes 1.2.3-999 + parse("1.X").to_s includes 1.0.0 + "1.X" includes 1.0.0 + parse("1.2.3").to_s excludes 1.2.4-alpha + parse("1.2.3").to_s excludes 1.2.2 + parse("1.2.3-alpha").to_s excludes 1.2.3-beta + "1.2.3" includes 1.2.3 + parse("1.2.x").to_s excludes 1.2.0-alpha + "1.2.X" stringifies as >=1.2.0 <1.3.0 + parse("1.x").to_s includes 1.0.0 parse("1").to_s excludes 0.999.999 - "1.2.X" includes 1.2.0 - "reasonably close" expressions - "~ 1.2.3-alpha" stringifies as >=1.2.3-alpha <1.3.0 - parse("~1.2.3").to_s includes 1.2.5 - "~1" includes 1.0.0 - "~1.2.3" includes 1.2.5 - "~ 1.2.3" includes 1.2.5 - parse("~1.2.3").to_s excludes 1.2.3-0 - "~1.2" excludes 1.1.999 - "~ 1.2" stringifies as >=1.2.0 <1.3.0 - "~1.2" excludes 1.3.0-0 - "~1.2.3" stringifies as >=1.2.3 <1.3.0 - "~1.2.3-alpha" excludes 1.2.4-0 - "~ 1" includes 1.0.0 - "~ 1.2.3-alpha" includes 1.2.3 - "~ 1" stringifies as >=1.0.0 <2.0.0 - parse("~1.2.3-alpha").to_s includes 1.2.3 - parse("~ 1.2.3").to_s includes 1.2.5 - "~ 1" excludes 0.999.999 - parse("~ 1.2").to_s excludes 1.1.999 - "~ 1.2" excludes 1.1.999 - parse("~ 1.2.3").to_s excludes 1.2.2 - parse("~ 1").to_s includes 1.999.999 - "~1.2.3" includes 1.2.3 - "~ 1.2" excludes 1.2.0-0 - parse("~1").to_s includes 1.0.0 - parse("~ 1").to_s includes 1.0.0 - "~1.2" stringifies as >=1.2.0 <1.3.0 - parse("~ 1").to_s excludes 2.0.0-0 - "~1" stringifies as >=1.0.0 <2.0.0 - parse("~ 1.2").to_s excludes 1.2.0-0 - "~ 1.2" includes 1.2.0 - parse("~ 1.2.3").to_s includes 1.2.3 - "~ 1" excludes 1.0.0-0 - parse("~ 1.2").to_s includes 1.2.0 - parse("~1.2").to_s excludes 1.2.0-0 - parse("~1").to_s excludes 1.0.0-0 - parse("~ 1.2.3-alpha").to_s includes 1.2.3 - "~1" excludes 2.0.0-0 - parse("~1.2").to_s includes 1.2.0 - parse("~ 1.2.3").to_s excludes 1.3.0-0 - "~ 1.2.3-alpha" excludes 1.2.3-alph - "~ 1.2.3-alpha" excludes 1.2.4-0 - "~1.2.3-alpha" includes 1.2.3 - "~ 1" includes 1.999.999 - parse("~1.2").to_s excludes 1.1.999 - "~1.2.3-alpha" includes 1.2.3-alpha - parse("~1.2").to_s excludes 1.3.0-0 - parse("~ 1").to_s excludes 0.999.999 - parse("~ 1").to_s excludes 1.0.0-0 - "~ 1.2.3" stringifies as >=1.2.3 <1.3.0 - "~1.2.3" excludes 1.3.0-0 - "~1.2" excludes 1.2.0-0 - "~ 1.2" excludes 1.3.0-0 - parse("~1.2.3").to_s excludes 1.2.2 - parse("~ 1.2.3-alpha").to_s excludes 1.2.3-alph - "~ 1" excludes 2.0.0-0 - parse("~ 1.2.3-alpha").to_s excludes 1.2.4-0 - "~ 1.2.3" excludes 1.2.2 - parse("~1.2.3").to_s includes 1.2.3 - parse("~1").to_s excludes 0.999.999 - "~1.2.3-alpha" excludes 1.2.3-alph - "~ 1.2.3" excludes 1.2.3-0 - parse("~1.2").to_s includes 1.2.999 - parse("~1.2.3-alpha").to_s excludes 1.2.3-alph - "~1" excludes 1.0.0-0 - "~ 1.2.3" excludes 1.3.0-0 - parse("~1").to_s includes 1.999.999 - "~ 1.2.3" includes 1.2.3 - parse("~1.2.3").to_s excludes 1.3.0-0 - parse("~1").to_s excludes 2.0.0-0 - parse("~ 1.2.3-alpha").to_s includes 1.2.3-alpha - parse("~ 1.2.3").to_s excludes 1.2.3-0 - parse("~ 1.2").to_s excludes 1.3.0-0 - "~1.2" includes 1.2.0 - "~1.2" includes 1.2.999 - "~1.2.3" excludes 1.2.3-0 - "~1.2.3-alpha" stringifies as >=1.2.3-alpha <1.3.0 - "~1" includes 1.999.999 - "~1" excludes 0.999.999 - "~ 1.2.3-alpha" includes 1.2.3-alpha - parse("~ 1.2").to_s includes 1.2.999 - "~ 1.2" includes 1.2.999 - parse("~1.2.3-alpha").to_s excludes 1.2.4-0 - "~1.2.3" excludes 1.2.2 - parse("~1.2.3-alpha").to_s includes 1.2.3-alpha - invalid expressions - raise an appropriate exception + parse("1.2.X").to_s includes 1.2.0 + "1" excludes 1.0.0-alpha + "1.2.3-alpha" stringifies as 1.2.3-alpha + "1.2.3" stringifies as 1.2.3 + "1.X" excludes 0.999.999 + "1.2.3-alpha" includes 1.2.3-alpha + "1.x" excludes 1.0.0-alpha + parse("1.X").to_s excludes 0.999.999 + parse("1.2.X").to_s excludes 1.2.0-alpha open-ended expressions - parse("> 1.2.3-alpha").to_s includes 1.2.3-alpha0 - parse("<=1.2.3-alpha").to_s excludes 1.2.3-alpha0 - "< 1.2.3" excludes 1.2.3-0 - ">=1.2.3" excludes 1.2.2 - ">= 1.2.3" excludes 1.2.2 - "<1.2.3-alpha" includes 1.2.3-alph - parse("< 1.2.3").to_s excludes 0.0.0-0 - parse(">1.2.3").to_s excludes 1.2.4-0 - "<= 1.2.3" excludes 0.0.0-0 + "< 1.2.3" stringifies as <1.2.3 + "<= 1.2.3-alpha" excludes 0.0.0-0 + parse("> 1.2.3").to_s excludes 1.2.3 ">1.2.3" excludes 1.2.3 - "<=1.2.3-alpha" includes 0.0.0 - ">1.2.3-alpha" includes 1.2.3-alpha.0 - parse("<= 1.2.3").to_s excludes 1.2.3-0 - parse("< 1.2.3-alpha").to_s excludes 0.0.0-0 - parse("<= 1.2.3").to_s excludes 0.0.0-0 - parse("< 1.2.3").to_s excludes 1.2.3-0 - ">=1.2.3" excludes 1.2.3-0 - parse("<=1.2.3-alpha").to_s excludes 1.2.3-alphb - parse(">=1.2.3-alpha").to_s includes 999.0.0 - "< 1.2.3" includes 0.0.0 - "< 1.2.3-alpha" excludes 1.2.3-alpha - "> 1.2.3-alpha" stringifies as >1.2.3-alpha + "> 1.2.3" excludes 1.2.4-0 + ">=1.2.3" includes 999.0.0 + "<= 1.2.3-alpha" excludes 1.2.3-alphb + parse("<= 1.2.3-alpha").to_s includes 0.0.0 + "<1.2.3-alpha" excludes 1.2.3-alpha + "<= 1.2.3-alpha" stringifies as <=1.2.3-alpha + parse("<= 1.2.3-alpha").to_s excludes 0.0.0-0 ">= 1.2.3" excludes 1.2.3-0 - "> 1.2.3-alpha" includes 1.2.3-alpha.0 - parse("> 1.2.3").to_s excludes 1.2.4-0 - "<=1.2.3" excludes 1.2.3-0 - "<= 1.2.3-alpha" excludes 0.0.0-0 - ">1.2.3" stringifies as >1.2.3 - "<1.2.3-alpha" stringifies as <1.2.3-alpha + parse("<= 1.2.3-alpha").to_s excludes 1.2.3-alpha0 + ">= 1.2.3-alpha" excludes 1.2.4-alpha parse(">=1.2.3-alpha").to_s includes 1.2.3-alpha - parse("<=1.2.3-alpha").to_s excludes 0.0.0-0 - parse("<=1.2.3-alpha").to_s includes 1.2.3-alpha - "< 1.2.3-alpha" includes 1.2.3-alph - parse(">= 1.2.3").to_s excludes 1.2.2 - ">=1.2.3-alpha" includes 999.0.0 - "<= 1.2.3-alpha" excludes 1.2.3-alpha0 - parse("<= 1.2.3-alpha").to_s excludes 1.2.3-alpha.0 - "<1.2.3" excludes 0.0.0-0 - "<=1.2.3" stringifies as <=1.2.3 - "<= 1.2.3-alpha" includes 1.2.3-alpha - parse("< 1.2.3-alpha").to_s excludes 1.2.3-alpha - parse(">=1.2.3").to_s excludes 1.2.2 - ">= 1.2.3" stringifies as >=1.2.3 - parse("< 1.2.3").to_s excludes 2.0.0 - "<= 1.2.3-alpha" excludes 1.2.3-alphb - "< 1.2.3" stringifies as <1.2.3 - "<1.2.3" includes 0.0.0 - parse("<1.2.3-alpha").to_s excludes 0.0.0-0 - "<= 1.2.3" includes 1.2.3 - "<= 1.2.3" stringifies as <=1.2.3 - parse("> 1.2.3-alpha").to_s excludes 1.2.3-alpha - parse(">= 1.2.3-alpha").to_s includes 999.0.0 - ">=1.2.3" includes 999.0.0 - "<=1.2.3-alpha" includes 1.2.3-alpha - parse("<1.2.3-alpha").to_s includes 1.2.3-alph - parse("<1.2.3-alpha").to_s excludes 2.0.0 - parse("<= 1.2.3-alpha").to_s includes 1.2.3-alpha - "> 1.2.3-alpha" excludes 1.2.3-alpha - parse("<1.2.3").to_s includes 0.0.0 - "<1.2.3-alpha" excludes 0.0.0-0 "<=1.2.3-alpha" excludes 0.0.0-0 - parse(">=1.2.3-alpha").to_s excludes 1.2.4-alpha - "< 1.2.3-alpha" includes 0.0.0 - ">1.2.3-alpha" excludes 1.2.3-alpha - "<= 1.2.3-alpha" excludes 1.2.3-alpha.0 - "<= 1.2.3-alpha" stringifies as <=1.2.3-alpha - parse("<=1.2.3-alpha").to_s excludes 1.2.3-alpha.0 + "<=1.2.3-alpha" stringifies as <=1.2.3-alpha + parse("<1.2.3-alpha").to_s excludes 0.0.0-0 "<=1.2.3-alpha" excludes 1.2.3-alpha0 - parse(">=1.2.3").to_s includes 999.0.0 - parse("<=1.2.3").to_s excludes 1.2.3-0 - parse("<= 1.2.3").to_s includes 1.2.3 - "<1.2.3" excludes 2.0.0 - parse(">= 1.2.3-alpha").to_s excludes 1.2.4-alpha - "< 1.2.3" excludes 0.0.0-0 - parse("<=1.2.3").to_s includes 1.2.3 - parse("<= 1.2.3-alpha").to_s excludes 0.0.0-0 - ">1.2.3" includes 999.0.0 + parse("<= 1.2.3-alpha").to_s includes 1.2.3-alpha + "<= 1.2.3" stringifies as <=1.2.3 + parse(">= 1.2.3-alpha").to_s includes 1.2.3-alpha "<=1.2.3-alpha" excludes 1.2.3-alphb - parse(">1.2.3-alpha").to_s includes 1.2.3-alpha0 - parse(">= 1.2.3-alpha").to_s excludes 1.2.3-alph - parse(">1.2.3-alpha").to_s excludes 1.2.3-alpha - ">=1.2.3-alpha" stringifies as >=1.2.3-alpha - ">= 1.2.3-alpha" includes 1.2.3-alpha - parse("> 1.2.3-alpha").to_s includes 999.0.0 - "<1.2.3" excludes 1.2.3-0 - parse("<1.2.3-alpha").to_s includes 0.0.0 - ">1.2.3-alpha" stringifies as >1.2.3-alpha - "> 1.2.3" includes 999.0.0 parse("<=1.2.3").to_s excludes 0.0.0-0 - "<= 1.2.3" includes 0.0.0 - parse(">=1.2.3").to_s excludes 1.2.3-0 - parse(">= 1.2.3-alpha").to_s includes 1.2.3-alpha0 - parse("< 1.2.3-alpha").to_s excludes 2.0.0 - "<=1.2.3" includes 1.2.3 - "<= 1.2.3-alpha" includes 0.0.0 - "> 1.2.3-alpha" includes 1.2.3-alpha0 - parse("<1.2.3").to_s includes 1.2.2 - parse("< 1.2.3").to_s includes 1.2.2 - parse("<= 1.2.3").to_s includes 0.0.0 - "< 1.2.3-alpha" excludes 2.0.0 - ">1.2.3-alpha" includes 1.2.3-alpha0 - parse("> 1.2.3").to_s includes 999.0.0 - "> 1.2.3" excludes 1.2.4-0 + "<=1.2.3" includes 0.0.0 ">=1.2.3-alpha" includes 1.2.3-alpha - parse("<= 1.2.3-alpha").to_s includes 0.0.0 - parse(">1.2.3").to_s excludes 1.2.3 - parse(">=1.2.3-alpha").to_s excludes 1.2.3-alph - ">= 1.2.3-alpha" stringifies as >=1.2.3-alpha - "< 1.2.3-alpha" stringifies as <1.2.3-alpha - ">=1.2.3-alpha" excludes 1.2.4-alpha - ">=1.2.3" stringifies as >=1.2.3 - parse("<=1.2.3-alpha").to_s includes 0.0.0 + parse("<= 1.2.3-alpha").to_s excludes 1.2.3-alpha.0 parse("> 1.2.3-alpha").to_s includes 1.2.3-alpha.0 - "<1.2.3" stringifies as <1.2.3 parse("< 1.2.3-alpha").to_s includes 1.2.3-alph + parse("<=1.2.3-alpha").to_s excludes 1.2.3-alpha0 + parse("<=1.2.3").to_s includes 0.0.0 + parse("<=1.2.3-alpha").to_s excludes 1.2.3-alphb + parse(">= 1.2.3-alpha").to_s includes 999.0.0 + "<=1.2.3" excludes 1.2.3-0 + ">= 1.2.3-alpha" includes 1.2.3-alpha + parse("<=1.2.3").to_s includes 1.2.3 + ">1.2.3" stringifies as >1.2.3 ">= 1.2.3-alpha" includes 1.2.3-alpha0 - "<=1.2.3-alpha" stringifies as <=1.2.3-alpha - parse(">1.2.3-alpha").to_s includes 1.2.3-alpha.0 - parse("< 1.2.3").to_s includes 0.0.0 - parse("<= 1.2.3-alpha").to_s excludes 1.2.3-alpha0 - "<1.2.3-alpha" excludes 1.2.3-alpha - "<1.2.3" includes 1.2.2 - "> 1.2.3" excludes 1.2.3 - parse(">= 1.2.3").to_s includes 999.0.0 - "< 1.2.3" includes 1.2.2 - "< 1.2.3" excludes 2.0.0 - "<1.2.3-alpha" excludes 2.0.0 + parse("<=1.2.3-alpha").to_s includes 0.0.0 + "<= 1.2.3" excludes 0.0.0-0 + "<1.2.3" stringifies as <1.2.3 parse("<1.2.3").to_s excludes 2.0.0 - "<= 1.2.3" excludes 1.2.3-0 + ">1.2.3" includes 999.0.0 + "> 1.2.3-alpha" includes 1.2.3-alpha0 "> 1.2.3-alpha" includes 999.0.0 + parse(">= 1.2.3-alpha").to_s excludes 1.2.3-alph + ">= 1.2.3-alpha" includes 999.0.0 + parse(">1.2.3").to_s includes 999.0.0 + "<=1.2.3" stringifies as <=1.2.3 + ">= 1.2.3" excludes 1.2.2 + "< 1.2.3" includes 1.2.2 + parse(">= 1.2.3").to_s excludes 1.2.2 + "< 1.2.3-alpha" excludes 2.0.0 + ">=1.2.3-alpha" excludes 1.2.3-alph + parse("<1.2.3-alpha").to_s includes 0.0.0 + "> 1.2.3-alpha" includes 1.2.3-alpha.0 + "< 1.2.3" includes 0.0.0 ">= 1.2.3" includes 999.0.0 - parse("<=1.2.3").to_s includes 0.0.0 + parse(">=1.2.3-alpha").to_s excludes 1.2.3-alph + parse("< 1.2.3").to_s includes 0.0.0 + parse(">= 1.2.3").to_s includes 999.0.0 + "> 1.2.3-alpha" stringifies as >1.2.3-alpha + "<1.2.3" includes 0.0.0 + parse("< 1.2.3-alpha").to_s excludes 2.0.0 + ">=1.2.3" stringifies as >=1.2.3 + parse(">1.2.3-alpha").to_s includes 1.2.3-alpha0 + "<= 1.2.3-alpha" excludes 1.2.3-alpha0 + "> 1.2.3" includes 999.0.0 + "<=1.2.3-alpha" includes 1.2.3-alpha + "< 1.2.3-alpha" excludes 1.2.3-alpha + parse("<=1.2.3-alpha").to_s excludes 1.2.3-alpha.0 + "<=1.2.3" excludes 0.0.0-0 + parse("> 1.2.3-alpha").to_s includes 999.0.0 + "< 1.2.3-alpha" includes 0.0.0 parse(">=1.2.3-alpha").to_s includes 1.2.3-alpha0 + ">=1.2.3" excludes 1.2.3-0 + ">1.2.3-alpha" includes 999.0.0 + parse("<= 1.2.3").to_s excludes 1.2.3-0 + ">1.2.3" excludes 1.2.4-0 + parse("> 1.2.3").to_s includes 999.0.0 + ">=1.2.3-alpha" includes 1.2.3-alpha0 + "<1.2.3-alpha" stringifies as <1.2.3-alpha + parse(">=1.2.3-alpha").to_s excludes 1.2.4-alpha + parse(">= 1.2.3-alpha").to_s includes 1.2.3-alpha0 + ">1.2.3-alpha" excludes 1.2.3-alpha + ">= 1.2.3" stringifies as >=1.2.3 + parse(">= 1.2.3-alpha").to_s excludes 1.2.4-alpha + parse(">1.2.3-alpha").to_s excludes 1.2.3-alpha + "<1.2.3" excludes 2.0.0 + "<1.2.3" excludes 1.2.3-0 + parse("> 1.2.3").to_s excludes 1.2.4-0 + parse("<=1.2.3-alpha").to_s includes 1.2.3-alpha + parse(">1.2.3-alpha").to_s includes 999.0.0 + "<1.2.3-alpha" excludes 0.0.0-0 + parse("<= 1.2.3").to_s includes 1.2.3 + parse("<1.2.3").to_s includes 0.0.0 + parse(">=1.2.3-alpha").to_s includes 999.0.0 + "> 1.2.3" stringifies as >1.2.3 + parse("<= 1.2.3-alpha").to_s excludes 1.2.3-alphb + ">= 1.2.3-alpha" excludes 1.2.3-alph + parse("<1.2.3").to_s excludes 1.2.3-0 + "<1.2.3-alpha" includes 1.2.3-alph + parse("< 1.2.3").to_s excludes 0.0.0-0 + ">=1.2.3-alpha" stringifies as >=1.2.3-alpha + ">=1.2.3-alpha" excludes 1.2.4-alpha + "> 1.2.3" excludes 1.2.3 + parse(">=1.2.3").to_s excludes 1.2.2 + parse("<=1.2.3").to_s excludes 1.2.3-0 + parse("> 1.2.3-alpha").to_s includes 1.2.3-alpha0 + parse("<1.2.3-alpha").to_s excludes 2.0.0 + "<=1.2.3" includes 1.2.3 + ">1.2.3-alpha" includes 1.2.3-alpha.0 + ">1.2.3-alpha" stringifies as >1.2.3-alpha + ">1.2.3-alpha" includes 1.2.3-alpha0 + parse(">=1.2.3").to_s excludes 1.2.3-0 + "<=1.2.3-alpha" includes 0.0.0 + ">=1.2.3-alpha" includes 999.0.0 + "<= 1.2.3" excludes 1.2.3-0 + parse("< 1.2.3-alpha").to_s excludes 0.0.0-0 "<1.2.3-alpha" includes 0.0.0 - parse(">= 1.2.3").to_s excludes 1.2.3-0 - parse("<1.2.3").to_s excludes 0.0.0-0 - parse("> 1.2.3").to_s excludes 1.2.3 - parse(">1.2.3").to_s includes 999.0.0 - parse("<1.2.3-alpha").to_s excludes 1.2.3-alpha + "< 1.2.3" excludes 0.0.0-0 + parse("< 1.2.3").to_s includes 1.2.2 "<=1.2.3-alpha" excludes 1.2.3-alpha.0 - ">= 1.2.3-alpha" excludes 1.2.4-alpha - parse("<1.2.3").to_s excludes 1.2.3-0 parse("< 1.2.3-alpha").to_s includes 0.0.0 - parse(">1.2.3-alpha").to_s includes 999.0.0 + parse("<1.2.3-alpha").to_s excludes 1.2.3-alpha + "< 1.2.3-alpha" stringifies as <1.2.3-alpha "< 1.2.3-alpha" excludes 0.0.0-0 - "<=1.2.3" includes 0.0.0 - ">=1.2.3-alpha" includes 1.2.3-alpha0 - ">= 1.2.3-alpha" excludes 1.2.3-alph - parse(">= 1.2.3-alpha").to_s includes 1.2.3-alpha - ">1.2.3" excludes 1.2.4-0 - ">1.2.3-alpha" includes 999.0.0 - ">=1.2.3-alpha" excludes 1.2.3-alph - "> 1.2.3" stringifies as >1.2.3 - parse("<= 1.2.3-alpha").to_s excludes 1.2.3-alphb - ">= 1.2.3-alpha" includes 999.0.0 - "<=1.2.3" excludes 0.0.0-0 - inclusive range expressions - parse("1.2.3 - 1.3.4-alpha").to_s excludes 1.3.4-alpha0 - "1.2.3-alpha - 1.3.4-alpha" excludes 1.3.4-alpha0 - "1.2.3 - 1.3.4" includes 1.3.4 - "1.2.3-alpha - 1.3.4" excludes 1.3.5-0 - "1.2.3-alpha - 1.3.4-alpha" excludes 1.3.5 - "1.2.3 - 1.3.4-alpha" stringifies as >=1.2.3 <=1.3.4-alpha - "1.2.3-alpha - 1.3.4" stringifies as >=1.2.3-alpha <=1.3.4 - "1.2.3 - 1.3.4" excludes 1.2.3-0 - parse("1.2.3 - 1.3.4").to_s excludes 1.3.5-0 - parse("1.2.3-alpha - 1.3.4-alpha").to_s excludes 1.3.5 - "1.2.3-alpha - 1.3.4-alpha" excludes 1.2.3-alph - parse("1.2.3-alpha - 1.3.4").to_s excludes 1.3.5-0 - parse("1.2.3-alpha - 1.3.4-alpha").to_s excludes 1.3.4-alpha0 - "1.2.3 - 1.3.4-alpha" includes 1.3.4-alpha - "1.2.3 - 1.3.4-alpha" includes 1.2.3 - "1.2.3-alpha - 1.3.4" excludes 1.2.3-alph - parse("1.2.3 - 1.3.4-alpha").to_s includes 1.2.3 - "1.2.3 - 1.3.4-alpha" excludes 1.3.4-alpha0 - parse("1.2.3 - 1.3.4-alpha").to_s includes 1.3.4-alpha - parse("1.2.3-alpha - 1.3.4-alpha").to_s includes 1.3.4-alpha - "1.2.3 - 1.3.4" stringifies as >=1.2.3 <=1.3.4 - parse("1.2.3 - 1.3.4").to_s excludes 1.2.3-0 - "1.2.3 - 1.3.4-alpha" excludes 1.3.5 - "1.2.3 - 1.3.4-alpha" excludes 1.2.2 - parse("1.2.3-alpha - 1.3.4-alpha").to_s excludes 1.2.3-alph - parse("1.2.3 - 1.3.4-alpha").to_s excludes 1.2.3-0 - parse("1.2.3-alpha - 1.3.4").to_s includes 1.3.4 - "1.2.3-alpha - 1.3.4-alpha" stringifies as >=1.2.3-alpha <=1.3.4-alpha - parse("1.2.3-alpha - 1.3.4-alpha").to_s includes 1.2.3-alpha - "1.2.3-alpha - 1.3.4-alpha" includes 1.2.3-alpha - parse("1.2.3-alpha - 1.3.4").to_s excludes 1.2.3-alph - parse("1.2.3-alpha - 1.3.4").to_s includes 1.2.3-alpha - parse("1.2.3 - 1.3.4").to_s includes 1.2.3 - "1.2.3-alpha - 1.3.4-alpha" includes 1.3.4-alpha - parse("1.2.3 - 1.3.4-alpha").to_s excludes 1.2.2 - "1.2.3 - 1.3.4" includes 1.2.3 - parse("1.2.3 - 1.3.4-alpha").to_s excludes 1.3.5 - "1.2.3 - 1.3.4-alpha" excludes 1.2.3-0 - "1.2.3-alpha - 1.3.4" includes 1.2.3-alpha - "1.2.3 - 1.3.4" excludes 1.3.5-0 - "1.2.3-alpha - 1.3.4" includes 1.3.4 - "1.2.3 - 1.3.4" excludes 1.2.2 - parse("1.2.3 - 1.3.4").to_s includes 1.3.4 - parse("1.2.3 - 1.3.4").to_s excludes 1.2.2 + "<= 1.2.3" includes 1.2.3 + "<= 1.2.3-alpha" excludes 1.2.3-alpha.0 + parse("<=1.2.3-alpha").to_s excludes 0.0.0-0 + parse("<= 1.2.3").to_s includes 0.0.0 + parse("< 1.2.3-alpha").to_s excludes 1.2.3-alpha + parse("< 1.2.3").to_s excludes 2.0.0 + ">=1.2.3" excludes 1.2.2 + parse("> 1.2.3-alpha").to_s excludes 1.2.3-alpha + "<= 1.2.3-alpha" includes 1.2.3-alpha + parse(">= 1.2.3").to_s excludes 1.2.3-0 + "< 1.2.3-alpha" includes 1.2.3-alph + "<1.2.3" excludes 0.0.0-0 + parse(">1.2.3-alpha").to_s includes 1.2.3-alpha.0 + parse(">1.2.3").to_s excludes 1.2.4-0 + parse(">=1.2.3").to_s includes 999.0.0 + parse("<1.2.3-alpha").to_s includes 1.2.3-alph + "<= 1.2.3-alpha" includes 0.0.0 + "<1.2.3-alpha" excludes 2.0.0 + parse("<1.2.3").to_s includes 1.2.2 + "< 1.2.3" excludes 1.2.3-0 + "< 1.2.3" excludes 2.0.0 + parse("<= 1.2.3").to_s excludes 0.0.0-0 + "<1.2.3" includes 1.2.2 + parse(">1.2.3").to_s excludes 1.2.3 + "<= 1.2.3" includes 0.0.0 + ">= 1.2.3-alpha" stringifies as >=1.2.3-alpha + parse("< 1.2.3").to_s excludes 1.2.3-0 + parse("<1.2.3").to_s excludes 0.0.0-0 + "> 1.2.3-alpha" excludes 1.2.3-alpha + ored expressions + overlapping + ">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0" excludes 1.2.6-0 + parse(">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0").to_s excludes 1.2.3-0 + ">=1.2.3 || 1.2.5" includes 1.2.3 + ">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0" includes 1.2.6 + ">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0" excludes 1.2.3-0 + ">=1.2.3 || 1.2.5" excludes 1.2.3-0 + ">=1.2.3 || 1.2.5" excludes 1.2.4-0 + ">=1.2.3 || 1.2.5" includes 1.2.4 + parse(">=1.2.3 || 1.2.5").to_s excludes 1.2.3-0 + ">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0" includes 1.2.3 + parse(">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0").to_s includes 1.2.3 + parse(">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0").to_s includes 1.2.6 + parse(">=1.2.3 || 1.2.5").to_s includes 1.2.3 + parse(">=1.2.3 || 1.2.5").to_s includes 1.2.4 + ">=1.2.3 || 1.2.5" stringifies as >=1.2.3 + ">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0" stringifies as >=1.2.3 <1.3.0 + parse(">=1.2.3 || 1.2.5").to_s excludes 1.2.4-0 + parse(">=1.2.3 <=1.2.5 || >=1.2.5 <1.3.0").to_s excludes 1.2.6-0 + adjacent + returns nil on exclude_begin? + "1.2.3 || 1.2.4 || 1.2.5" includes 1.2.3 + ">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0" excludes 1.2.3-0 + parse("1.2.3 || 1.2.4 || 1.2.5").to_s excludes 1.2.3-0 + parse("1.2.3 || 1.2.4 || 1.2.5").to_s includes 1.2.3 + returns nil on end + ">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0" includes 1.2.6 + "1.2.3 || 1.2.4 || 1.2.5" excludes 1.2.3-0 + "1.2.3 || 1.2.4 || 1.2.5" excludes 1.2.5-0 + ">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0" excludes 1.2.6-0 + parse(">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0").to_s excludes 1.2.3-0 + parse("1.2.3 || 1.2.4 || 1.2.5").to_s excludes 1.2.5-0 + parse(">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0").to_s includes 1.2.3 + parse(">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0").to_s includes 1.2.6 + ">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0" stringifies as >=1.2.3 <1.3.0 + returns expected begin + returns nil on exclude_end? + "1.2.3 || 1.2.4 || 1.2.5" stringifies as >=1.2.3 <=1.2.5 + ">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0" includes 1.2.3 + parse(">=1.2.3 <1.2.5 || >=1.2.5 <1.3.0").to_s excludes 1.2.6-0 + parse("1.2.3 || 1.2.4 || 1.2.5").to_s includes 1.2.5 + "1.2.3 || 1.2.4 || 1.2.5" includes 1.2.5 + non-overlapping + "1.2.3 || 1.2.5" includes 1.2.3 + parse("1.2.3 || 1.2.5").to_s includes 1.2.3 + "1.2.3 || 1.2.5" stringifies as 1.2.3 || 1.2.5 + returns nil on exclude_begin? + returns nil on exclude_end? + returns nil on begin + parse("1.2.3 || 1.2.5").to_s excludes 1.2.3-0 + returns nil on end + parse("1.2.3 || 1.2.5").to_s excludes 1.2.4 + parse("1.2.3 || 1.2.5").to_s includes 1.2.5 + parse("1.2.3 || 1.2.5").to_s excludes 1.2.5-0 + "1.2.3 || 1.2.5" includes 1.2.5 + "1.2.3 || 1.2.5" excludes 1.2.4 + "1.2.3 || 1.2.5" excludes 1.2.5-0 + "1.2.3 || 1.2.5" excludes 1.2.3-0 unioned expressions - ">1.0.0 >2.0.0 >=3.0.0 <5.0.0" includes 4.999.999 parse("1 <=1.2.5").to_s excludes 1.2.6-0 - ">1.0.0 >2.0.0 >=3.0.0 <5.0.0" excludes 5.0.0-0 - "1.2 <1.2.5" stringifies as >=1.2.0 <1.2.5 - "1 <=1.2.5" excludes 0.999.999 - parse("1.2 <1.2.5").to_s excludes 1.2.0-0 - "1.2 <1.2.5" excludes 1.2.5-0 - "1.2 <1.2.5" includes 1.2.0 + parse("1.2 <1.2.5").to_s excludes 1.1.999 + parse(">1.0.0 >2.0.0 >=3.0.0 <5.0.0").to_s includes 4.999.999 + parse("1 <=1.2.5").to_s includes 1.0.0 + "1.2 <1.2.5" includes 1.2.4 + ">1.0.0 >2.0.0 >=3.0.0 <5.0.0" includes 3.0.0 ">1.0.0 >2.0.0 >=3.0.0 <5.0.0" excludes 2.999.999 + "1.2 <1.2.5" excludes 1.2.5-0 "<1.0.0 >2.0.0" excludes 0.0.0-0 "<1.0.0 >2.0.0" excludes 0.0.0 + "1 <=1.2.5" excludes 1.2.6-0 "<1.0.0 >2.0.0" stringifies as <0.0.0 - "1.2 <1.2.5" excludes 1.9.0 - "1 <=1.2.5" excludes 1.9.0 ">1.0.0 >2.0.0 >=3.0.0 <5.0.0" stringifies as >=3.0.0 <5.0.0 - "1.2 <1.2.5" excludes 1.2.0-0 - parse(">1.0.0 >2.0.0 >=3.0.0 <5.0.0").to_s excludes 5.0.0-0 - parse("1 <=1.2.5").to_s excludes 0.999.999 - "1.2 <1.2.5" includes 1.2.4 + "1.2 <1.2.5" stringifies as >=1.2.0 <1.2.5 + ">1.0.0 >2.0.0 >=3.0.0 <5.0.0" excludes 5.0.0-0 + parse("1 <=1.2.5").to_s excludes 1.0.0-0 parse("1 <=1.2.5").to_s excludes 1.9.0 - parse("1 <=1.2.5").to_s includes 1.2.5 - parse(">1.0.0 >2.0.0 >=3.0.0 <5.0.0").to_s includes 4.999.999 - parse(">1.0.0 >2.0.0 >=3.0.0 <5.0.0").to_s excludes 3.0.0-0 - "1 <=1.2.5" stringifies as >=1.0.0 <=1.2.5 + parse("1.2 <1.2.5").to_s excludes 1.2.0-0 + parse("1.2 <1.2.5").to_s excludes 1.2.5-0 + "1.2 <1.2.5" includes 1.2.0 + parse("1 <=1.2.5").to_s excludes 0.999.999 "1 <=1.2.5" includes 1.0.0 - "1 <=1.2.5" excludes 1.0.0-0 + "1.2 <1.2.5" excludes 1.1.999 parse("1.2 <1.2.5").to_s excludes 1.9.0 - parse("1.2 <1.2.5").to_s excludes 1.1.999 - parse("1.2 <1.2.5").to_s excludes 1.2.5-0 + parse("<1.0.0 >2.0.0").to_s excludes 0.0.0-0 + parse(">1.0.0 >2.0.0 >=3.0.0 <5.0.0").to_s excludes 5.0.0-0 + parse("1 <=1.2.5").to_s includes 1.2.5 + parse(">1.0.0 >2.0.0 >=3.0.0 <5.0.0").to_s excludes 2.999.999 + parse("<1.0.0 >2.0.0").to_s excludes 0.0.0 + parse(">1.0.0 >2.0.0 >=3.0.0 <5.0.0").to_s includes 3.0.0 + parse("1.2 <1.2.5").to_s includes 1.2.4 + ">1.0.0 >2.0.0 >=3.0.0 <5.0.0" includes 4.999.999 + "1 <=1.2.5" excludes 1.9.0 parse("1.2 <1.2.5").to_s includes 1.2.0 + "1 <=1.2.5" excludes 0.999.999 + "1.2 <1.2.5" excludes 1.9.0 + parse(">1.0.0 >2.0.0 >=3.0.0 <5.0.0").to_s excludes 3.0.0-0 ">1.0.0 >2.0.0 >=3.0.0 <5.0.0" excludes 3.0.0-0 - ">1.0.0 >2.0.0 >=3.0.0 <5.0.0" includes 3.0.0 - parse("1.2 <1.2.5").to_s includes 1.2.4 - parse(">1.0.0 >2.0.0 >=3.0.0 <5.0.0").to_s excludes 2.999.999 - "1.2 <1.2.5" excludes 1.1.999 - "1 <=1.2.5" excludes 1.2.6-0 - parse("<1.0.0 >2.0.0").to_s excludes 0.0.0-0 + "1 <=1.2.5" excludes 1.0.0-0 + "1.2 <1.2.5" excludes 1.2.0-0 "1 <=1.2.5" includes 1.2.5 - parse("1 <=1.2.5").to_s includes 1.0.0 - parse(">1.0.0 >2.0.0 >=3.0.0 <5.0.0").to_s includes 3.0.0 - parse("1 <=1.2.5").to_s excludes 1.0.0-0 - parse("<1.0.0 >2.0.0").to_s excludes 0.0.0 + "1 <=1.2.5" stringifies as >=1.0.0 <=1.2.5 + inclusive range expressions + parse("1.2.3 - 1.3.4").to_s excludes 1.2.3-0 + "1.2.3 - 1.3.4" excludes 1.2.3-0 + parse("1.2.3-alpha - 1.3.4").to_s excludes 1.3.5-0 + "1.2.3 - 1.3.4-alpha" excludes 1.2.2 + parse("1.2.3 - 1.3.4").to_s includes 1.2.3 + "1.2.3-alpha - 1.3.4" stringifies as >=1.2.3-alpha <=1.3.4 + parse("1.2.3 - 1.3.4-alpha").to_s excludes 1.3.5 + "1.2.3 - 1.3.4-alpha" stringifies as >=1.2.3 <=1.3.4-alpha + "1.2.3-alpha - 1.3.4-alpha" excludes 1.3.5 + parse("1.2.3 - 1.3.4-alpha").to_s excludes 1.2.3-0 + "1.2.3-alpha - 1.3.4-alpha" includes 1.2.3-alpha + parse("1.2.3-alpha - 1.3.4").to_s excludes 1.2.3-alph + "1.2.3-alpha - 1.3.4-alpha" stringifies as >=1.2.3-alpha <=1.3.4-alpha + parse("1.2.3 - 1.3.4-alpha").to_s includes 1.2.3 + "1.2.3 - 1.3.4-alpha" excludes 1.3.4-alpha0 + parse("1.2.3-alpha - 1.3.4-alpha").to_s excludes 1.3.5 + "1.2.3-alpha - 1.3.4" excludes 1.2.3-alph + "1.2.3-alpha - 1.3.4" includes 1.2.3-alpha + "1.2.3-alpha - 1.3.4" includes 1.3.4 + parse("1.2.3 - 1.3.4").to_s excludes 1.2.2 + "1.2.3 - 1.3.4" excludes 1.3.5-0 + parse("1.2.3-alpha - 1.3.4-alpha").to_s excludes 1.2.3-alph + parse("1.2.3-alpha - 1.3.4-alpha").to_s includes 1.2.3-alpha + parse("1.2.3-alpha - 1.3.4").to_s includes 1.3.4 + parse("1.2.3-alpha - 1.3.4-alpha").to_s excludes 1.3.4-alpha0 + parse("1.2.3 - 1.3.4-alpha").to_s excludes 1.2.2 + parse("1.2.3-alpha - 1.3.4-alpha").to_s includes 1.3.4-alpha + "1.2.3-alpha - 1.3.4-alpha" excludes 1.3.4-alpha0 + "1.2.3-alpha - 1.3.4-alpha" includes 1.3.4-alpha + "1.2.3 - 1.3.4" includes 1.3.4 + "1.2.3 - 1.3.4" stringifies as >=1.2.3 <=1.3.4 + parse("1.2.3 - 1.3.4-alpha").to_s excludes 1.3.4-alpha0 + "1.2.3 - 1.3.4" includes 1.2.3 + "1.2.3 - 1.3.4-alpha" includes 1.3.4-alpha + "1.2.3 - 1.3.4" excludes 1.2.2 + parse("1.2.3 - 1.3.4-alpha").to_s includes 1.3.4-alpha + parse("1.2.3 - 1.3.4").to_s includes 1.3.4 + "1.2.3-alpha - 1.3.4" excludes 1.3.5-0 + "1.2.3 - 1.3.4-alpha" excludes 1.2.3-0 + "1.2.3 - 1.3.4-alpha" excludes 1.3.5 + "1.2.3-alpha - 1.3.4-alpha" excludes 1.2.3-alph + "1.2.3 - 1.3.4-alpha" includes 1.2.3 + parse("1.2.3 - 1.3.4").to_s excludes 1.3.5-0 + parse("1.2.3-alpha - 1.3.4").to_s includes 1.2.3-alpha + "reasonably close" expressions + parse("~ 1.2.3-alpha").to_s excludes 1.2.3-alph + "~1.2.3-alpha" stringifies as >=1.2.3-alpha <1.3.0 + parse("~ 1.2.3").to_s includes 1.2.3 + "~1" excludes 2.0.0-0 + "~1.2" includes 1.2.0 + "~ 1.2.3" includes 1.2.3 + parse("~1.2").to_s includes 1.2.999 + "~ 1.2" includes 1.2.0 + "~1.2" excludes 1.2.0-0 + "~ 1" excludes 1.0.0-0 + parse("~1").to_s includes 1.999.999 + parse("~ 1.2").to_s includes 1.2.999 + parse("~ 1").to_s excludes 2.0.0-0 + parse("~ 1.2").to_s excludes 1.3.0-0 + parse("~1.2").to_s excludes 1.2.0-0 + "~1.2" stringifies as >=1.2.0 <1.3.0 + parse("~1.2").to_s excludes 1.3.0-0 + parse("~ 1").to_s excludes 0.999.999 + "~ 1.2.3-alpha" excludes 1.2.3-alph + "~ 1.2.3" excludes 1.3.0-0 + parse("~1.2.3").to_s excludes 1.3.0-0 + parse("~1.2").to_s includes 1.2.0 + "~ 1.2" excludes 1.2.0-0 + "~ 1.2.3-alpha" excludes 1.2.4-0 + "~1.2.3-alpha" excludes 1.2.3-alph + parse("~ 1.2.3-alpha").to_s includes 1.2.3 + parse("~ 1.2.3").to_s excludes 1.2.2 + "~ 1.2" excludes 1.1.999 + parse("~ 1.2").to_s excludes 1.1.999 + parse("~1.2.3").to_s excludes 1.2.2 + parse("~ 1.2.3").to_s excludes 1.3.0-0 + parse("~1.2.3-alpha").to_s includes 1.2.3 + "~1.2.3" excludes 1.2.2 + parse("~ 1.2.3").to_s includes 1.2.5 + "~1.2.3-alpha" excludes 1.2.4-0 + parse("~ 1").to_s includes 1.999.999 + "~ 1.2" stringifies as >=1.2.0 <1.3.0 + parse("~ 1").to_s excludes 1.0.0-0 + "~1" includes 1.0.0 + parse("~1.2.3-alpha").to_s excludes 1.2.4-0 + "~ 1.2.3" excludes 1.2.3-0 + "~1.2.3-alpha" includes 1.2.3 + parse("~1.2.3").to_s includes 1.2.5 + "~1.2" includes 1.2.999 + parse("~ 1.2.3").to_s excludes 1.2.3-0 + "~1" stringifies as >=1.0.0 <2.0.0 + "~ 1.2" excludes 1.3.0-0 + "~1" excludes 1.0.0-0 + "~ 1.2.3-alpha" includes 1.2.3 + "~1.2.3" excludes 1.2.3-0 + parse("~1.2").to_s excludes 1.1.999 + "~1.2.3" includes 1.2.5 + parse("~ 1.2.3-alpha").to_s excludes 1.2.4-0 + "~1" excludes 0.999.999 + "~1.2.3" includes 1.2.3 + parse("~1.2.3-alpha").to_s excludes 1.2.3-alph + "~ 1.2.3" excludes 1.2.2 + "~ 1" excludes 2.0.0-0 + parse("~1").to_s includes 1.0.0 + parse("~1.2.3").to_s includes 1.2.3 + "~1.2.3" excludes 1.3.0-0 + "~ 1.2.3" includes 1.2.5 + "~1.2" excludes 1.1.999 + "~ 1" stringifies as >=1.0.0 <2.0.0 + "~ 1.2.3-alpha" includes 1.2.3-alpha + "~1.2.3" stringifies as >=1.2.3 <1.3.0 + parse("~1.2.3").to_s excludes 1.2.3-0 + "~ 1.2.3-alpha" stringifies as >=1.2.3-alpha <1.3.0 + "~ 1" includes 1.0.0 + parse("~1.2.3-alpha").to_s includes 1.2.3-alpha + "~ 1" excludes 0.999.999 + parse("~1").to_s excludes 0.999.999 + parse("~ 1.2").to_s includes 1.2.0 + "~1" includes 1.999.999 + "~ 1.2" includes 1.2.999 + "~1.2" excludes 1.3.0-0 + parse("~ 1.2.3-alpha").to_s includes 1.2.3-alpha + parse("~1").to_s excludes 2.0.0-0 + "~ 1.2.3" stringifies as >=1.2.3 <1.3.0 + parse("~1").to_s excludes 1.0.0-0 + "~ 1" includes 1.999.999 + parse("~ 1.2").to_s excludes 1.2.0-0 + "~1.2.3-alpha" includes 1.2.3-alpha + parse("~ 1").to_s includes 1.0.0 + invalid expressions + raise an appropriate exception + The version + 2.0.0 should not be below range 1.0.0 - 2.0.0 + 3.0.0 should be above range 1.2.x || 2.x + 0.5.4 should not be below range ~v0.5.4-pre + 0.2.4 should not be above range >=0.2.3 || <0.0.1(>=0.2.3 || <0.0.1) + 1.3.0 should be above range ~1.2.2 + 0.2.3 should be below range ~1 + 0.2.3 should be below range ~>1 + 1.2.3 should not be above range 1.2.x || 2.x(>=1.2.0 <1.3.0 || >=2.0.0 <3.0.0) + 4.0.0 should not be below range ^3.0.0 + 1.2.3 should not be above range 1.2.* || 2.*(>=1.2.0 <1.3.0 || >=2.0.0 <3.0.0) + 1.1.0 should be above range ~1.0 + 1.2.3 should not be below range * + 0.6.1-1 should not be above range ~0.6.1-1(>=0.6.1-1 <0.7.0) + 0.0.0 should not be above range >=0.2.3 || <0.0.1(>=0.2.3 || <0.0.1) + 0.2.5 should not be below range >0.2.3 >0.2.4 <=0.2.5 + 0.8.0-asdf should be above range =0.7.x + 3.2.9 should be above range <=2.0.0 + 0.7.0-asdf should be below range =0.7.x + 1.1.3 should be below range 2.x.x + 1.0.0-beta should be below range >1 + 2.4.5 should not be above range ~2.4(>=2.4.0 <2.5.0) + 1.1.0 should not be below range >=1.0.0 + 1.0.0 should not be below range 1.0.0 + 1.2.3 should not be above range ~1(>=1.0.0 <2.0.0) + 1.0.0-beta should be below range 2 + 1.0.0 should not be above range (*) + 0.2.4 should not be above range >=0.2.3 <=0.2.4(>=0.2.3 <=0.2.4) + 0.6.1-pre should be above range ~v0.5.4-pre + 1.0.2 should not be above range ~1.0(>=1.0.0 <1.1.0) + 1.3.3 should be above range 1.2.* + 1.0.0 should not be above range >=1.0.0(>=1.0.0) + 1.0.1 should not be above range >=1.0.0(>=1.0.0) + 0.7.0-asdf should be below range >=0.7.x + 0.6.0 should be below range >=0.7.x + 0.6.1-0 should be below range ~0.6.1-1 + 2.5.0 should be above range ~2.4 + 1.2.3 should not be above range 1.2.*(>=1.2.0 <1.3.0) + 1.0.0-beta should not be below range ^0.1.0 || ~3.0.1 || 5.0.0 + 2.9999.9999 should be above range <2.0.0 + 1.3.3 should be above range 1.2.x + 1.3.0 should be above range ~1.2.2 + 0.8.0 should be above range =0.7.x + 0.6.2 should not be below range <=0.7.x + 0.2.5 should not be above range >0.2.3 >0.2.4 <=0.2.5(>0.2.4 <=0.2.5) + 1.2.9 should be below range >=2.0.0 + 1.1.1 should not be below range < 1.2 + 0.1.20 should not be above range 0.1.20 || 1.2.4(0.1.20 || 1.2.4) + 0.7.0 should be above range <0.7.x + 1.3.4 should not be above range ||(*) + 0.2.9 should not be above range <= 2.0.0(<=2.0.0) + 1.0.0-beta should not be above range 1(>=1.0.0 <2.0.0) + 1.2.9 should be below range >2.0.0 + 2.2.1 should be below range 2.3 + 0.0.1 should be below range 1.0.0 + 0.7.0-asdf should not be above range >=0.7.x(>=0.7.0) + 3.1.3 should be above range 1.2.* || 2.* + 1.1.3 should be below range 1.2.* + 1.1.3 should be below range 1.2.* + 0.2.3 should be below range 1.0.0 - 2.0.0 + 1.0.2 should not be above range ~ 1.0(>=1.0.0 <1.1.0) + 3.2.0 should not be below range ^0.1.0 || ~3.0.1 || 5.0.0 + 1.2.3 should not be above range 1.0.0 - 2.0.0(>=1.0.0 <=2.0.0) + 0.0.0-beta should be below range 1 + 5.0.0-0 should not be below range ^0.1.0 || ~3.0.1 || 5.0.0 + 0.6.2 should not be above range <=0.7.x(<0.8.0) + 1.2.3 should not be above range 1.2.x(>=1.2.0 <1.3.0) + 2.2.9 should be above range <2.0.0 + 2.3.1 should not be below range 2.3 + 0.6.2 should be below range =0.7.x + 1.9999.9999 should not be above range < 2.0.0(<2.0.0) + 0.6.0 should be above range ~v0.5.4-pre + 1.3.3 should be above range 1.2.* + 1.2.1 should be below range ~1.2.2 + 0.2.9 should not be above range < 2.0.0(<2.0.0) + 1.2.1 should be below range ~1.2.2 + 2.4.0 should not be below range ~2.4 + 2.2.3 should be above range ~1 + 3.0.0 should be above range 2.x.x + 3.0.0 should be above range 2 + 1.0.0-beta should be below range > 1 + 1.1.2 should be above range ~1.0 + 1.2.3 should not be below range 1.0.0 - 2.0.0 + 0.6.0 should be below range =0.7.x + 0.9.9 should not be above range 1.0.0 - 2.0.0(>=1.0.0 <=2.0.0) + 2.0.0 should be above range <2.0.0 + 0.5.5 should not be below range ~v0.5.4-pre + 1.0.0-beta should not be below range ^1.0.0-alpha + 1.0.0 should be below range 1.2.x || 2.x + 1.0.1 should not be below range >1.0.0 + 0.7.2 should not be above range >=0.7.x(>=0.7.0) + 0.2.9 should not be below range <= 2.0.0 + 3.3.2 should be above range ~>3.2.1 + 1.0.0 should not be below range >=1.0.0 + 1.0.0-0 should be below range ^1 + 3.1.2 should be above range 2 + 1.0.0 should not be below range =0.1.0 + 0.8.2 should be above range =0.7.x + 2.1.3 should not be above range 1.2.* || 2.*(>=1.2.0 <1.3.0 || >=2.0.0 <3.0.0) + 1.2.3 should not be below range ~> 1 + 2.1.3 should not be below range 2.*.* + 0.1.20 should not be below range 0.1.20 || 1.2.4 + 2.4.1 should be above range 2.3 + 2.1.3 should not be below range 2.x.x + 0.2.9 should not be below range < 2.0.0 + 1.0.0-beta.1 should be below range 1.0.0-beta.2 + 1.0.2 should not be below range ~1.0 + 2.9999.9999 should be above range <=2.0.0 + 1.2.1 should be below range > 1.2 + 0.7.2 should not be below range >=0.7.x + 1.1.1 should be below range >=2.0.0 + 2.0.1 should be above range 1.0.0 - 2.0.0 + 0.2.3 should not be below range >=0.2.3 || <0.0.1 + 2.0.0 should not be above range 1.0.0 - 2.0.0(>=1.0.0 <=2.0.0) + 2.5.5 should be above range ~2.4 + 0.1.5 should be below range 0.1.20 || 1.2.4 + 1.2.3 should not be below range ~>1 + 1.0.1 should not be below range > 1.0.0 + 1.1.3 should be below range 1.2.* || 2.* + 1.1.1 should not be above range < 1.2(<1.2.0) + 1.0.0 should not be below range >=1 + 1.0.2 should not be below range ~ 1.0 + 2.2.2 should be below range 2.3 + 1.1.0 should not be below range >1.0.0 + 1.9999.9999 should be below range 2 + 1.9999.9999 should be below range >=2.0.0 + 0.2.3 should not be above range >=0.2.3 || <0.0.1(>=0.2.3 || <0.0.1) + 1.2.3 should not be above range x(*) + 2.3.0 should be below range ~2.4 + 2.1.3 should not be above range 2.x.x(>=2.0.0 <3.0.0) + 1.2.9 should be below range >=2.0.0 + 1.1.0 should be below range 1.2.x + 2.1.2 should not be above range 2(>=2.0.0 <3.0.0) + 1.0.1 should not be below range >= 1.0.0 + 1.1.0 should not be below range ~ 1.0 + 1.9999.9999 should not be below range <= 2.0.0 + 1.0.0 should not be above range >=1(>=1.0.0) + 2.2.9 should be above range <=2.0.0 + 1.2.3 should not be above range ~> 1(>=1.0.0 <2.0.0) + 1.1.9999 should be below range 1.2.* || 2.* + 1.9999.9999 should not be below range <=2.0.0 + 2.1.3 should not be below range 1.2.* || 2.* + 2.3.5 should be below range ~2.4 + 1.1.3 should be below range 1.2.x + 1.2.3 should not be below range x + 0.1.2 should be below range ~1.0 + 1.2.3 should not be below range 1.2.* + 3.2.2 should not be above range ~>3.2.1(>=3.2.1 <3.3.0) + 0.5.4-alpha should be below range ~v0.5.4-pre + 5.0.1 should be above range 2.*.* + 1.0.0 should not be above range >= 1.0.0(>=1.0.0) + 0.2.9 should not be below range <=2.0.0 + 3.2.0 should be below range ~>3.2.1 + 0.2.4 should not be below range >=* + 0.2.9 should not be above range <2.0.0(<2.0.0) + 0.7.0-asdf should not be above range =0.7.x(>=0.7.0 <0.8.0) + 3.1.3 should be above range 2.x.x + 1.0.1 should be above range 1.0.0 + 0.7.2 should be above range <0.7.x + 3.2.3 should be above range ~> 1 + 1.0.0 should be below range >=2.0.0 + 5.0.0-0 should not be above range ^0.1.0 || ~3.0.1 || 5.0.0(>=0.1.0 <0.2.0 || >=3.0.1 <3.1.0 || 5.0.0) + 1.0.0 should be above range <1 + 0.1.97 should not be above range >=0.1.97(>=0.1.97) + 1.2.4 should not be below range 0.1.20 || 1.2.4 + 3.0.0 should be above range <=2.0.0 + 4.0.0 should be above range 1.2.* || 2.* + 1.0.0 should be below range 2 + 1.9999.9999 should not be below range < 2.0.0 + 0.6.2 should be below range >=0.7.x + 0.1.97 should not be above range >=0.1.97(>=0.1.97) + 1.3.4 should not be below range || + 0.6.0-asdf should be below range =0.7.x + 1.2.3 should not be above range 0.1.20 || 1.2.4(0.1.20 || 1.2.4) + 2.0.0 should not be below range <=2.0.0 + 1.0.0-beta should be above range < 1 + 1.2.3 should not be below range * + 1.0.1 should not be above range >= 1.0.0(>=1.0.0) + 1.1.1 should not be above range <1.2(<1.2.0) + 0.2.4 should not be above range >=*(>=0.0.0) + 3.2.2 should not be below range ~>3.2.1 + 2.4.5 should not be below range ~2.4 + 1.0.0 should be below range 2.x.x + 2.0.0 should be below range >2.0.0 + 2.1.1 should be above range <=2.0.0 + 0.0.0-0 should not be above range ^1(>=1.0.0 <2.0.0) + 1.2.3 should not be above range *(*) + 0.5.4 should not be above range ~v0.5.4-pre(>=0.5.4-pre <0.6.0) + 1.0.0 should not be above range >= 1(>=1.0.0) + 2.2.3 should be above range ~>1 + 1.0.1 should not be above range >1.0.0(>1.0.0) + 1.2.3 should not be above range 1.2.* || 2.*(>=1.2.0 <1.3.0 || >=2.0.0 <3.0.0) + 3.1.3 should be above range 1.2.x || 2.x + 2.3.0 should be below range ~2.4 + 1.9999.9999 should not be above range <2.0.0(<2.0.0) + 0.2.4 should be below range ~>1 + 0.5.5 should not be above range ~v0.5.4-pre(>=0.5.4-pre <0.6.0) + 0.1.97 should not be below range >=0.1.97 + 1.1.0 should not be above range >= 1.0.0(>=1.0.0) + 2.4.2 should be above range 2.3 + 3.1.3 should be above range 2.*.* + 2.0.0 should not be above range ^3.0.0(>=3.0.0 <4.0.0) + 0.5.4-alpha should be below range ~v0.5.4-pre + 1.0.1 should be below range 2.*.* + 1.2.4 should not be above range 0.1.20 || 1.2.4(0.1.20 || 1.2.4) + 1.2.3 should not be above range ~>1(>=1.0.0 <2.0.0) + 1.2.1 should be above range < 1.2 + 2.0.0-beta should be above range 1 + 3.5.0 should not be below range ^0.1.0 || ~3.0.1 || >4 <=5.0.0 + 3.5.0 should not be above range ^0.1.0 || ~3.0.1 || >4 <=5.0.0(>=0.1.0 <0.2.0 || >=3.0.1 <3.1.0 || 5.0.0) + 0.2.3 should be below range ~1 + 1.2.3 should not be below range 1.2.x || 2.x + 1.1.1 should not be below range <1.2 + 1.2.4 should not be above range 0.1.20 || >1.2.4(0.1.20 || >1.2.4) + 1.1.0 should not be below range >= 1.0.0 + 1.9999.9999 should not be below range <2.0.0 + 1.1.3 should be below range 1.2.x || 2.x + 2.1.2 should not be below range 2 + 0.7.2 should not be above range =0.7.x(>=0.7.0 <0.8.0) + 3.2.0 should not be above range ^0.1.0 || ~3.0.1 || 5.0.0(>=0.1.0 <0.2.0 || >=3.0.1 <3.1.0 || 5.0.0) + 1.2.0 should be below range >1.2 + 0.0.0 should be below range 1.0.0 + 2.5.0 should be above range ~2.4 + 1.1.0 should not be above range >1.0.0(>1.0.0) + 2.2.4 should be above range ~>1 + 2.0.0 should be below range >2.0.0 + 0.2.9 should not be above range <=2.0.0(<=2.0.0) + 1.9999.9999 should not be above range <= 2.0.0(<=2.0.0) + 1.0.0-beta should be above range <1 + 0.6.1-1 should not be below range ~0.6.1-1 + 1.2.0 should be above range <1.2 + 1.2.3 should not be above range *(*) + 1.2.4 should not be below range 0.1.20 || >1.2.4 + 0.7.1-1 should be above range ~0.6.1-1 + 2.0.0 should not be above range <= 2.0.0(<=2.0.0) + 0.2.3 should be below range ~> 1 + 0.0.0 should not be below range >=0.2.3 || <0.0.1 + 2.1.3 should not be above range 2.*.*(>=2.0.0 <3.0.0) + 1.2.3 should not be below range ~1 + 1.3.0 should be above range 1.2.x + 2.9.9 should not be below range 1.0.0 - 2.0.0 + 2.1.3 should not be below range 1.2.x || 2.x + 2.0.0 should be above range 1.0.0 + 1.1.0 should not be above range > 1.0.0(>1.0.0) + 3.3.0 should be above range ~>3.2.1 + 2.0.0-beta should be above range 1 + 1.2.3-foo should not be above range *(*) + 1.0.1-beta1 should be above range 1.0.0 + 1.0.0-beta should be below range 1 + 1.2.3 should not be below range 0.1.20 || 1.2.4 + 2.2.3 should be above range 1.0.0 - 2.0.0 + 2.0.0 should not be below range <= 2.0.0 + 1.0.1 should not be above range > 1.0.0(>1.0.0) + 1.1.0 should be above range ~ 1.0 + 1.2.5 should be above range 0.1.20 || 1.2.4 + 1.9999.9999 should not be above range <=2.0.0(<=2.0.0) + 2.3.2 should be below range ~>3.2.1 + 0.0.0 should be below range ~1.0 + 1.1.3 should be below range 2.*.* + 1.1.0 should not be above range >=1.0.0(>=1.0.0) + 0.2.9 should not be below range <2.0.0 + 1.0.0 should be below range >1 + 2.3.1 should not be above range 2.3(>=2.3.0 <2.4.0) + 1.0.0-beta should not be below range ~1.0.0-alpha + 0.1.0 should be below range ~ 1.0 + 1.2.3 should not be below range 1.2.* || 2.* + 0.2.4 should not be below range >=0.2.3 || <0.0.1 + 0.0.1 should be below range 1.0.0 - 2.0.0 + 1.0.0 should not be above range 1.0.0(1.0.0) + 1.2.3 should not be below range 1.2.x + 2.4.0 should not be above range ~2.4(>=2.4.0 <2.5.0) + 2.0.0 should not be below range ^1.0.0 || ~2.0.1 + 1.2.3 should not be below range 1.2.* || 2.* + 1.0.0 should not be below range >= 1.0.0 + 2.0.0 should not be above range <=2.0.0(<=2.0.0) + 1.0.0 should not be below range + 2.1.3 should not be above range 1.2.x || 2.x(>=1.2.0 <1.3.0 || >=2.0.0 <3.0.0) + 0.2.4 should not be below range >=0.2.3 <=0.2.4 + 2.2.3 should be above range ~1 + 1.0.0 should not be below range >= 1 + 0.7.2 should not be below range =0.7.x + 1.1.0 should not be below range > 1.0.0 + 2.0.0 should not be above range ^1.0.0 || ~2.0.1(>=1.0.0 <2.0.0 || >=2.0.1 <2.1.0) + 1.0.0-beta should not be above range ^0.1.0 || ~3.0.1 || 5.0.0(>=0.1.0 <0.2.0 || >=3.0.1 <3.1.0 || 5.0.0) + 1.0.1 should not be below range >=1.0.0 #intersection cannot intersect with non-VersionRanges - between 10.0.0 - 5.0.0 & - 6.0.0 - 1.0.0 - 15.0.0 - 11.0.0 - >=5.0.0 <1.0.0 - >=10.0.0 <5.0.0 - 4.0.0 - 1.0.0 - 9.0.0 - 6.0.0 - 11.0.0 - 4.0.0 - 15.0.0 - 9.0.0 - >=7.0.0 <1.0.0 - 5.0.0 - 1.0.0 - 15.0.0 - 10.0.0 - 10.0.0 - 5.0.0 is commutative + between 10.0.0 - 5.0.0 & 11.0.0 - 4.0.0 + between 10.0.0 - 5.0.0 & 4.0.0 - 1.0.0 + between 10.0.0 - 5.0.0 & >=7.0.0 <1.0.0 + between 10.0.0 - 5.0.0 & 5.0.0 - 1.0.0 + between >=10.0.0 <5.0.0 & 5.0.0 - 1.0.0 + between 10.0.0 - 5.0.0 & >=10.0.0 <5.0.0 + between >=10.0.0 <5.0.0 & >=7.0.0 <1.0.0 + between >=10.0.0 <5.0.0 & 15.0.0 - 10.0.0 between >=10.0.0 <5.0.0 & 11.0.0 - 4.0.0 between 10.0.0 - 5.0.0 & 6.0.0 - 1.0.0 + between >=10.0.0 <5.0.0 & 15.0.0 - 9.0.0 + between 10.0.0 - 5.0.0 & 10.0.0 - 5.0.0 + between >=10.0.0 <5.0.0 & 9.0.0 - 6.0.0 + between 10.0.0 - 5.0.0 & 15.0.0 - 9.0.0 + between >=10.0.0 <5.0.0 & 10.0.0 - 5.0.0 + between 10.0.0 - 5.0.0 & 15.0.0 - 10.0.0 between >=10.0.0 <5.0.0 & 15.0.0 - 11.0.0 between >=10.0.0 <5.0.0 & >=10.0.0 <5.0.0 between 10.0.0 - 5.0.0 & 9.0.0 - 6.0.0 - between 10.0.0 - 5.0.0 & 4.0.0 - 1.0.0 - between >=10.0.0 <5.0.0 & 10.0.0 - 5.0.0 - between 10.0.0 - 5.0.0 & 15.0.0 - 10.0.0 - between 10.0.0 - 5.0.0 & 5.0.0 - 1.0.0 - between 10.0.0 - 5.0.0 & 15.0.0 - 11.0.0 - between >=10.0.0 <5.0.0 & 6.0.0 - 1.0.0 - between 10.0.0 - 5.0.0 & 10.0.0 - 5.0.0 - between 10.0.0 - 5.0.0 & >=7.0.0 <1.0.0 - between >=10.0.0 <5.0.0 & 9.0.0 - 6.0.0 - between >=10.0.0 <5.0.0 & >=7.0.0 <1.0.0 - between 10.0.0 - 5.0.0 & >=10.0.0 <5.0.0 - between >=10.0.0 <5.0.0 & 15.0.0 - 9.0.0 - between >=10.0.0 <5.0.0 & 15.0.0 - 10.0.0 between >=10.0.0 <5.0.0 & >=5.0.0 <1.0.0 - between 10.0.0 - 5.0.0 & 15.0.0 - 9.0.0 between 10.0.0 - 5.0.0 & >=5.0.0 <1.0.0 - between 10.0.0 - 5.0.0 & 11.0.0 - 4.0.0 - between >=10.0.0 <5.0.0 & 5.0.0 - 1.0.0 + between >=10.0.0 <5.0.0 & 6.0.0 - 1.0.0 between >=10.0.0 <5.0.0 & 4.0.0 - 1.0.0 + between 10.0.0 - 5.0.0 & 15.0.0 - 11.0.0 between >=10.0.0 <5.0.0 & - 15.0.0 - 11.0.0 - 15.0.0 - 10.0.0 + >=7.0.0 <1.0.0 >=5.0.0 <1.0.0 11.0.0 - 4.0.0 - >=7.0.0 <1.0.0 - 15.0.0 - 9.0.0 - >=10.0.0 <5.0.0 5.0.0 - 1.0.0 + 15.0.0 - 11.0.0 + 9.0.0 - 6.0.0 4.0.0 - 1.0.0 - 10.0.0 - 5.0.0 6.0.0 - 1.0.0 + 10.0.0 - 5.0.0 + >=10.0.0 <5.0.0 + 15.0.0 - 9.0.0 + 15.0.0 - 10.0.0 + between 10.0.0 - 5.0.0 & + 15.0.0 - 11.0.0 + 5.0.0 - 1.0.0 + 10.0.0 - 5.0.0 + 15.0.0 - 9.0.0 + 4.0.0 - 1.0.0 9.0.0 - 6.0.0 + 11.0.0 - 4.0.0 + >=7.0.0 <1.0.0 + 15.0.0 - 10.0.0 + 6.0.0 - 1.0.0 + >=5.0.0 <1.0.0 + >=10.0.0 <5.0.0 SemanticPuppet::Dependency::Graph - #initialize - adds constraints for every key in the passed hash - can be called without arguments - adds the named dependencies for every key in the passed hash - implements the GraphNode protocol #satisfies_graph? + returns false if the solution violates any graph constraint returns false if the solution violates a graph constraint returns true if the solution violates no graph constraints - returns false if the solution violates any graph constraint + #add_constraint + can create a new constraint on a module + permits multiple constraints against the same module name #satisfies_dependency? - is satisfied by modules that do fulfill all the constraints - is not satisfied by modules that do not fulfill the constraint is not satisfied by modules it does not depend on + is not satisfied by modules that do not fulfill the constraint + is satisfied by modules that do fulfill all the constraints is not satisfied by modules that do not fulfill all the constraints + #initialize + adds the named dependencies for every key in the passed hash + adds constraints for every key in the passed hash + implements the GraphNode protocol + can be called without arguments #add_graph_constraint - can create a new constraint on a graph permits multiple graph constraints - #add_constraint - can create a new constraint on a module - permits multiple constraints against the same module name - -SemanticPuppet::Dependency::ModuleRelease - #to_s - is expected to =~ /foobarbaz/ - is expected to =~ /1.2.3/ - #satisfies_dependency? - returns false when there are no dependencies to satisfy - returns false when the release does not match the dependency version - returns true when the release matches the dependency - returns false when the release does not match the dependency name - #satisfied? - returns false when no dependencies have been satisified - returns false when not all dependencies have been satisified - returns true when there are no dependencies to satisfy - returns true when all dependencies have been satisified - returns false when not all dependency versions have been satisified - #<=> - considers releases with lesser version numbers lesser - orders releases with different names lexographically - considers releases with greater version numbers greater - orders releases by name first - #dependency_names - lists the names of all the release's dependencies - #<< - marks matching dependencies as satisfied - does not mark mis-matching dependency names as satisfied - does not mark mis-matching dependency versions as satisfied - #== - can compare a release with something that is not a release - considers a release different from something that is not a release - considers two releases with different names to be different - considers two releases with different versions to be different - considers two equal releases to be equal + can create a new constraint on a graph SemanticPuppet::Version + #next + with :major + returns the next major version + removes any prerelease information + resets the minor and patch versions to 0 + does not modify the original version + removes any build information + with :minor + does not modify the original version + removes any prerelease information + resets the patch version to 0 + returns the next minor version + removes any build information + with :patch + removes any build information + removes any prerelease information + does not modify the original version + returns the next patch version #== - should yield false when the prerelease differs should yield false when compared to something that is not a Version should yield false when the major differs - should yield false when the patch differs - should yield true when comparing two equal instances should yield false when the minor differs - .parse - Spec v1.0.0 - Section 2 - rejects versions that contain too few parts - rejects versions that contain too many parts - rejects versions that contain non-integers - permits zeroes in version number parts - examples - 1.11.0 - 1.9.0 - 1.10.0 - Section 4 - permits non-numeric prerelease identifiers with leading zeroes - rejects empty prerelease versions - rejects numeric prerelease identifiers with leading zeroes - rejects prerelease identifiers with non-alphanumerics - permits numeric prerelease identifiers of zero - examples - 1.0.0-beta1 - 1.0.0-beta2 - 1.0.0-alpha1 - 1.0.0-rc1 + should yield true when comparing two equal instances + should yield false when the patch differs + should yield false when the prerelease differs + .valid? Spec v2.0.0 Section 10 - permits non-numeric build identifiers with leading zeroes - permits numeric build identifiers of zero - rejects empty build metadata rejects empty build identifiers + rejects empty build metadata permits numeric build identifiers with leading zeroes + permits numeric build identifiers of zero rejects build identifiers with non-alphanumerics - examples - 1.0.0-beta+exp.sha.5114f85 - 1.0.0-alpha+001 - 1.0.0+20130313144700 + permits non-numeric build identifiers with leading zeroes Section 2 - rejects versions that contain non-integers permits zeroes in version number parts rejects version numbers containing leading zeroes - rejects versions that contain too few parts + rejects versions that contain non-integers rejects versions that contain too many parts rejects versions that contain negative integers - examples - 1.9.0 - 1.10.0 - 1.11.0 + rejects versions that contain too few parts Section 9 - permits non-numeric prerelease identifiers with leading zeroes - rejects prerelease identifiers with non-alphanumerics rejects empty prerelease versions + permits numeric prerelease identifiers of zero rejects empty prerelease version identifiers + rejects prerelease identifiers with non-alphanumerics + rejects numeric prerelease identifiers with leading zeroes + permits non-numeric prerelease identifiers + permits non-numeric prerelease identifiers with leading zeroes + Spec v1.0.0 + Section 2 + rejects versions that contain too many parts + rejects versions that contain non-integers + rejects versions that contain too few parts + permits zeroes in version number parts + Section 4 permits numeric prerelease identifiers of zero + rejects prerelease identifiers with non-alphanumerics + permits non-numeric prerelease identifiers with leading zeroes + rejects empty prerelease versions rejects numeric prerelease identifiers with leading zeroes - examples - 1.0.0-alpha.1 - 1.0.0-alpha - 1.0.0-x.7.z.92 - 1.0.0-0.3.7 - #next - with :patch - removes any prerelease information - does not modify the original version - removes any build information - returns the next patch version - with :minor - returns the next minor version - removes any build information - resets the patch version to 0 - does not modify the original version - removes any prerelease information - with :major - does not modify the original version - removes any build information - removes any prerelease information - returns the next major version - resets the minor and patch versions to 0 #<=> Spec v1.0.0 Section 4 @@ -2002,60 +1947,185 @@ Spec v2.0.0 Section 11 comparisions between prereleases - numeric identifiers sort numerically + non-numeric identifiers sort ASCIIbetically + sorted order non-numeric identifiers have a higher precendence - identical prereleases are equal + numeric identifiers sort numerically larger identifier sets have precendence - sorted order + identical prereleases are equal + build metadata does figure into equality build metadata does not figure into precendence identifiers are parsed left-to-right - build metadata does figure into equality - non-numeric identifiers sort ASCIIbetically - comparisons against prereleases - prereleases have lower precedence comparisons without prereleases sorted order - .valid? + comparisons against prereleases + prereleases have lower precedence + .parse Spec v2.0.0 - Section 10 - rejects empty build identifiers - permits numeric build identifiers with leading zeroes - permits numeric build identifiers of zero - permits non-numeric build identifiers with leading zeroes - rejects build identifiers with non-alphanumerics - rejects empty build metadata Section 9 - rejects numeric prerelease identifiers with leading zeroes - rejects prerelease identifiers with non-alphanumerics - permits non-numeric prerelease identifiers - permits non-numeric prerelease identifiers with leading zeroes - permits numeric prerelease identifiers of zero rejects empty prerelease version identifiers + permits numeric prerelease identifiers of zero rejects empty prerelease versions + permits non-numeric prerelease identifiers with leading zeroes + rejects numeric prerelease identifiers with leading zeroes + rejects prerelease identifiers with non-alphanumerics + examples + 1.0.0-alpha + 1.0.0-alpha.1 + 1.0.0-0.3.7 + 1.0.0-x.7.z.92 Section 2 - rejects versions that contain too many parts rejects versions that contain too few parts - permits zeroes in version number parts - rejects version numbers containing leading zeroes - rejects versions that contain negative integers rejects versions that contain non-integers - Spec v1.0.0 - Section 2 - rejects versions that contain too few parts + rejects version numbers containing leading zeroes rejects versions that contain too many parts - rejects versions that contain non-integers + rejects versions that contain negative integers permits zeroes in version number parts + examples + 1.9.0 + 1.10.0 + 1.11.0 + Section 10 + rejects empty build metadata + permits numeric build identifiers of zero + permits numeric build identifiers with leading zeroes + rejects empty build identifiers + permits non-numeric build identifiers with leading zeroes + rejects build identifiers with non-alphanumerics + examples + 1.0.0+20130313144700 + 1.0.0-alpha+001 + 1.0.0-beta+exp.sha.5114f85 + Spec v1.0.0 Section 4 - permits non-numeric prerelease identifiers with leading zeroes - rejects empty prerelease versions rejects prerelease identifiers with non-alphanumerics permits numeric prerelease identifiers of zero rejects numeric prerelease identifiers with leading zeroes + rejects empty prerelease versions + permits non-numeric prerelease identifiers with leading zeroes + examples + 1.0.0-rc1 + 1.0.0-beta2 + 1.0.0-alpha1 + 1.0.0-beta1 + Section 2 + rejects versions that contain too many parts + permits zeroes in version number parts + rejects versions that contain too few parts + rejects versions that contain non-integers + examples + 1.11.0 + 1.9.0 + 1.10.0 + +SemanticPuppet::Dependency::ModuleRelease + #<< + does not mark mis-matching dependency names as satisfied + marks matching dependencies as satisfied + does not mark mis-matching dependency versions as satisfied + #dependency_names + lists the names of all the release's dependencies + #to_s + is expected to =~ /1.2.3/ + is expected to =~ /foobarbaz/ + #== + considers two releases with different versions to be different + considers two equal releases to be equal + considers two releases with different names to be different + considers a release different from something that is not a release + can compare a release with something that is not a release + #<=> + orders releases by name first + considers releases with lesser version numbers lesser + considers releases with greater version numbers greater + orders releases with different names lexographically + #satisfied? + returns true when all dependencies have been satisified + returns false when not all dependencies have been satisified + returns false when not all dependency versions have been satisified + returns true when there are no dependencies to satisfy + returns false when no dependencies have been satisified + #satisfies_dependency? + returns false when the release does not match the dependency name + returns false when there are no dependencies to satisfy + returns false when the release does not match the dependency version + returns true when the release matches the dependency + +SemanticPuppet::Dependency::UnsatisfiableGraph + #sentence_from_list + with a list of more than three items + is expected to eql "foo, bar, baz, and quux" + with a list of two items + is expected to eql "foo and bar" + with a list of three items + is expected to eql "foo, bar, and baz" + with a list of one item + is expected to eql "foo" + #message + is expected to match /foo, bar, and baz/ + +SemanticPuppet::Dependency + .query + with one source + queries the source for each dependency + returns a ModuleRelease with the requested dependencies + queries the source for release information + queries the source for each dependency only once + populates the returned ModuleRelease with related dependencies + populates all returned ModuleReleases with related dependencies + with multiple sources + queries each source in turn + resolves all dependencies against all sources + without sources + returns an unsatisfied ModuleRelease + .sources + can be modified by using #add_source + can be emptied by using #clear_sources + is frozen + defaults to an empty list + .resolve + for a module with dependencies + that violate module constraints on the graph + that can be resolved + terminates + that cannot be resolved + fails with an appropriate message + for a module with circular dependencies + that cannot be resolved + fails with an appropriate message + that can be resolved + terminates + for a module with dependencies + returns the greatest releases matching the dependency range + when the dependency has both stable and prerelease versions + returns the greatest stable release matching the range + when the dependency cannot be satisfied + fails with an appropriate message + when the dependency has no stable versions + returns the greatest prerelease version matching the range + for a module without dependencies + returns the greatest release matching the version range + when the query omits all versions + fails with an appropriate message + when the query omits all stable versions + returns the greatest prerelease version matching the range + when the query includes both stable and prerelease versions + returns the greatest stable release matching the range + for a module with competing dependencies + that overlap + returns the greatest release satisfying all dependencies + that do not overlap + fails with an appropriate message + that violate graph constraints + that cannot be resolved + fails with an appropriate message + that can be resolved + terminates -Finished in 0.5329 seconds (files took 0.46528 seconds to load) +Finished in 0.41705 seconds (files took 0.19088 seconds to load) 985 examples, 0 failures -Randomized with seed 37883 +Randomized with seed 51270 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -2085,12 +2155,14 @@ dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/16355/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/16355/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/15864 and its subdirectories -I: Current time: Thu Aug 12 01:27:10 -12 2021 -I: pbuilder-time-stamp: 1628774830 +I: removing directory /srv/workspace/pbuilder/16355 and its subdirectories +I: Current time: Thu Sep 15 09:50:41 +14 2022 +I: pbuilder-time-stamp: 1663185041