Diff of the two buildlogs: -- --- b1/build.log 2025-01-21 09:25:43.804384887 +0000 +++ b2/build.log 2025-01-21 09:27:58.094351963 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Feb 23 03:47:59 -12 2026 -I: pbuilder-time-stamp: 1771861679 +I: Current time: Tue Jan 21 23:25:47 +14 2025 +I: pbuilder-time-stamp: 1737451547 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: applying 0003-Convert-specs-to-RSpec-2.99.2-syntax-with-Transpec.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/286404/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3426658/tmp/hooks/D01_modify_environment starting +debug: Running on codethink02-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jan 21 09:25 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3426658/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3426658/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='13ddcdcffa6949a68fb5614af3d0dfb5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='286404' - PS1='# ' - PS2='> ' + INVOCATION_ID=13b302a7a3d14540bfacb397f92e5402 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=3426658 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.nKghvx9D/pbuilderrc_ggAn --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nKghvx9D/b1 --logfile b1/build.log ruby-mixlib-versioning_1.1.0-1.1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.nKghvx9D/pbuilderrc_Z7vL --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.nKghvx9D/b2 --logfile b2/build.log ruby-mixlib-versioning_1.1.0-1.1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink01-arm64 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-cloud-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Nov 22 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/286404/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3426658/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -264,7 +296,7 @@ Get: 147 http://deb.debian.org/debian trixie/main arm64 ruby-rspec-mocks all 3.13.0c0e0m0s1-2 [81.3 kB] Get: 148 http://deb.debian.org/debian trixie/main arm64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] Get: 149 http://deb.debian.org/debian trixie/main arm64 ruby-rspec-its all 1.3.0-1 [6864 B] -Fetched 54.4 MB in 0s (151 MB/s) +Fetched 54.4 MB in 1s (64.8 MB/s) Preconfiguring packages ... Selecting previously unselected package libpython3.12-minimal:arm64. (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 ... 19970 files and directories currently installed.) @@ -762,8 +794,8 @@ Setting up tzdata (2024b-6) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Feb 23 15:48:22 UTC 2026. -Universal Time is now: Mon Feb 23 15:48:22 UTC 2026. +Local time is now: Tue Jan 21 09:26:44 UTC 2025. +Universal Time is now: Tue Jan 21 09:26:44 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -902,7 +934,11 @@ fakeroot is already the newest version (1.36.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/ruby-mixlib-versioning-1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../ruby-mixlib-versioning_1.1.0-1.1_source.changes +I: user script /srv/workspace/pbuilder/3426658/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/3426658/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-mixlib-versioning-1.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../ruby-mixlib-versioning_1.1.0-1.1_source.changes dpkg-buildpackage: info: source package ruby-mixlib-versioning dpkg-buildpackage: info: source version 1.1.0-1.1 dpkg-buildpackage: info: source distribution unstable @@ -980,1915 +1016,1418 @@ All examples were filtered out; ignoring {:focus=>true} -Randomized with seed 5145 +Randomized with seed 53645 -Mixlib::Versioning::Format::SemVer - has behavior: comparable - #== - confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 - confirms that 1.0.0 is equal to 1.0.0 - confirms that 1.0.0-alpha.1 is equal to 1.0.0-alpha.1 - confirms that 0.1.0 is equal to 0.1.0 - confirms that 1.2.3 is equal to 1.2.3 - confirms that 0.2.0 is equal to 0.2.0 - confirms that 2.0.0-beta.1+build.123 is equal to 2.0.0-beta.1+build.123 - confirms that 1.2.3+build.123 is equal to 1.2.3+build.123 - #< - confirms that 1.0.0-alpha.1 is less-than 1.0.0 - confirms that 1.2.3 is less-than 1.2.3+build.123 - confirms that 0.1.0 is less-than 0.2.0 - confirms that 2.0.0-beta.1 is less-than 2.0.0-beta.1+build.123 - #between? - comfirms that a version is between the oldest and latest release - #<= - confirms that 0.1.0 less-than or equal to 0.2.0 - confirms that 2.0.0-beta.1 less-than or equal to 2.0.0-beta.1+build.123 - confirms that 1.2.3 less-than or equal to 1.2.3+build.123 - confirms that 1.0.0-alpha.1 less-than or equal to 1.0.0 - #> - confirms that 0.2.0 is greather-than 0.1.0 - confirms that 1.0.0 is greather-than 1.0.0-alpha.1 - confirms that 2.0.0-beta.1+build.123 is greather-than 2.0.0-beta.1 - confirms that 1.2.3+build.123 is greather-than 1.2.3 - #>= - confirms that 1.2.3+build.123 greater-than or equal to 1.2.3 - confirms that 1.0.0 greater-than or equal to 1.0.0-alpha.1 - confirms that 0.2.0 greater-than or equal to 0.1.0 - confirms that 2.0.0-beta.1+build.123 greater-than or equal to 2.0.0-beta.1 - it should behave like Mixlib::Versioning::Format::SemVer +Mixlib::Versioning::Format::Rubygems + it should behave like Basic SemVer has behavior: rejects invalid version strings - 1.0.0-alpha.. - fails because: empty prerelease identifier - 8.8.8.8 - fails because: too many segments: MAJOR.MINOR.PATCH.EXTRA - 6.3.1+ - fails because: empty build identifier - 1.1.01 - fails because: leading zero invalid - 1.0.0-01.02.03 - fails because: leading zero invalid - 01.1.1 - fails because: leading zero invalid - 007.2.3-rc.1+build.16 - fails because: leading zero invalid - 4.0.000000000002-alpha.1 - fails because: leading zero invalid - 1.0.0-alpha.01 - fails because: leading zero invalid - 1.01.1 - fails because: leading zero invalid - 1.0.0- - fails because: empty prerelease identifier - 12.2.10-beta.00000017 - fails because: leading zero invalid - 12.0005.1-alpha.12 - fails because: leading zero invalid - 6.4.8-alpha.1.2.3+build. - fails because: empty build identifier - it should behave like Basic SemVer - has behavior: parses valid version strings - 1.2.3 - release? - is expected to eq true - patch - is expected to eq 3 - build - is expected to eq nil - prerelease_build? - is expected to eq false - prerelease - is expected to eq nil - prerelease? - is expected to eq false - minor - is expected to eq 2 - build? - is expected to eq false - release_build? - is expected to eq false - major - is expected to eq 1 - has behavior: rejects invalid version strings - 1.1.a - fails because: non-numeric PATCH - a.1.1 - fails because: non-numeric MAJOR - 1.a.1 - fails because: non-numeric MINOR + 1.a.1 + fails because: non-numeric MINOR + 1.1.a + fails because: non-numeric PATCH + a.1.1 + fails because: non-numeric MAJOR has behavior: parses valid version strings - 1.0.0-beta.3+20130308110833 - build - is expected to eq "20130308110833" - prerelease? - is expected to eq false - major - is expected to eq 1 - minor - is expected to eq 0 - release_build? - is expected to eq false - release? - is expected to eq false - patch - is expected to eq 0 - prerelease_build? - is expected to eq true - build? - is expected to eq true - prerelease - is expected to eq "beta.3" - 1.0.0-alpha.1 - minor - is expected to eq 0 - release? - is expected to eq false - prerelease - is expected to eq "alpha.1" + 1.2.3 major is expected to eq 1 - prerelease? - is expected to eq true build? is expected to eq false - patch - is expected to eq 0 - prerelease_build? - is expected to eq false - build - is expected to eq nil - release_build? - is expected to eq false - 1.0.0+20130308110833 minor - is expected to eq 0 - release? - is expected to eq false + is expected to eq 2 prerelease is expected to eq nil - build? - is expected to eq true build - is expected to eq "20130308110833" - prerelease_build? - is expected to eq false - release_build? - is expected to eq true - patch - is expected to eq 0 - prerelease? - is expected to eq false - major - is expected to eq 1 - build qualification - release version - prerelease_build? - is expected to be falsey - build? - is expected to be falsey - prerelease? - is expected to be falsey - release_build? - is expected to be falsey - release? - is expected to be truthy - pre-release version - release? - is expected to be falsey - prerelease_build? - is expected to be falsey - build? - is expected to be falsey - release_build? - is expected to be falsey - prerelease? - is expected to be truthy - release build version - build? - is expected to be truthy - prerelease_build? - is expected to be falsey - release? - is expected to be falsey - prerelease? - is expected to be falsey - release_build? - is expected to be truthy - pre-release build version - release? - is expected to be falsey - prerelease_build? - is expected to be truthy - build? - is expected to be truthy - prerelease? - is expected to be falsey - release_build? - is expected to be falsey - has behavior: serializable - #to_semver_string - generates a semver version string for 1.0.0 - generates a semver version string for 1.0.0-alpha.1 - generates a semver version string for 1.0.0-alpha.1+some.build.version - generates a semver version string for 1.0.0+build.build.build - #to_rubygems_string - generates a rubygems version string for 1.0.0 - generates a rubygems version string for 1.0.0-alpha.1+some.build.version - generates a rubygems version string for 1.0.0-alpha.1 - generates a rubygems version string for 1.0.0+build.build.build - #to_s - reconstructs the initial input for 1.0.0 - reconstructs the initial input for 1.0.0-alpha.1 - reconstructs the initial input for 1.0.0-alpha.1+some.build.version - reconstructs the initial input for 1.0.0+build.build.build - has behavior: sortable - sorts all properly - finds the max - finds the min - responds to <=> - has behavior: filterable - filters by release build versions only - filters by release versions only - filters by pre-release build versions only - filters by pre-release versions only - filters by build versions only - -Mixlib::Versioning::Format::OpscodeSemVer - it should behave like Mixlib::Versioning::Format::SemVer - build qualification - release version - build? - is expected to be falsey - release? - is expected to be truthy - prerelease? - is expected to be falsey - prerelease_build? - is expected to be falsey - release_build? - is expected to be falsey - pre-release build version - release_build? - is expected to be falsey - prerelease? - is expected to be falsey - release? - is expected to be falsey - prerelease_build? - is expected to be truthy - build? - is expected to be truthy - release build version - build? - is expected to be truthy - release_build? - is expected to be truthy - release? - is expected to be falsey - prerelease? - is expected to be falsey - prerelease_build? - is expected to be falsey - pre-release version - build? - is expected to be falsey - release? - is expected to be falsey - release_build? - is expected to be falsey - prerelease_build? - is expected to be falsey - prerelease? - is expected to be truthy - has behavior: rejects invalid version strings - 12.2.10-beta.00000017 - fails because: leading zero invalid - 1.1.01 - fails because: leading zero invalid - 1.0.0- - fails because: empty prerelease identifier - 6.3.1+ - fails because: empty build identifier - 6.4.8-alpha.1.2.3+build. - fails because: empty build identifier - 1.01.1 - fails because: leading zero invalid - 1.0.0-01.02.03 - fails because: leading zero invalid - 1.0.0-alpha.01 - fails because: leading zero invalid - 1.0.0-alpha.. - fails because: empty prerelease identifier - 4.0.000000000002-alpha.1 - fails because: leading zero invalid - 8.8.8.8 - fails because: too many segments: MAJOR.MINOR.PATCH.EXTRA - 01.1.1 - fails because: leading zero invalid - 12.0005.1-alpha.12 - fails because: leading zero invalid - 007.2.3-rc.1+build.16 - fails because: leading zero invalid - has behavior: parses valid version strings - 1.0.0+20130308110833 - build? - is expected to eq true - prerelease is expected to eq nil release? - is expected to eq false - build - is expected to eq "20130308110833" - major - is expected to eq 1 - prerelease? - is expected to eq false - patch - is expected to eq 0 - minor - is expected to eq 0 - release_build? is expected to eq true prerelease_build? is expected to eq false - 1.0.0-alpha.1 - prerelease_build? - is expected to eq false - build - is expected to eq nil - major - is expected to eq 1 release_build? is expected to eq false - minor - is expected to eq 0 - build? - is expected to eq false - release? - is expected to eq false - prerelease - is expected to eq "alpha.1" - patch - is expected to eq 0 - prerelease? - is expected to eq true - 1.0.0-beta.3+20130308110833 - prerelease - is expected to eq "beta.3" - minor - is expected to eq 0 - major - is expected to eq 1 - prerelease_build? - is expected to eq true - build - is expected to eq "20130308110833" - release_build? - is expected to eq false - release? - is expected to eq false prerelease? is expected to eq false - build? - is expected to eq true patch - is expected to eq 0 - it should behave like Basic SemVer - has behavior: parses valid version strings - 1.2.3 - release? - is expected to eq true - prerelease - is expected to eq nil - minor - is expected to eq 2 - prerelease_build? - is expected to eq false - build - is expected to eq nil - major - is expected to eq 1 - release_build? - is expected to eq false - build? - is expected to eq false - patch - is expected to eq 3 - prerelease? - is expected to eq false - has behavior: rejects invalid version strings - 1.1.a - fails because: non-numeric PATCH - a.1.1 - fails because: non-numeric MAJOR - 1.a.1 - fails because: non-numeric MINOR - has behavior: sortable - finds the min - sorts all properly - finds the max - responds to <=> - has behavior: comparable - #== - confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 - confirms that 1.2.3 is equal to 1.2.3 - confirms that 2.0.0+20131009104433.git.2.94a1dde is equal to 2.0.0+20131009104433.git.2.94a1dde - confirms that 1.2.3+20121009074433 is equal to 1.2.3+20121009074433 - confirms that 1.0.0-alpha.1 is equal to 1.0.0-alpha.1 - confirms that 0.2.0 is equal to 0.2.0 - confirms that 0.1.0 is equal to 0.1.0 - confirms that 1.0.0 is equal to 1.0.0 - #<= - confirms that 0.1.0 less-than or equal to 0.2.0 - confirms that 2.0.0-beta.1 less-than or equal to 2.0.0+20131009104433.git.2.94a1dde - confirms that 1.0.0-alpha.1 less-than or equal to 1.0.0 - confirms that 1.2.3 less-than or equal to 1.2.3+20121009074433 - #>= - confirms that 1.2.3+20121009074433 greater-than or equal to 1.2.3 - confirms that 1.0.0 greater-than or equal to 1.0.0-alpha.1 - confirms that 2.0.0+20131009104433.git.2.94a1dde greater-than or equal to 2.0.0-beta.1 - confirms that 0.2.0 greater-than or equal to 0.1.0 - #< - confirms that 1.0.0-alpha.1 is less-than 1.0.0 - confirms that 2.0.0-beta.1 is less-than 2.0.0+20131009104433.git.2.94a1dde - confirms that 1.2.3 is less-than 1.2.3+20121009074433 - confirms that 0.1.0 is less-than 0.2.0 - #> - confirms that 2.0.0+20131009104433.git.2.94a1dde is greather-than 2.0.0-beta.1 - confirms that 1.2.3+20121009074433 is greather-than 1.2.3 - confirms that 1.0.0 is greather-than 1.0.0-alpha.1 - confirms that 0.2.0 is greather-than 0.1.0 - #between? - comfirms that a version is between the oldest and latest release + is expected to eq 3 has behavior: serializable #to_s - reconstructs the initial input for 1.0.0-alpha.1+20130308110833 reconstructs the initial input for 1.0.0 - reconstructs the initial input for 1.0.0-alpha.1 - reconstructs the initial input for 1.0.0+20130308110833.git.2.94a1dde - #to_semver_string - generates a semver version string for 1.0.0-alpha.1 - generates a semver version string for 1.0.0-alpha.1+20130308110833 - generates a semver version string for 1.0.0 - generates a semver version string for 1.0.0+20130308110833.git.2.94a1dde + reconstructs the initial input for 1.0.0.alpha.1 + reconstructs the initial input for 1.0.0.beta #to_rubygems_string - generates a rubygems version string for 1.0.0-alpha.1 generates a rubygems version string for 1.0.0 - generates a rubygems version string for 1.0.0-alpha.1+20130308110833 - generates a rubygems version string for 1.0.0+20130308110833.git.2.94a1dde - has behavior: filterable - filters by build versions only - filters by release versions only - filters by pre-release build versions only - filters by pre-release versions only - filters by release build versions only - has behavior: rejects invalid version strings - 11.00000000002.8-rc.1+20130308110833 - fails because: leading zero invalid - 0008.1.4 - fails because: leading zero invalid - 11.0.08-rc.1+20130308110833 - fails because: leading zero invalid - 1.0.0+2010AA08010101 - fails because: a malformed timestamp - 3.6.7-rc.007 - fails because: leading zero invalid - 1.0.0+git.33.z0f985a - fails because: a malformed git describe: invalid SHA1 - 4.67.00012+build.20131219 - fails because: leading zero invalid - 11.02.8-rc.1+20130308110833 - fails because: leading zero invalid - 1.0.0-poop.0 - fails because: non-valid pre-release type - 1.0.0+git.AA.e0f985a - fails because: a malformed git describe: non-numeric COMMITS_SINCE - 1.0.0+cvs.33.e0f985a - fails because: a malformed git describe: no git string - 01.0.8-alpha.2+20130308110833.git.2.94a1dde - fails because: leading zero invalid - -Mixlib::Versioning::Format::Rubygems - has behavior: serializable - #to_rubygems_string - generates a rubygems version string for 1.0.0.alpha.1 generates a rubygems version string for 1.0.0.beta - generates a rubygems version string for 1.0.0 - #to_s - reconstructs the initial input for 1.0.0.alpha.1 - reconstructs the initial input for 1.0.0.beta - reconstructs the initial input for 1.0.0 + generates a rubygems version string for 1.0.0.alpha.1 #to_semver_string - generates a semver version string for 1.0.0.alpha.1 generates a semver version string for 1.0.0 generates a semver version string for 1.0.0.beta - has behavior: comparable - #>= - confirms that 1.0.0 greater-than or equal to 1.0.0.alpha.1 - confirms that 1.2.3.alpha.1 greater-than or equal to 1.2.3.alpha - confirms that 3.0.0.rc.1 greater-than or equal to 3.0.0.beta.1 - confirms that 2.4.5.beta greater-than or equal to 2.4.5.alpha - confirms that 3.1.2 greater-than or equal to 3.1.2.rc.42 - confirms that 0.2.0 greater-than or equal to 0.1.0 - #< - confirms that 1.2.3.alpha is less-than 1.2.3.alpha.1 - confirms that 3.1.2.rc.42 is less-than 3.1.2 - confirms that 2.4.5.alpha is less-than 2.4.5.beta - confirms that 0.1.0 is less-than 0.2.0 - confirms that 3.0.0.beta.1 is less-than 3.0.0.rc.1 - confirms that 1.0.0.alpha.1 is less-than 1.0.0 - #<= - confirms that 3.0.0.beta.1 less-than or equal to 3.0.0.rc.1 - confirms that 1.2.3.alpha less-than or equal to 1.2.3.alpha.1 - confirms that 1.0.0.alpha.1 less-than or equal to 1.0.0 - confirms that 2.4.5.alpha less-than or equal to 2.4.5.beta - confirms that 3.1.2.rc.42 less-than or equal to 3.1.2 - confirms that 0.1.0 less-than or equal to 0.2.0 - #> - confirms that 3.1.2 is greather-than 3.1.2.rc.42 - confirms that 2.4.5.beta is greather-than 2.4.5.alpha - confirms that 1.0.0 is greather-than 1.0.0.alpha.1 - confirms that 3.0.0.rc.1 is greather-than 3.0.0.beta.1 - confirms that 0.2.0 is greather-than 0.1.0 - confirms that 1.2.3.alpha.1 is greather-than 1.2.3.alpha - #== - confirms that 0.2.0 is equal to 0.2.0 - confirms that 1.0.0 is equal to 1.0.0 - confirms that 0.1.0 is equal to 0.1.0 - confirms that 3.1.2 is equal to 3.1.2 - confirms that 1.0.0.alpha.1 is equal to 1.0.0.alpha.1 - confirms that 3.1.2.rc.42 is equal to 3.1.2.rc.42 - confirms that 1.2.3.alpha.1 is equal to 1.2.3.alpha.1 - confirms that 3.0.0.beta.1 is equal to 3.0.0.beta.1 - confirms that 2.4.5.beta is equal to 2.4.5.beta - confirms that 2.4.5.alpha is equal to 2.4.5.alpha - confirms that 1.2.3.alpha is equal to 1.2.3.alpha - confirms that 3.0.0.rc.1 is equal to 3.0.0.rc.1 - #between? - comfirms that a version is between the oldest and latest release - has behavior: filterable - filters by pre-release versions only - filters by release build versions only - filters by release versions only - filters by pre-release build versions only - filters by build versions only - has behavior: sortable - sorts all properly - finds the min - responds to <=> - finds the max + generates a semver version string for 1.0.0.alpha.1 has behavior: parses valid version strings - 10.1.1.alpha.1 + 11.0.8.rc.3 + major + is expected to eq 11 + patch + is expected to eq 8 + prerelease + is expected to eq "rc.3" + prerelease_build? + is expected to eq false prerelease? is expected to eq true build? is expected to eq false - prerelease_build? - is expected to eq false minor - is expected to eq 1 - build - is expected to eq nil - patch - is expected to eq 1 - iteration is expected to eq 0 - major - is expected to eq 10 - prerelease - is expected to eq "alpha.1" release? is expected to eq false release_build? is expected to eq false - 11.0.8-33 - major - is expected to eq 11 - prerelease_build? - is expected to eq false - minor + iteration is expected to eq 0 build is expected to eq nil - patch - is expected to eq 8 - prerelease? + 10.1.1.alpha.1 + prerelease_build? is expected to eq false - prerelease - is expected to eq nil - release_build? + patch + is expected to eq 1 + build? is expected to eq false + minor + is expected to eq 1 release? - is expected to eq true - build? is expected to eq false - iteration - is expected to eq 33 - 11.0.8.rc.3 - build? + prerelease + is expected to eq "alpha.1" + release_build? is expected to eq false + major + is expected to eq 10 build is expected to eq nil + prerelease? + is expected to eq true iteration is expected to eq 0 - major - is expected to eq 11 - release? + 11.0.8.rc.3-1 + build? is expected to eq false - minor - is expected to eq 0 - prerelease? - is expected to eq true - patch - is expected to eq 8 - prerelease - is expected to eq "rc.3" prerelease_build? is expected to eq false - release_build? + prerelease? + is expected to eq true + release? is expected to eq false - 11.0.8.rc.3-1 - patch - is expected to eq 8 build is expected to eq nil - build? + minor + is expected to eq 0 + release_build? is expected to eq false - iteration - is expected to eq 1 prerelease is expected to eq "rc.3" - minor - is expected to eq 0 - prerelease? - is expected to eq true major is expected to eq 11 - release_build? + iteration + is expected to eq 1 + patch + is expected to eq 8 + 11.0.8-33 + build? is expected to eq false - release? + release_build? is expected to eq false prerelease_build? is expected to eq false - 10.1.1 - release_build? - is expected to eq false + build + is expected to eq nil + prerelease + is expected to eq nil + release? + is expected to eq true patch - is expected to eq 1 + is expected to eq 8 + prerelease? + is expected to eq false major - is expected to eq 10 + is expected to eq 11 + minor + is expected to eq 0 + iteration + is expected to eq 33 + 10.1.1 prerelease is expected to eq nil + release? + is expected to eq true prerelease? is expected to eq false + release_build? + is expected to eq false + build + is expected to eq nil build? is expected to eq false minor is expected to eq 1 - build - is expected to eq nil + major + is expected to eq 10 iteration is expected to eq 0 + patch + is expected to eq 1 prerelease_build? is expected to eq false - release? - is expected to eq true - it should behave like Basic SemVer - has behavior: rejects invalid version strings - 1.1.a - fails because: non-numeric PATCH - a.1.1 - fails because: non-numeric MAJOR - 1.a.1 - fails because: non-numeric MINOR - has behavior: parses valid version strings - 1.2.3 - build - is expected to eq nil - prerelease - is expected to eq nil - build? - is expected to eq false - patch - is expected to eq 3 - major - is expected to eq 1 - minor - is expected to eq 2 - release? - is expected to eq true - prerelease? - is expected to eq false - prerelease_build? - is expected to eq false - release_build? - is expected to eq false has behavior: rejects invalid version strings 1.1.1-rutro fails because: dash for pre-release delimeter - -Mixlib::Versioning::Format - #initialize -WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/reproducible-path/ruby-mixlib-versioning-1.1.0/spec/mixlib/versioning/format_spec.rb:27:in `block (3 levels) in '. - descendants must override #parse - .for - format_type is a: #{format_type.class} - returns the correct format class - format_type is a: #{format_type.class} - returns the correct format class - format_type is a: #{format_type.class} - returns the correct format class - unknown format_type - format_type is a: #{invalid_format_type.class} - raises a Mixlib::Versioning::UnknownFormatError - format_type is a: #{invalid_format_type.class} - raises a Mixlib::Versioning::UnknownFormatError - format_type is a: #{invalid_format_type.class} - raises a Mixlib::Versioning::UnknownFormatError - -Mixlib::Versioning::Format::GitDescribe has behavior: sortable - finds the min - sorts all properly finds the max + finds the min responds to <=> - has behavior: serializable - #to_s - reconstructs the initial input for 10.20.2-2-gbbbbbbb-1 - reconstructs the initial input for 9.0.1-2-gdeadbe1-1 - reconstructs the initial input for 10.20.2-3-gaaaaaaa-1 - reconstructs the initial input for 10.5.7-2-g21353f0-1 - reconstructs the initial input for 9.1.2-2-g1234567-1 - reconstructs the initial input for 10.0.0-1-gabcdef3-1 - reconstructs the initial input for 9.0.1-1-gdeadbee-1 - reconstructs the initial input for 9.0.1-2-gdeadbe2-1 - reconstructs the initial input for 9.0.1-2-gdeadbe1-2 - reconstructs the initial input for 9.1.1-2-g1234567-1 - #to_semver_string - generates a semver version string for 10.20.2-2-gbbbbbbb-1 - generates a semver version string for 9.1.1-2-g1234567-1 - generates a semver version string for 9.0.1-2-gdeadbe2-1 - generates a semver version string for 9.0.1-1-gdeadbee-1 - generates a semver version string for 10.5.7-2-g21353f0-1 - generates a semver version string for 10.20.2-3-gaaaaaaa-1 - generates a semver version string for 9.0.1-2-gdeadbe1-2 - generates a semver version string for 10.0.0-1-gabcdef3-1 - generates a semver version string for 9.0.1-2-gdeadbe1-1 - generates a semver version string for 9.1.2-2-g1234567-1 - #to_rubygems_string - generates a rubygems version string for 10.5.7-2-g21353f0-1 - generates a rubygems version string for 10.0.0-1-gabcdef3-1 - generates a rubygems version string for 9.0.1-1-gdeadbee-1 - generates a rubygems version string for 9.1.1-2-g1234567-1 - generates a rubygems version string for 10.20.2-3-gaaaaaaa-1 - generates a rubygems version string for 9.0.1-2-gdeadbe2-1 - generates a rubygems version string for 10.20.2-2-gbbbbbbb-1 - generates a rubygems version string for 9.0.1-2-gdeadbe1-2 - generates a rubygems version string for 9.1.2-2-g1234567-1 - generates a rubygems version string for 9.0.1-2-gdeadbe1-1 + sorts all properly has behavior: comparable - #<= - confirms that 9.1.1-2-g1234567-1 less-than or equal to 9.1.2-2-g1234567-1 - confirms that 9.0.1-1-gdeadbee-1 less-than or equal to 9.0.1-2-gdeadbe1-1 - confirms that 10.20.2-2-gbbbbbbb-1 less-than or equal to 10.20.2-3-gaaaaaaa-1 - confirms that 10.0.0-1-gabcdef3-1 less-than or equal to 10.5.7-2-g21353f0-1 - confirms that 9.0.1-2-gdeadbe1-2 less-than or equal to 9.0.1-2-gdeadbe2-1 + #between? + comfirms that a version is between the oldest and latest release #== - confirms that 10.5.7-2-g21353f0-1 is equal to 10.5.7-2-g21353f0-1 - confirms that 9.1.2-2-g1234567-1 is equal to 9.1.2-2-g1234567-1 - confirms that 10.20.2-3-gaaaaaaa-1 is equal to 10.20.2-3-gaaaaaaa-1 - confirms that 10.0.0-1-gabcdef3-1 is equal to 10.0.0-1-gabcdef3-1 - confirms that 9.0.1-2-gdeadbe2-1 is equal to 9.0.1-2-gdeadbe2-1 - confirms that 9.0.1-2-gdeadbe1-1 is equal to 9.0.1-2-gdeadbe1-1 - confirms that 10.20.2-2-gbbbbbbb-1 is equal to 10.20.2-2-gbbbbbbb-1 - confirms that 9.0.1-1-gdeadbee-1 is equal to 9.0.1-1-gdeadbee-1 - confirms that 9.0.1-2-gdeadbe1-2 is equal to 9.0.1-2-gdeadbe1-2 - confirms that 9.1.1-2-g1234567-1 is equal to 9.1.1-2-g1234567-1 + confirms that 3.0.0.beta.1 is equal to 3.0.0.beta.1 + confirms that 3.0.0.rc.1 is equal to 3.0.0.rc.1 + confirms that 2.4.5.alpha is equal to 2.4.5.alpha + confirms that 3.1.2.rc.42 is equal to 3.1.2.rc.42 + confirms that 2.4.5.beta is equal to 2.4.5.beta + confirms that 1.0.0 is equal to 1.0.0 + confirms that 3.1.2 is equal to 3.1.2 + confirms that 1.2.3.alpha is equal to 1.2.3.alpha + confirms that 1.2.3.alpha.1 is equal to 1.2.3.alpha.1 + confirms that 0.1.0 is equal to 0.1.0 + confirms that 1.0.0.alpha.1 is equal to 1.0.0.alpha.1 + confirms that 0.2.0 is equal to 0.2.0 + #<= + confirms that 3.1.2.rc.42 less-than or equal to 3.1.2 + confirms that 0.1.0 less-than or equal to 0.2.0 + confirms that 1.2.3.alpha less-than or equal to 1.2.3.alpha.1 + confirms that 3.0.0.beta.1 less-than or equal to 3.0.0.rc.1 + confirms that 1.0.0.alpha.1 less-than or equal to 1.0.0 + confirms that 2.4.5.alpha less-than or equal to 2.4.5.beta #> - confirms that 9.1.2-2-g1234567-1 is greather-than 9.1.1-2-g1234567-1 - confirms that 9.0.1-2-gdeadbe2-1 is greather-than 9.0.1-2-gdeadbe1-2 - confirms that 10.5.7-2-g21353f0-1 is greather-than 10.0.0-1-gabcdef3-1 - confirms that 9.0.1-2-gdeadbe1-1 is greather-than 9.0.1-1-gdeadbee-1 - confirms that 10.20.2-3-gaaaaaaa-1 is greather-than 10.20.2-2-gbbbbbbb-1 + confirms that 3.1.2 is greather-than 3.1.2.rc.42 + confirms that 3.0.0.rc.1 is greather-than 3.0.0.beta.1 + confirms that 0.2.0 is greather-than 0.1.0 + confirms that 1.2.3.alpha.1 is greather-than 1.2.3.alpha + confirms that 2.4.5.beta is greather-than 2.4.5.alpha + confirms that 1.0.0 is greather-than 1.0.0.alpha.1 #>= - confirms that 10.20.2-3-gaaaaaaa-1 greater-than or equal to 10.20.2-2-gbbbbbbb-1 - confirms that 9.0.1-2-gdeadbe2-1 greater-than or equal to 9.0.1-2-gdeadbe1-2 - confirms that 9.0.1-2-gdeadbe1-1 greater-than or equal to 9.0.1-1-gdeadbee-1 - confirms that 10.5.7-2-g21353f0-1 greater-than or equal to 10.0.0-1-gabcdef3-1 - confirms that 9.1.2-2-g1234567-1 greater-than or equal to 9.1.1-2-g1234567-1 - #between? - comfirms that a version is between the oldest and latest release + confirms that 1.0.0 greater-than or equal to 1.0.0.alpha.1 + confirms that 1.2.3.alpha.1 greater-than or equal to 1.2.3.alpha + confirms that 0.2.0 greater-than or equal to 0.1.0 + confirms that 2.4.5.beta greater-than or equal to 2.4.5.alpha + confirms that 3.0.0.rc.1 greater-than or equal to 3.0.0.beta.1 + confirms that 3.1.2 greater-than or equal to 3.1.2.rc.42 #< - confirms that 10.0.0-1-gabcdef3-1 is less-than 10.5.7-2-g21353f0-1 - confirms that 9.0.1-1-gdeadbee-1 is less-than 9.0.1-2-gdeadbe1-1 - confirms that 9.0.1-2-gdeadbe1-2 is less-than 9.0.1-2-gdeadbe2-1 - confirms that 10.20.2-2-gbbbbbbb-1 is less-than 10.20.2-3-gaaaaaaa-1 - confirms that 9.1.1-2-g1234567-1 is less-than 9.1.2-2-g1234567-1 + confirms that 3.0.0.beta.1 is less-than 3.0.0.rc.1 + confirms that 0.1.0 is less-than 0.2.0 + confirms that 1.2.3.alpha is less-than 1.2.3.alpha.1 + confirms that 3.1.2.rc.42 is less-than 3.1.2 + confirms that 1.0.0.alpha.1 is less-than 1.0.0 + confirms that 2.4.5.alpha is less-than 2.4.5.beta + has behavior: filterable + filters by pre-release build versions only + filters by build versions only + filters by release build versions only + filters by release versions only + filters by pre-release versions only + +Mixlib::Versioning::Format::GitDescribe + has behavior: sortable + finds the max + sorts all properly + finds the min + responds to <=> + has behavior: filterable + filters by pre-release versions only + filters by build versions only + filters by pre-release build versions only + filters by release versions only + filters by release build versions only has behavior: parses valid version strings - 10.16.2-49-g21353f0-1 - release? - is expected to eq false + 0.10.8-231-g59d6185 + minor + is expected to eq 10 + build + is expected to eq "231.g59d6185.0" iteration - is expected to eq 1 + is expected to eq 0 major - is expected to eq 10 - patch - is expected to eq 2 + is expected to eq 0 + release_build? + is expected to eq true + prerelease? + is expected to eq false prerelease is expected to eq nil - build - is expected to eq "49.g21353f0.1" - prerelease_build? + commits_since + is expected to eq 231 + release? is expected to eq false build? is expected to eq true - minor - is expected to eq 16 + prerelease_build? + is expected to eq false + commit_sha + is expected to eq "59d6185" + patch + is expected to eq 8 + 10.16.2-alpha-49-g21353f0-1 + build + is expected to eq "49.g21353f0.1" prerelease? is expected to eq false + release? + is expected to eq false + patch + is expected to eq 2 + commits_since + is expected to eq 49 release_build? - is expected to eq true + is expected to eq false commit_sha is expected to eq "21353f0" - commits_since - is expected to eq 49 - 10.16.2-alpha-49-g21353f0-1 + prerelease_build? + is expected to eq true + major + is expected to eq 10 + prerelease + is expected to eq "alpha" + minor + is expected to eq 16 iteration is expected to eq 1 + build? + is expected to eq true + 10.16.2-49-g21353f0-1 + commit_sha + is expected to eq "21353f0" + patch + is expected to eq 2 build is expected to eq "49.g21353f0.1" - major - is expected to eq 10 prerelease? is expected to eq false - prerelease - is expected to eq "alpha" - release_build? + prerelease_build? is expected to eq false commits_since is expected to eq 49 - prerelease_build? + iteration + is expected to eq 1 + release_build? is expected to eq true build? is expected to eq true + prerelease + is expected to eq nil + major + is expected to eq 10 minor is expected to eq 16 release? is expected to eq false - commit_sha - is expected to eq "21353f0" + 10.16.2.rc.1-49-g21353f0-1 patch is expected to eq 2 - 10.16.2-alpha-49-g21353f0 - minor - is expected to eq 16 - build? - is expected to eq true - prerelease? - is expected to eq false - commits_since - is expected to eq 49 major is expected to eq 10 + prerelease_build? + is expected to eq true prerelease - is expected to eq "alpha" + is expected to eq "rc.1" commit_sha is expected to eq "21353f0" - prerelease_build? + minor + is expected to eq 16 + build? is expected to eq true + iteration + is expected to eq 1 release? is expected to eq false - iteration - is expected to eq 0 build - is expected to eq "49.g21353f0.0" - patch - is expected to eq 2 + is expected to eq "49.g21353f0.1" release_build? is expected to eq false - 0.10.8-231-g59d6185 - prerelease_build? - is expected to eq false - iteration - is expected to eq 0 prerelease? is expected to eq false - prerelease - is expected to eq nil - patch - is expected to eq 8 commits_since - is expected to eq 231 + is expected to eq 49 + 10.16.2-alpha-49-g21353f0 + commit_sha + is expected to eq "21353f0" + prerelease + is expected to eq "alpha" minor - is expected to eq 10 - build? + is expected to eq 16 + prerelease_build? is expected to eq true - major - is expected to eq 0 - commit_sha - is expected to eq "59d6185" release? is expected to eq false - release_build? + commits_since + is expected to eq 49 + build? is expected to eq true - build - is expected to eq "231.g59d6185.0" - 10.16.2.rc.1-49-g21353f0-1 - release? - is expected to eq false major is expected to eq 10 - commit_sha - is expected to eq "21353f0" - iteration - is expected to eq 1 - prerelease? + release_build? is expected to eq false + iteration + is expected to eq 0 patch is expected to eq 2 - release_build? - is expected to eq false build - is expected to eq "49.g21353f0.1" - build? - is expected to eq true - prerelease_build? - is expected to eq true - prerelease - is expected to eq "rc.1" - minor - is expected to eq 16 - commits_since - is expected to eq 49 + is expected to eq "49.g21353f0.0" + prerelease? + is expected to eq false has behavior: rejects invalid version strings + 1.0.0-123-gdeadbe-1 + fails because: too few SHA1 characters + 1.0.0 + fails because: no git describe data 1.0.0-g1234567-1 fails because: missing 'commits_since' - 1.0.0-123-gNOTHEX1-1 - fails because: illegal SHA1 characters 1.0.0-alpha.1+build.deadbeef fails because: no git describe data 1.0.0-123-1 fails because: missing SHA1 - 1.0.0-123-gdeadbe-1 - fails because: too few SHA1 characters + 1.0.0-123-g1234567-alpha + fails because: non-numeric iteration 1.0.0-123-gfd0e3a65282cb5f6df3bab6a53f4fcb722340d499-1 fails because: too many SHA1 characters + 1.0.0-123-gNOTHEX1-1 + fails because: illegal SHA1 characters 1.0.0-alpha-poop-g1234567-1 fails because: non-numeric 'commits_since' - 1.0.0 - fails because: no git describe data 1.0.0-alpha.1 fails because: no git describe data - 1.0.0-123-g1234567-alpha - fails because: non-numeric iteration - has behavior: filterable - filters by release build versions only - filters by release versions only - filters by pre-release build versions only - filters by pre-release versions only - filters by build versions only - -Mixlib::Versioning - .parse - parsing with automatic format detection - 11.0.8.rc.1-1 - parses version string as: Mixlib::Versioning::Format::Rubygems - version_string cannot be parsed - returns nil - 12.1.1+20130311134422 - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 12.1.1-rc.3+20130311134422 - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 10.18.2.poop - parses version string as: Mixlib::Versioning::Format::Rubygems - 11.0.8 - parses version string as: Mixlib::Versioning::Format::SemVer - 11.0.8.rc.1 - parses version string as: Mixlib::Versioning::Format::Rubygems - 11.0.8-rc.1 - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 10.16.2-49-g21353f0-1 - parses version string as: Mixlib::Versioning::Format::GitDescribe - 12.1.1+20130308110833.git.2.94a1dde - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 10.18.2.poop-1 - parses version string as: Mixlib::Versioning::Format::Rubygems - 11.0.8-1 - parses version string as: Mixlib::Versioning::Format::SemVer - 10.16.2-rc.2-49-g21353f0 - parses version string as: Mixlib::Versioning::Format::GitDescribe - 10.18.2-poop - parses version string as: Mixlib::Versioning::Format::SemVer - 10.16.2.rc.2-49-g21353f0 - parses version string as: Mixlib::Versioning::Format::GitDescribe - 10.18.2 - parses version string as: Mixlib::Versioning::Format::SemVer - 10.16.2-49-g21353f0 - parses version string as: Mixlib::Versioning::Format::GitDescribe - parsing an Mixlib::Versioning::Format object - returns the same object - when formats are given - when the format is in the list - returns nil when the array contains a symbol - returns nil when the array contains a string - returns nil when the array contains a Mixlib::Versioning::Format - when the format is not in the list - returns nil when the array contains a Mixlib::Versioning::Format - returns nil when the array contains a symbol - returns nil when the array contains a string - parsing when format type is specified - 11.1.1-alpha.1 as Mixlib::Versioning::Format::OpscodeSemVer - format type as a: Symbol - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - format type as a: Class - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - format type as a: String - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - invalid format type specified - invalid format as a: Class - raises a Mixlib::Versioning::UnknownFormatError - invalid format as a: String - raises a Mixlib::Versioning::UnknownFormatError - invalid format as a: Symbol - raises a Mixlib::Versioning::UnknownFormatError - 11.1.1-rc.2 as Mixlib::Versioning::Format::SemVer - format type as a: Symbol - parses version string as: Mixlib::Versioning::Format::SemVer - format type as a: Class - parses version string as: Mixlib::Versioning::Format::SemVer - format type as a: String - parses version string as: Mixlib::Versioning::Format::SemVer - 11.1.1 as Mixlib::Versioning::Format::Rubygems - format type as a: String - parses version string as: Mixlib::Versioning::Format::Rubygems - format type as a: Symbol - parses version string as: Mixlib::Versioning::Format::Rubygems - format type as a: Class - parses version string as: Mixlib::Versioning::Format::Rubygems - 11.0.8 as Mixlib::Versioning::Format::SemVer - format type as a: Class - parses version string as: Mixlib::Versioning::Format::SemVer - format type as a: String - parses version string as: Mixlib::Versioning::Format::SemVer - format type as a: Symbol - parses version string as: Mixlib::Versioning::Format::SemVer - 11.1.1.alpha.1 as Mixlib::Versioning::Format::Rubygems - format type as a: Class - parses version string as: Mixlib::Versioning::Format::Rubygems - format type as a: Symbol - parses version string as: Mixlib::Versioning::Format::Rubygems - format type as a: String - parses version string as: Mixlib::Versioning::Format::Rubygems - .find_target_version - filter version of: - finds the most recent release version - include build versions - finds the most recent build version - include pre-release versions - finds the most recent pre-release version - include pre-release and build versions - finds the most recent pre-release build version - filter version of: 11.0.0 - finds the most recent release version - include build versions - finds the most recent build version - include pre-release and build versions - finds the most recent pre-release build version - include pre-release versions - finds the most recent pre-release version - filter_version argument is an instance of Mixlib::Versioning::Format - finds the correct version - filter version of: 11.0.2-alpha.0 - finds the most recent release version - include pre-release and build versions - finds the most recent pre-release build version - include pre-release versions - finds the most recent pre-release version - include build versions - finds the most recent build version - all_versions argument is a mix of String and Mixlib::Versioning::Format instances - correctly parses the array - filter version of: 11.0.2 - finds the most recent release version - include build versions - finds the most recent build version - include pre-release versions - finds the most recent pre-release version - include pre-release and build versions - finds the most recent pre-release build version - -Deprecation Warnings: - -RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values= is deprecated, it is now set to true as default and setting it to false has no effect. - - -If you need more of the backtrace for any of these deprecations to -identify where to make the necessary changes, you can configure -`config.raise_errors_for_deprecations!`, and it will turn the -deprecation warnings into errors, giving you the full backtrace. - -1 deprecation warning total - -Finished in 0.22837 seconds (files took 0.3923 seconds to load) -594 examples, 0 failures - -Randomized with seed 5145 - -/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner - -┌──────────────────────────────────────────────────────────────────────────────┐ -│ Checking Rubygems dependency resolution on ruby3.3 │ -└──────────────────────────────────────────────────────────────────────────────┘ - -RUBYLIB=/build/reproducible-path/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/share/rubygems-integration/all:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -e gem\ \"mixlib-versioning\" - -┌──────────────────────────────────────────────────────────────────────────────┐ -│ Run tests for ruby3.3 from debian/ruby-tests.rake │ -└──────────────────────────────────────────────────────────────────────────────┘ - -RUBYLIB=/build/reproducible-path/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/share/rubygems-integration/all:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake -/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation -/build/reproducible-path/ruby-mixlib-versioning-1.1.0/spec/mixlib/versioning/versioning_spec.rb:202: warning: key "11.0.2" is duplicated and overwritten on line 208 -Run options: include {:focus=>true} - -All examples were filtered out; ignoring {:focus=>true} - -Randomized with seed 1510 - -Mixlib::Versioning::Format::GitDescribe - has behavior: filterable - filters by release build versions only - filters by release versions only - filters by build versions only - filters by pre-release versions only - filters by pre-release build versions only - has behavior: sortable - sorts all properly - responds to <=> - finds the max - finds the min has behavior: serializable + #to_semver_string + generates a semver version string for 9.0.1-1-gdeadbee-1 + generates a semver version string for 10.20.2-3-gaaaaaaa-1 + generates a semver version string for 9.1.1-2-g1234567-1 + generates a semver version string for 9.0.1-2-gdeadbe1-2 + generates a semver version string for 9.0.1-2-gdeadbe1-1 + generates a semver version string for 10.20.2-2-gbbbbbbb-1 + generates a semver version string for 9.0.1-2-gdeadbe2-1 + generates a semver version string for 9.1.2-2-g1234567-1 + generates a semver version string for 10.5.7-2-g21353f0-1 + generates a semver version string for 10.0.0-1-gabcdef3-1 #to_s - reconstructs the initial input for 9.0.1-1-gdeadbee-1 - reconstructs the initial input for 10.5.7-2-g21353f0-1 - reconstructs the initial input for 9.0.1-2-gdeadbe1-2 reconstructs the initial input for 10.20.2-2-gbbbbbbb-1 - reconstructs the initial input for 9.1.2-2-g1234567-1 reconstructs the initial input for 9.0.1-2-gdeadbe2-1 + reconstructs the initial input for 9.1.2-2-g1234567-1 reconstructs the initial input for 9.0.1-2-gdeadbe1-1 + reconstructs the initial input for 9.0.1-1-gdeadbee-1 reconstructs the initial input for 9.1.1-2-g1234567-1 - reconstructs the initial input for 10.20.2-3-gaaaaaaa-1 reconstructs the initial input for 10.0.0-1-gabcdef3-1 - #to_semver_string - generates a semver version string for 9.0.1-2-gdeadbe1-1 - generates a semver version string for 9.0.1-2-gdeadbe2-1 - generates a semver version string for 10.20.2-2-gbbbbbbb-1 - generates a semver version string for 9.0.1-2-gdeadbe1-2 - generates a semver version string for 10.5.7-2-g21353f0-1 - generates a semver version string for 9.1.2-2-g1234567-1 - generates a semver version string for 9.1.1-2-g1234567-1 - generates a semver version string for 9.0.1-1-gdeadbee-1 - generates a semver version string for 10.0.0-1-gabcdef3-1 - generates a semver version string for 10.20.2-3-gaaaaaaa-1 + reconstructs the initial input for 10.5.7-2-g21353f0-1 + reconstructs the initial input for 10.20.2-3-gaaaaaaa-1 + reconstructs the initial input for 9.0.1-2-gdeadbe1-2 #to_rubygems_string generates a rubygems version string for 10.20.2-3-gaaaaaaa-1 - generates a rubygems version string for 10.0.0-1-gabcdef3-1 - generates a rubygems version string for 10.20.2-2-gbbbbbbb-1 - generates a rubygems version string for 9.0.1-1-gdeadbee-1 generates a rubygems version string for 10.5.7-2-g21353f0-1 + generates a rubygems version string for 9.1.1-2-g1234567-1 generates a rubygems version string for 9.0.1-2-gdeadbe2-1 - generates a rubygems version string for 9.0.1-2-gdeadbe1-2 + generates a rubygems version string for 9.0.1-1-gdeadbee-1 + generates a rubygems version string for 10.0.0-1-gabcdef3-1 generates a rubygems version string for 9.1.2-2-g1234567-1 + generates a rubygems version string for 10.20.2-2-gbbbbbbb-1 + generates a rubygems version string for 9.0.1-2-gdeadbe1-2 generates a rubygems version string for 9.0.1-2-gdeadbe1-1 - generates a rubygems version string for 9.1.1-2-g1234567-1 - has behavior: parses valid version strings - 10.16.2-alpha-49-g21353f0-1 - release_build? - is expected to eq false - release? - is expected to eq false - commits_since - is expected to eq 49 - build? - is expected to eq true - prerelease? - is expected to eq false - minor - is expected to eq 16 - prerelease_build? - is expected to eq true - patch - is expected to eq 2 - major - is expected to eq 10 - build - is expected to eq "49.g21353f0.1" - iteration - is expected to eq 1 - prerelease - is expected to eq "alpha" - commit_sha - is expected to eq "21353f0" - 10.16.2-alpha-49-g21353f0 - build? - is expected to eq true - prerelease? - is expected to eq false - major - is expected to eq 10 - patch - is expected to eq 2 - prerelease_build? - is expected to eq true - commit_sha - is expected to eq "21353f0" - commits_since - is expected to eq 49 - minor - is expected to eq 16 - build - is expected to eq "49.g21353f0.0" - release_build? - is expected to eq false - prerelease - is expected to eq "alpha" - release? - is expected to eq false - iteration - is expected to eq 0 - 10.16.2.rc.1-49-g21353f0-1 - commit_sha - is expected to eq "21353f0" - prerelease - is expected to eq "rc.1" - build? - is expected to eq true - iteration - is expected to eq 1 - release? - is expected to eq false - prerelease_build? - is expected to eq true - minor - is expected to eq 16 - release_build? - is expected to eq false - major - is expected to eq 10 - build - is expected to eq "49.g21353f0.1" - patch - is expected to eq 2 - commits_since - is expected to eq 49 - prerelease? - is expected to eq false - 10.16.2-49-g21353f0-1 - patch - is expected to eq 2 - build - is expected to eq "49.g21353f0.1" - commits_since - is expected to eq 49 - iteration - is expected to eq 1 - major - is expected to eq 10 - prerelease_build? - is expected to eq false - release_build? - is expected to eq true - commit_sha - is expected to eq "21353f0" - release? - is expected to eq false - prerelease - is expected to eq nil - build? - is expected to eq true - prerelease? - is expected to eq false - minor - is expected to eq 16 - 0.10.8-231-g59d6185 - minor - is expected to eq 10 - prerelease_build? - is expected to eq false - prerelease - is expected to eq nil - release? - is expected to eq false - build? - is expected to eq true - prerelease? - is expected to eq false - major - is expected to eq 0 - patch - is expected to eq 8 - commit_sha - is expected to eq "59d6185" - build - is expected to eq "231.g59d6185.0" - release_build? - is expected to eq true - commits_since - is expected to eq 231 - iteration - is expected to eq 0 has behavior: comparable - #between? - comfirms that a version is between the oldest and latest release - #< - confirms that 9.0.1-1-gdeadbee-1 is less-than 9.0.1-2-gdeadbe1-1 - confirms that 9.1.1-2-g1234567-1 is less-than 9.1.2-2-g1234567-1 - confirms that 10.0.0-1-gabcdef3-1 is less-than 10.5.7-2-g21353f0-1 - confirms that 9.0.1-2-gdeadbe1-2 is less-than 9.0.1-2-gdeadbe2-1 - confirms that 10.20.2-2-gbbbbbbb-1 is less-than 10.20.2-3-gaaaaaaa-1 #== - confirms that 9.0.1-1-gdeadbee-1 is equal to 9.0.1-1-gdeadbee-1 + confirms that 9.0.1-2-gdeadbe1-2 is equal to 9.0.1-2-gdeadbe1-2 confirms that 10.20.2-2-gbbbbbbb-1 is equal to 10.20.2-2-gbbbbbbb-1 + confirms that 10.0.0-1-gabcdef3-1 is equal to 10.0.0-1-gabcdef3-1 confirms that 10.20.2-3-gaaaaaaa-1 is equal to 10.20.2-3-gaaaaaaa-1 - confirms that 9.1.2-2-g1234567-1 is equal to 9.1.2-2-g1234567-1 - confirms that 9.0.1-2-gdeadbe2-1 is equal to 9.0.1-2-gdeadbe2-1 - confirms that 9.0.1-2-gdeadbe1-1 is equal to 9.0.1-2-gdeadbe1-1 - confirms that 9.0.1-2-gdeadbe1-2 is equal to 9.0.1-2-gdeadbe1-2 + confirms that 9.0.1-1-gdeadbee-1 is equal to 9.0.1-1-gdeadbee-1 confirms that 10.5.7-2-g21353f0-1 is equal to 10.5.7-2-g21353f0-1 - confirms that 10.0.0-1-gabcdef3-1 is equal to 10.0.0-1-gabcdef3-1 confirms that 9.1.1-2-g1234567-1 is equal to 9.1.1-2-g1234567-1 - #<= - confirms that 9.1.1-2-g1234567-1 less-than or equal to 9.1.2-2-g1234567-1 - confirms that 9.0.1-2-gdeadbe1-2 less-than or equal to 9.0.1-2-gdeadbe2-1 - confirms that 10.20.2-2-gbbbbbbb-1 less-than or equal to 10.20.2-3-gaaaaaaa-1 - confirms that 10.0.0-1-gabcdef3-1 less-than or equal to 10.5.7-2-g21353f0-1 - confirms that 9.0.1-1-gdeadbee-1 less-than or equal to 9.0.1-2-gdeadbe1-1 + confirms that 9.0.1-2-gdeadbe1-1 is equal to 9.0.1-2-gdeadbe1-1 + confirms that 9.1.2-2-g1234567-1 is equal to 9.1.2-2-g1234567-1 + confirms that 9.0.1-2-gdeadbe2-1 is equal to 9.0.1-2-gdeadbe2-1 #> - confirms that 9.0.1-2-gdeadbe1-1 is greather-than 9.0.1-1-gdeadbee-1 - confirms that 9.1.2-2-g1234567-1 is greather-than 9.1.1-2-g1234567-1 + confirms that 10.20.2-3-gaaaaaaa-1 is greather-than 10.20.2-2-gbbbbbbb-1 confirms that 9.0.1-2-gdeadbe2-1 is greather-than 9.0.1-2-gdeadbe1-2 confirms that 10.5.7-2-g21353f0-1 is greather-than 10.0.0-1-gabcdef3-1 - confirms that 10.20.2-3-gaaaaaaa-1 is greather-than 10.20.2-2-gbbbbbbb-1 + confirms that 9.1.2-2-g1234567-1 is greather-than 9.1.1-2-g1234567-1 + confirms that 9.0.1-2-gdeadbe1-1 is greather-than 9.0.1-1-gdeadbee-1 #>= confirms that 10.5.7-2-g21353f0-1 greater-than or equal to 10.0.0-1-gabcdef3-1 - confirms that 9.0.1-2-gdeadbe1-1 greater-than or equal to 9.0.1-1-gdeadbee-1 confirms that 9.1.2-2-g1234567-1 greater-than or equal to 9.1.1-2-g1234567-1 confirms that 9.0.1-2-gdeadbe2-1 greater-than or equal to 9.0.1-2-gdeadbe1-2 + confirms that 9.0.1-2-gdeadbe1-1 greater-than or equal to 9.0.1-1-gdeadbee-1 confirms that 10.20.2-3-gaaaaaaa-1 greater-than or equal to 10.20.2-2-gbbbbbbb-1 - has behavior: rejects invalid version strings - 1.0.0-123-1 - fails because: missing SHA1 - 1.0.0-123-gNOTHEX1-1 - fails because: illegal SHA1 characters - 1.0.0-g1234567-1 - fails because: missing 'commits_since' - 1.0.0 - fails because: no git describe data - 1.0.0-123-gdeadbe-1 - fails because: too few SHA1 characters - 1.0.0-alpha.1 - fails because: no git describe data - 1.0.0-alpha-poop-g1234567-1 - fails because: non-numeric 'commits_since' - 1.0.0-123-gfd0e3a65282cb5f6df3bab6a53f4fcb722340d499-1 - fails because: too many SHA1 characters - 1.0.0-123-g1234567-alpha - fails because: non-numeric iteration - 1.0.0-alpha.1+build.deadbeef - fails because: no git describe data + #between? + comfirms that a version is between the oldest and latest release + #<= + confirms that 9.0.1-2-gdeadbe1-2 less-than or equal to 9.0.1-2-gdeadbe2-1 + confirms that 10.20.2-2-gbbbbbbb-1 less-than or equal to 10.20.2-3-gaaaaaaa-1 + confirms that 10.0.0-1-gabcdef3-1 less-than or equal to 10.5.7-2-g21353f0-1 + confirms that 9.1.1-2-g1234567-1 less-than or equal to 9.1.2-2-g1234567-1 + confirms that 9.0.1-1-gdeadbee-1 less-than or equal to 9.0.1-2-gdeadbe1-1 + #< + confirms that 9.0.1-2-gdeadbe1-2 is less-than 9.0.1-2-gdeadbe2-1 + confirms that 9.1.1-2-g1234567-1 is less-than 9.1.2-2-g1234567-1 + confirms that 9.0.1-1-gdeadbee-1 is less-than 9.0.1-2-gdeadbe1-1 + confirms that 10.20.2-2-gbbbbbbb-1 is less-than 10.20.2-3-gaaaaaaa-1 + confirms that 10.0.0-1-gabcdef3-1 is less-than 10.5.7-2-g21353f0-1 Mixlib::Versioning::Format::SemVer + has behavior: sortable + responds to <=> + finds the min + finds the max + sorts all properly it should behave like Mixlib::Versioning::Format::SemVer + it should behave like Basic SemVer + has behavior: rejects invalid version strings + 1.a.1 + fails because: non-numeric MINOR + a.1.1 + fails because: non-numeric MAJOR + 1.1.a + fails because: non-numeric PATCH + has behavior: parses valid version strings + 1.2.3 + patch + is expected to eq 3 + prerelease_build? + is expected to eq false + major + is expected to eq 1 + release_build? + is expected to eq false + minor + is expected to eq 2 + build? + is expected to eq false + build + is expected to eq nil + prerelease? + is expected to eq false + prerelease + is expected to eq nil + release? + is expected to eq true has behavior: rejects invalid version strings - 12.0005.1-alpha.12 + 1.0.0-alpha.01 fails because: leading zero invalid - 1.01.1 + 6.4.8-alpha.1.2.3+build. + fails because: empty build identifier + 1.0.0-01.02.03 fails because: leading zero invalid - 1.0.0-alpha.01 + 007.2.3-rc.1+build.16 fails because: leading zero invalid 6.3.1+ fails because: empty build identifier - 12.2.10-beta.00000017 + 01.1.1 fails because: leading zero invalid - 1.0.0- + 12.0005.1-alpha.12 + fails because: leading zero invalid + 1.0.0-alpha.. fails because: empty prerelease identifier 8.8.8.8 fails because: too many segments: MAJOR.MINOR.PATCH.EXTRA - 4.0.000000000002-alpha.1 - fails because: leading zero invalid - 6.4.8-alpha.1.2.3+build. - fails because: empty build identifier - 1.0.0-01.02.03 + 1.1.01 fails because: leading zero invalid - 01.1.1 + 12.2.10-beta.00000017 fails because: leading zero invalid - 007.2.3-rc.1+build.16 + 4.0.000000000002-alpha.1 fails because: leading zero invalid - 1.0.0-alpha.. + 1.0.0- fails because: empty prerelease identifier - 1.1.01 + 1.01.1 fails because: leading zero invalid has behavior: parses valid version strings - 1.0.0-alpha.1 - release_build? - is expected to eq false - prerelease? - is expected to eq true - prerelease - is expected to eq "alpha.1" - major - is expected to eq 1 - build - is expected to eq nil - patch - is expected to eq 0 - minor - is expected to eq 0 - release? - is expected to eq false - build? - is expected to eq false - prerelease_build? - is expected to eq false 1.0.0+20130308110833 - release? - is expected to eq false minor is expected to eq 0 patch is expected to eq 0 - release_build? - is expected to eq true major is expected to eq 1 + release_build? + is expected to eq true + build + is expected to eq "20130308110833" prerelease is expected to eq nil - prerelease? + release? is expected to eq false - build? - is expected to eq true prerelease_build? is expected to eq false - build - is expected to eq "20130308110833" - 1.0.0-beta.3+20130308110833 build? is expected to eq true - minor + prerelease? + is expected to eq false + 1.0.0-alpha.1 + patch is expected to eq 0 release_build? is expected to eq false - prerelease_build? - is expected to eq true prerelease - is expected to eq "beta.3" + is expected to eq "alpha.1" release? is expected to eq false - prerelease? + build + is expected to eq nil + build? is expected to eq false major is expected to eq 1 + minor + is expected to eq 0 + prerelease_build? + is expected to eq false + prerelease? + is expected to eq true + 1.0.0-beta.3+20130308110833 + prerelease? + is expected to eq false + release? + is expected to eq false build is expected to eq "20130308110833" + prerelease_build? + is expected to eq true + prerelease + is expected to eq "beta.3" + minor + is expected to eq 0 + build? + is expected to eq true patch is expected to eq 0 + major + is expected to eq 1 + release_build? + is expected to eq false build qualification - pre-release build version + release version build? - is expected to be truthy - prerelease_build? - is expected to be truthy - prerelease? - is expected to be falsey - release? is expected to be falsey release_build? is expected to be falsey - pre-release version - release? + prerelease_build? is expected to be falsey - prerelease? + release? is expected to be truthy - release_build? - is expected to be falsey - build? + prerelease? is expected to be falsey + pre-release build version prerelease_build? + is expected to be truthy + build? + is expected to be truthy + release_build? is expected to be falsey - release version prerelease? is expected to be falsey - release_build? + release? is expected to be falsey + release build version + release_build? + is expected to be truthy prerelease_build? is expected to be falsey release? - is expected to be truthy - build? is expected to be falsey - release build version + prerelease? + is expected to be falsey + build? + is expected to be truthy + pre-release version release? is expected to be falsey - prerelease? + build? is expected to be falsey prerelease_build? is expected to be falsey - build? + prerelease? is expected to be truthy release_build? - is expected to be truthy - it should behave like Basic SemVer - has behavior: parses valid version strings - 1.2.3 - build - is expected to eq nil - patch - is expected to eq 3 - build? - is expected to eq false - release? - is expected to eq true - prerelease - is expected to eq nil - prerelease? - is expected to eq false - prerelease_build? - is expected to eq false - major - is expected to eq 1 - minor - is expected to eq 2 - release_build? - is expected to eq false - has behavior: rejects invalid version strings - a.1.1 - fails because: non-numeric MAJOR - 1.a.1 - fails because: non-numeric MINOR - 1.1.a - fails because: non-numeric PATCH + is expected to be falsey has behavior: serializable + #to_rubygems_string + generates a rubygems version string for 1.0.0-alpha.1+some.build.version + generates a rubygems version string for 1.0.0+build.build.build + generates a rubygems version string for 1.0.0-alpha.1 + generates a rubygems version string for 1.0.0 #to_s - reconstructs the initial input for 1.0.0-alpha.1 reconstructs the initial input for 1.0.0-alpha.1+some.build.version - reconstructs the initial input for 1.0.0+build.build.build reconstructs the initial input for 1.0.0 + reconstructs the initial input for 1.0.0+build.build.build + reconstructs the initial input for 1.0.0-alpha.1 #to_semver_string generates a semver version string for 1.0.0-alpha.1+some.build.version - generates a semver version string for 1.0.0-alpha.1 generates a semver version string for 1.0.0 + generates a semver version string for 1.0.0-alpha.1 generates a semver version string for 1.0.0+build.build.build - #to_rubygems_string - generates a rubygems version string for 1.0.0 - generates a rubygems version string for 1.0.0-alpha.1+some.build.version - generates a rubygems version string for 1.0.0+build.build.build - generates a rubygems version string for 1.0.0-alpha.1 has behavior: comparable + #< + confirms that 2.0.0-beta.1 is less-than 2.0.0-beta.1+build.123 + confirms that 1.0.0-alpha.1 is less-than 1.0.0 + confirms that 1.2.3 is less-than 1.2.3+build.123 + confirms that 0.1.0 is less-than 0.2.0 + #== + confirms that 2.0.0-beta.1+build.123 is equal to 2.0.0-beta.1+build.123 + confirms that 1.2.3 is equal to 1.2.3 + confirms that 0.1.0 is equal to 0.1.0 + confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 + confirms that 1.0.0-alpha.1 is equal to 1.0.0-alpha.1 + confirms that 1.0.0 is equal to 1.0.0 + confirms that 1.2.3+build.123 is equal to 1.2.3+build.123 + confirms that 0.2.0 is equal to 0.2.0 #> + confirms that 0.2.0 is greather-than 0.1.0 confirms that 2.0.0-beta.1+build.123 is greather-than 2.0.0-beta.1 confirms that 1.0.0 is greather-than 1.0.0-alpha.1 confirms that 1.2.3+build.123 is greather-than 1.2.3 - confirms that 0.2.0 is greather-than 0.1.0 #>= + confirms that 2.0.0-beta.1+build.123 greater-than or equal to 2.0.0-beta.1 + confirms that 1.2.3+build.123 greater-than or equal to 1.2.3 confirms that 1.0.0 greater-than or equal to 1.0.0-alpha.1 confirms that 0.2.0 greater-than or equal to 0.1.0 - confirms that 1.2.3+build.123 greater-than or equal to 1.2.3 - confirms that 2.0.0-beta.1+build.123 greater-than or equal to 2.0.0-beta.1 #between? comfirms that a version is between the oldest and latest release #<= - confirms that 2.0.0-beta.1 less-than or equal to 2.0.0-beta.1+build.123 confirms that 1.2.3 less-than or equal to 1.2.3+build.123 + confirms that 2.0.0-beta.1 less-than or equal to 2.0.0-beta.1+build.123 confirms that 1.0.0-alpha.1 less-than or equal to 1.0.0 confirms that 0.1.0 less-than or equal to 0.2.0 - #< - confirms that 1.0.0-alpha.1 is less-than 1.0.0 - confirms that 1.2.3 is less-than 1.2.3+build.123 - confirms that 2.0.0-beta.1 is less-than 2.0.0-beta.1+build.123 - confirms that 0.1.0 is less-than 0.2.0 - #== - confirms that 2.0.0-beta.1+build.123 is equal to 2.0.0-beta.1+build.123 - confirms that 0.2.0 is equal to 0.2.0 - confirms that 1.2.3+build.123 is equal to 1.2.3+build.123 - confirms that 0.1.0 is equal to 0.1.0 - confirms that 1.0.0-alpha.1 is equal to 1.0.0-alpha.1 - confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 - confirms that 1.2.3 is equal to 1.2.3 - confirms that 1.0.0 is equal to 1.0.0 - has behavior: sortable - responds to <=> - sorts all properly - finds the max - finds the min has behavior: filterable + filters by build versions only filters by pre-release versions only filters by pre-release build versions only - filters by build versions only filters by release build versions only filters by release versions only -Mixlib::Versioning::Format::Rubygems - has behavior: rejects invalid version strings - 1.1.1-rutro - fails because: dash for pre-release delimeter - has behavior: filterable - filters by release build versions only - filters by release versions only - filters by pre-release build versions only - filters by build versions only - filters by pre-release versions only +Mixlib::Versioning::Format::OpscodeSemVer has behavior: comparable - #< - confirms that 3.1.2.rc.42 is less-than 3.1.2 - confirms that 0.1.0 is less-than 0.2.0 - confirms that 1.2.3.alpha is less-than 1.2.3.alpha.1 - confirms that 1.0.0.alpha.1 is less-than 1.0.0 - confirms that 2.4.5.alpha is less-than 2.4.5.beta - confirms that 3.0.0.beta.1 is less-than 3.0.0.rc.1 #== - confirms that 0.1.0 is equal to 0.1.0 - confirms that 2.4.5.beta is equal to 2.4.5.beta - confirms that 1.2.3.alpha is equal to 1.2.3.alpha - confirms that 3.0.0.beta.1 is equal to 3.0.0.beta.1 - confirms that 3.0.0.rc.1 is equal to 3.0.0.rc.1 - confirms that 1.0.0 is equal to 1.0.0 - confirms that 3.1.2.rc.42 is equal to 3.1.2.rc.42 confirms that 0.2.0 is equal to 0.2.0 - confirms that 2.4.5.alpha is equal to 2.4.5.alpha - confirms that 3.1.2 is equal to 3.1.2 - confirms that 1.0.0.alpha.1 is equal to 1.0.0.alpha.1 - confirms that 1.2.3.alpha.1 is equal to 1.2.3.alpha.1 + confirms that 1.0.0 is equal to 1.0.0 + confirms that 0.1.0 is equal to 0.1.0 + confirms that 2.0.0+20131009104433.git.2.94a1dde is equal to 2.0.0+20131009104433.git.2.94a1dde + confirms that 1.0.0-alpha.1 is equal to 1.0.0-alpha.1 + confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 + confirms that 1.2.3 is equal to 1.2.3 + confirms that 1.2.3+20121009074433 is equal to 1.2.3+20121009074433 + #> + confirms that 1.2.3+20121009074433 is greather-than 1.2.3 + confirms that 1.0.0 is greather-than 1.0.0-alpha.1 + confirms that 0.2.0 is greather-than 0.1.0 + confirms that 2.0.0+20131009104433.git.2.94a1dde is greather-than 2.0.0-beta.1 + #< + confirms that 1.0.0-alpha.1 is less-than 1.0.0 + confirms that 0.1.0 is less-than 0.2.0 + confirms that 2.0.0-beta.1 is less-than 2.0.0+20131009104433.git.2.94a1dde + confirms that 1.2.3 is less-than 1.2.3+20121009074433 #>= - confirms that 1.2.3.alpha.1 greater-than or equal to 1.2.3.alpha + confirms that 2.0.0+20131009104433.git.2.94a1dde greater-than or equal to 2.0.0-beta.1 + confirms that 1.2.3+20121009074433 greater-than or equal to 1.2.3 + confirms that 1.0.0 greater-than or equal to 1.0.0-alpha.1 confirms that 0.2.0 greater-than or equal to 0.1.0 - confirms that 3.1.2 greater-than or equal to 3.1.2.rc.42 - confirms that 2.4.5.beta greater-than or equal to 2.4.5.alpha - confirms that 1.0.0 greater-than or equal to 1.0.0.alpha.1 - confirms that 3.0.0.rc.1 greater-than or equal to 3.0.0.beta.1 #between? comfirms that a version is between the oldest and latest release - #> - confirms that 3.1.2 is greather-than 3.1.2.rc.42 - confirms that 1.2.3.alpha.1 is greather-than 1.2.3.alpha - confirms that 3.0.0.rc.1 is greather-than 3.0.0.beta.1 - confirms that 1.0.0 is greather-than 1.0.0.alpha.1 - confirms that 0.2.0 is greather-than 0.1.0 - confirms that 2.4.5.beta is greather-than 2.4.5.alpha #<= - confirms that 2.4.5.alpha less-than or equal to 2.4.5.beta - confirms that 1.2.3.alpha less-than or equal to 1.2.3.alpha.1 - confirms that 1.0.0.alpha.1 less-than or equal to 1.0.0 + confirms that 2.0.0-beta.1 less-than or equal to 2.0.0+20131009104433.git.2.94a1dde + confirms that 1.0.0-alpha.1 less-than or equal to 1.0.0 confirms that 0.1.0 less-than or equal to 0.2.0 - confirms that 3.0.0.beta.1 less-than or equal to 3.0.0.rc.1 - confirms that 3.1.2.rc.42 less-than or equal to 3.1.2 + confirms that 1.2.3 less-than or equal to 1.2.3+20121009074433 + has behavior: filterable + filters by release build versions only + filters by pre-release versions only + filters by build versions only + filters by release versions only + filters by pre-release build versions only has behavior: sortable - responds to <=> finds the min - finds the max sorts all properly + responds to <=> + finds the max has behavior: serializable - #to_s - reconstructs the initial input for 1.0.0.beta - reconstructs the initial input for 1.0.0 - reconstructs the initial input for 1.0.0.alpha.1 #to_rubygems_string - generates a rubygems version string for 1.0.0.alpha.1 - generates a rubygems version string for 1.0.0.beta + generates a rubygems version string for 1.0.0+20130308110833.git.2.94a1dde + generates a rubygems version string for 1.0.0-alpha.1+20130308110833 + generates a rubygems version string for 1.0.0-alpha.1 generates a rubygems version string for 1.0.0 #to_semver_string - generates a semver version string for 1.0.0.alpha.1 generates a semver version string for 1.0.0 - generates a semver version string for 1.0.0.beta + generates a semver version string for 1.0.0-alpha.1+20130308110833 + generates a semver version string for 1.0.0+20130308110833.git.2.94a1dde + generates a semver version string for 1.0.0-alpha.1 + #to_s + reconstructs the initial input for 1.0.0-alpha.1+20130308110833 + reconstructs the initial input for 1.0.0-alpha.1 + reconstructs the initial input for 1.0.0+20130308110833.git.2.94a1dde + reconstructs the initial input for 1.0.0 + has behavior: rejects invalid version strings + 11.0.08-rc.1+20130308110833 + fails because: leading zero invalid + 01.0.8-alpha.2+20130308110833.git.2.94a1dde + fails because: leading zero invalid + 11.00000000002.8-rc.1+20130308110833 + fails because: leading zero invalid + 1.0.0+cvs.33.e0f985a + fails because: a malformed git describe: no git string + 4.67.00012+build.20131219 + fails because: leading zero invalid + 11.02.8-rc.1+20130308110833 + fails because: leading zero invalid + 1.0.0+git.AA.e0f985a + fails because: a malformed git describe: non-numeric COMMITS_SINCE + 0008.1.4 + fails because: leading zero invalid + 1.0.0-poop.0 + fails because: non-valid pre-release type + 3.6.7-rc.007 + fails because: leading zero invalid + 1.0.0+2010AA08010101 + fails because: a malformed timestamp + 1.0.0+git.33.z0f985a + fails because: a malformed git describe: invalid SHA1 + it should behave like Mixlib::Versioning::Format::SemVer + build qualification + pre-release build version + release_build? + is expected to be falsey + prerelease_build? + is expected to be truthy + release? + is expected to be falsey + build? + is expected to be truthy + prerelease? + is expected to be falsey + release version + release? + is expected to be truthy + build? + is expected to be falsey + prerelease_build? + is expected to be falsey + prerelease? + is expected to be falsey + release_build? + is expected to be falsey + pre-release version + build? + is expected to be falsey + release_build? + is expected to be falsey + prerelease_build? + is expected to be falsey + prerelease? + is expected to be truthy + release? + is expected to be falsey + release build version + prerelease? + is expected to be falsey + prerelease_build? + is expected to be falsey + release? + is expected to be falsey + build? + is expected to be truthy + release_build? + is expected to be truthy + has behavior: parses valid version strings + 1.0.0-beta.3+20130308110833 + prerelease + is expected to eq "beta.3" + build + is expected to eq "20130308110833" + patch + is expected to eq 0 + release? + is expected to eq false + release_build? + is expected to eq false + prerelease? + is expected to eq false + prerelease_build? + is expected to eq true + major + is expected to eq 1 + build? + is expected to eq true + minor + is expected to eq 0 + 1.0.0-alpha.1 + prerelease? + is expected to eq true + prerelease_build? + is expected to eq false + major + is expected to eq 1 + minor + is expected to eq 0 + patch + is expected to eq 0 + build + is expected to eq nil + release_build? + is expected to eq false + release? + is expected to eq false + prerelease + is expected to eq "alpha.1" + build? + is expected to eq false + 1.0.0+20130308110833 + prerelease + is expected to eq nil + patch + is expected to eq 0 + prerelease? + is expected to eq false + release? + is expected to eq false + prerelease_build? + is expected to eq false + minor + is expected to eq 0 + major + is expected to eq 1 + build? + is expected to eq true + build + is expected to eq "20130308110833" + release_build? + is expected to eq true + has behavior: rejects invalid version strings + 1.1.01 + fails because: leading zero invalid + 8.8.8.8 + fails because: too many segments: MAJOR.MINOR.PATCH.EXTRA + 1.0.0-alpha.01 + fails because: leading zero invalid + 01.1.1 + fails because: leading zero invalid + 1.0.0- + fails because: empty prerelease identifier + 12.0005.1-alpha.12 + fails because: leading zero invalid + 6.3.1+ + fails because: empty build identifier + 1.0.0-alpha.. + fails because: empty prerelease identifier + 1.0.0-01.02.03 + fails because: leading zero invalid + 007.2.3-rc.1+build.16 + fails because: leading zero invalid + 4.0.000000000002-alpha.1 + fails because: leading zero invalid + 12.2.10-beta.00000017 + fails because: leading zero invalid + 6.4.8-alpha.1.2.3+build. + fails because: empty build identifier + 1.01.1 + fails because: leading zero invalid + it should behave like Basic SemVer + has behavior: rejects invalid version strings + 1.1.a + fails because: non-numeric PATCH + a.1.1 + fails because: non-numeric MAJOR + 1.a.1 + fails because: non-numeric MINOR + has behavior: parses valid version strings + 1.2.3 + build? + is expected to eq false + release? + is expected to eq true + major + is expected to eq 1 + patch + is expected to eq 3 + release_build? + is expected to eq false + minor + is expected to eq 2 + build + is expected to eq nil + prerelease + is expected to eq nil + prerelease_build? + is expected to eq false + prerelease? + is expected to eq false + +Mixlib::Versioning::Format + #initialize +WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/reproducible-path/ruby-mixlib-versioning-1.1.0/spec/mixlib/versioning/format_spec.rb:27:in `block (3 levels) in '. + descendants must override #parse + .for + format_type is a: #{format_type.class} + returns the correct format class + format_type is a: #{format_type.class} + returns the correct format class + unknown format_type + format_type is a: #{invalid_format_type.class} + raises a Mixlib::Versioning::UnknownFormatError + format_type is a: #{invalid_format_type.class} + raises a Mixlib::Versioning::UnknownFormatError + format_type is a: #{invalid_format_type.class} + raises a Mixlib::Versioning::UnknownFormatError + format_type is a: #{format_type.class} + returns the correct format class + +Mixlib::Versioning + .parse + parsing when format type is specified + 11.1.1-alpha.1 as Mixlib::Versioning::Format::OpscodeSemVer + format type as a: String + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + format type as a: Symbol + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + format type as a: Class + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + invalid format type specified + invalid format as a: String + raises a Mixlib::Versioning::UnknownFormatError + invalid format as a: Symbol + raises a Mixlib::Versioning::UnknownFormatError + invalid format as a: Class + raises a Mixlib::Versioning::UnknownFormatError + 11.1.1-rc.2 as Mixlib::Versioning::Format::SemVer + format type as a: String + parses version string as: Mixlib::Versioning::Format::SemVer + format type as a: Symbol + parses version string as: Mixlib::Versioning::Format::SemVer + format type as a: Class + parses version string as: Mixlib::Versioning::Format::SemVer + 11.0.8 as Mixlib::Versioning::Format::SemVer + format type as a: Class + parses version string as: Mixlib::Versioning::Format::SemVer + format type as a: Symbol + parses version string as: Mixlib::Versioning::Format::SemVer + format type as a: String + parses version string as: Mixlib::Versioning::Format::SemVer + 11.1.1.alpha.1 as Mixlib::Versioning::Format::Rubygems + format type as a: String + parses version string as: Mixlib::Versioning::Format::Rubygems + format type as a: Symbol + parses version string as: Mixlib::Versioning::Format::Rubygems + format type as a: Class + parses version string as: Mixlib::Versioning::Format::Rubygems + 11.1.1 as Mixlib::Versioning::Format::Rubygems + format type as a: Class + parses version string as: Mixlib::Versioning::Format::Rubygems + format type as a: Symbol + parses version string as: Mixlib::Versioning::Format::Rubygems + format type as a: String + parses version string as: Mixlib::Versioning::Format::Rubygems + parsing an Mixlib::Versioning::Format object + returns the same object + parsing with automatic format detection + 10.16.2-49-g21353f0 + parses version string as: Mixlib::Versioning::Format::GitDescribe + 10.18.2.poop-1 + parses version string as: Mixlib::Versioning::Format::Rubygems + 10.16.2.rc.2-49-g21353f0 + parses version string as: Mixlib::Versioning::Format::GitDescribe + version_string cannot be parsed + returns nil + 12.1.1+20130311134422 + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + 10.16.2-49-g21353f0-1 + parses version string as: Mixlib::Versioning::Format::GitDescribe + 12.1.1+20130308110833.git.2.94a1dde + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + 10.18.2-poop + parses version string as: Mixlib::Versioning::Format::SemVer + 11.0.8-1 + parses version string as: Mixlib::Versioning::Format::SemVer + 11.0.8 + parses version string as: Mixlib::Versioning::Format::SemVer + 12.1.1-rc.3+20130311134422 + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + 11.0.8.rc.1-1 + parses version string as: Mixlib::Versioning::Format::Rubygems + 10.18.2 + parses version string as: Mixlib::Versioning::Format::SemVer + 10.18.2.poop + parses version string as: Mixlib::Versioning::Format::Rubygems + 10.16.2-rc.2-49-g21353f0 + parses version string as: Mixlib::Versioning::Format::GitDescribe + 11.0.8-rc.1 + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + 11.0.8.rc.1 + parses version string as: Mixlib::Versioning::Format::Rubygems + when formats are given + when the format is not in the list + returns nil when the array contains a symbol + returns nil when the array contains a string + returns nil when the array contains a Mixlib::Versioning::Format + when the format is in the list + returns nil when the array contains a string + returns nil when the array contains a symbol + returns nil when the array contains a Mixlib::Versioning::Format + .find_target_version + all_versions argument is a mix of String and Mixlib::Versioning::Format instances + correctly parses the array + filter version of: + finds the most recent release version + include pre-release and build versions + finds the most recent pre-release build version + include build versions + finds the most recent build version + include pre-release versions + finds the most recent pre-release version + filter_version argument is an instance of Mixlib::Versioning::Format + finds the correct version + filter version of: 11.0.0 + finds the most recent release version + include pre-release versions + finds the most recent pre-release version + include pre-release and build versions + finds the most recent pre-release build version + include build versions + finds the most recent build version + filter version of: 11.0.2-alpha.0 + finds the most recent release version + include pre-release versions + finds the most recent pre-release version + include pre-release and build versions + finds the most recent pre-release build version + include build versions + finds the most recent build version + filter version of: 11.0.2 + finds the most recent release version + include build versions + finds the most recent build version + include pre-release versions + finds the most recent pre-release version + include pre-release and build versions + finds the most recent pre-release build version + +Deprecation Warnings: + +RSpec::Core::Configuration#treat_symbols_as_metadata_keys_with_true_values= is deprecated, it is now set to true as default and setting it to false has no effect. + + +If you need more of the backtrace for any of these deprecations to +identify where to make the necessary changes, you can configure +`config.raise_errors_for_deprecations!`, and it will turn the +deprecation warnings into errors, giving you the full backtrace. + +1 deprecation warning total + +Finished in 0.44741 seconds (files took 0.7514 seconds to load) +594 examples, 0 failures + +Randomized with seed 53645 + +/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner + +┌──────────────────────────────────────────────────────────────────────────────┐ +│ Checking Rubygems dependency resolution on ruby3.3 │ +└──────────────────────────────────────────────────────────────────────────────┘ + +RUBYLIB=/build/reproducible-path/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/share/rubygems-integration/all:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -e gem\ \"mixlib-versioning\" + +┌──────────────────────────────────────────────────────────────────────────────┐ +│ Run tests for ruby3.3 from debian/ruby-tests.rake │ +└──────────────────────────────────────────────────────────────────────────────┘ + +RUBYLIB=/build/reproducible-path/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/lib/ruby/vendor_ruby:. GEM_PATH=/build/reproducible-path/ruby-mixlib-versioning-1.1.0/debian/ruby-mixlib-versioning/usr/share/rubygems-integration/all:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/aarch64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/aarch64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake +/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation +/build/reproducible-path/ruby-mixlib-versioning-1.1.0/spec/mixlib/versioning/versioning_spec.rb:202: warning: key "11.0.2" is duplicated and overwritten on line 208 +Run options: include {:focus=>true} + +All examples were filtered out; ignoring {:focus=>true} + +Randomized with seed 42702 + +Mixlib::Versioning::Format::Rubygems it should behave like Basic SemVer has behavior: rejects invalid version strings + a.1.1 + fails because: non-numeric MAJOR 1.a.1 fails because: non-numeric MINOR 1.1.a fails because: non-numeric PATCH - a.1.1 - fails because: non-numeric MAJOR has behavior: parses valid version strings 1.2.3 - patch - is expected to eq 3 - release? - is expected to eq true build? is expected to eq false - prerelease_build? - is expected to eq false release_build? is expected to eq false - build - is expected to eq nil prerelease is expected to eq nil - minor - is expected to eq 2 + build + is expected to eq nil + prerelease_build? + is expected to eq false prerelease? is expected to eq false + release? + is expected to eq true + minor + is expected to eq 2 major is expected to eq 1 + patch + is expected to eq 3 + has behavior: rejects invalid version strings + 1.1.1-rutro + fails because: dash for pre-release delimeter has behavior: parses valid version strings - 11.0.8.rc.3 - prerelease_build? - is expected to eq false + 10.1.1.alpha.1 patch - is expected to eq 8 + is expected to eq 1 major - is expected to eq 11 - prerelease - is expected to eq "rc.3" - iteration - is expected to eq 0 - release? + is expected to eq 10 + prerelease_build? is expected to eq false - build - is expected to eq nil release_build? is expected to eq false - build? - is expected to eq false - prerelease? - is expected to eq true minor - is expected to eq 0 - 11.0.8.rc.3-1 + is expected to eq 1 build is expected to eq nil prerelease - is expected to eq "rc.3" - release? + is expected to eq "alpha.1" + iteration + is expected to eq 0 + prerelease? + is expected to eq true + build? is expected to eq false - patch - is expected to eq 8 - prerelease_build? + release? is expected to eq false + 11.0.8.rc.3-1 + iteration + is expected to eq 1 build? is expected to eq false - prerelease? - is expected to eq true + prerelease + is expected to eq "rc.3" + patch + is expected to eq 8 minor is expected to eq 0 + prerelease_build? + is expected to eq false release_build? is expected to eq false - iteration - is expected to eq 1 major is expected to eq 11 - 11.0.8-33 - prerelease_build? - is expected to eq false - release? - is expected to eq true build is expected to eq nil + release? + is expected to eq false + prerelease? + is expected to eq true + 11.0.8-33 major is expected to eq 11 - minor - is expected to eq 0 - release_build? - is expected to eq false + patch + is expected to eq 8 + prerelease + is expected to eq nil iteration is expected to eq 33 - prerelease + release? + is expected to eq true + release_build? + is expected to eq false + prerelease_build? + is expected to eq false + build is expected to eq nil prerelease? is expected to eq false build? is expected to eq false - patch - is expected to eq 8 - 10.1.1.alpha.1 - release? + minor + is expected to eq 0 + 11.0.8.rc.3 + release_build? is expected to eq false - patch - is expected to eq 1 + minor + is expected to eq 0 major - is expected to eq 10 - release_build? + is expected to eq 11 + release? is expected to eq false prerelease - is expected to eq "alpha.1" - prerelease_build? - is expected to eq false - iteration - is expected to eq 0 + is expected to eq "rc.3" prerelease? is expected to eq true + patch + is expected to eq 8 + prerelease_build? + is expected to eq false build is expected to eq nil - minor - is expected to eq 1 + iteration + is expected to eq 0 build? is expected to eq false 10.1.1 - build? - is expected to eq false - patch + minor is expected to eq 1 - prerelease? - is expected to eq false - release_build? - is expected to eq false - prerelease - is expected to eq nil - major - is expected to eq 10 iteration is expected to eq 0 + prerelease? + is expected to eq false prerelease_build? is expected to eq false + patch + is expected to eq 1 release? is expected to eq true + major + is expected to eq 10 + release_build? + is expected to eq false + build? + is expected to eq false + prerelease + is expected to eq nil build is expected to eq nil - minor - is expected to eq 1 + has behavior: filterable + filters by release versions only + filters by build versions only + filters by release build versions only + filters by pre-release versions only + filters by pre-release build versions only + has behavior: sortable + responds to <=> + finds the min + sorts all properly + finds the max + has behavior: comparable + #< + confirms that 1.0.0.alpha.1 is less-than 1.0.0 + confirms that 2.4.5.alpha is less-than 2.4.5.beta + confirms that 3.0.0.beta.1 is less-than 3.0.0.rc.1 + confirms that 0.1.0 is less-than 0.2.0 + confirms that 1.2.3.alpha is less-than 1.2.3.alpha.1 + confirms that 3.1.2.rc.42 is less-than 3.1.2 + #> + confirms that 1.0.0 is greather-than 1.0.0.alpha.1 + confirms that 3.0.0.rc.1 is greather-than 3.0.0.beta.1 + confirms that 0.2.0 is greather-than 0.1.0 + confirms that 1.2.3.alpha.1 is greather-than 1.2.3.alpha + confirms that 2.4.5.beta is greather-than 2.4.5.alpha + confirms that 3.1.2 is greather-than 3.1.2.rc.42 + #<= + confirms that 3.0.0.beta.1 less-than or equal to 3.0.0.rc.1 + confirms that 3.1.2.rc.42 less-than or equal to 3.1.2 + confirms that 1.0.0.alpha.1 less-than or equal to 1.0.0 + confirms that 0.1.0 less-than or equal to 0.2.0 + confirms that 2.4.5.alpha less-than or equal to 2.4.5.beta + confirms that 1.2.3.alpha less-than or equal to 1.2.3.alpha.1 + #== + confirms that 3.1.2 is equal to 3.1.2 + confirms that 1.0.0.alpha.1 is equal to 1.0.0.alpha.1 + confirms that 3.0.0.rc.1 is equal to 3.0.0.rc.1 + confirms that 2.4.5.alpha is equal to 2.4.5.alpha + confirms that 3.1.2.rc.42 is equal to 3.1.2.rc.42 + confirms that 0.2.0 is equal to 0.2.0 + confirms that 1.2.3.alpha is equal to 1.2.3.alpha + confirms that 0.1.0 is equal to 0.1.0 + confirms that 1.2.3.alpha.1 is equal to 1.2.3.alpha.1 + confirms that 3.0.0.beta.1 is equal to 3.0.0.beta.1 + confirms that 2.4.5.beta is equal to 2.4.5.beta + confirms that 1.0.0 is equal to 1.0.0 + #between? + comfirms that a version is between the oldest and latest release + #>= + confirms that 3.1.2 greater-than or equal to 3.1.2.rc.42 + confirms that 0.2.0 greater-than or equal to 0.1.0 + confirms that 3.0.0.rc.1 greater-than or equal to 3.0.0.beta.1 + confirms that 2.4.5.beta greater-than or equal to 2.4.5.alpha + confirms that 1.2.3.alpha.1 greater-than or equal to 1.2.3.alpha + confirms that 1.0.0 greater-than or equal to 1.0.0.alpha.1 + has behavior: serializable + #to_semver_string + generates a semver version string for 1.0.0.beta + generates a semver version string for 1.0.0.alpha.1 + generates a semver version string for 1.0.0 + #to_s + reconstructs the initial input for 1.0.0 + reconstructs the initial input for 1.0.0.alpha.1 + reconstructs the initial input for 1.0.0.beta + #to_rubygems_string + generates a rubygems version string for 1.0.0 + generates a rubygems version string for 1.0.0.alpha.1 + generates a rubygems version string for 1.0.0.beta Mixlib::Versioning - .find_target_version - filter version of: 11.0.2 - finds the most recent release version - include pre-release and build versions - finds the most recent pre-release build version - include build versions - finds the most recent build version - include pre-release versions - finds the most recent pre-release version - filter version of: 11.0.0 - finds the most recent release version - include build versions - finds the most recent build version - include pre-release and build versions - finds the most recent pre-release build version - include pre-release versions - finds the most recent pre-release version - all_versions argument is a mix of String and Mixlib::Versioning::Format instances - correctly parses the array - filter_version argument is an instance of Mixlib::Versioning::Format - finds the correct version - filter version of: 11.0.2-alpha.0 - finds the most recent release version - include pre-release versions - finds the most recent pre-release version - include build versions - finds the most recent build version - include pre-release and build versions - finds the most recent pre-release build version - filter version of: - finds the most recent release version - include pre-release versions - finds the most recent pre-release version - include build versions - finds the most recent build version - include pre-release and build versions - finds the most recent pre-release build version .parse - parsing an Mixlib::Versioning::Format object - returns the same object parsing with automatic format detection - version_string cannot be parsed - returns nil - 10.16.2-49-g21353f0-1 - parses version string as: Mixlib::Versioning::Format::GitDescribe - 12.1.1-rc.3+20130311134422 - parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 12.1.1+20130308110833.git.2.94a1dde + 11.0.8-rc.1 parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 10.16.2.rc.2-49-g21353f0 - parses version string as: Mixlib::Versioning::Format::GitDescribe 11.0.8-1 parses version string as: Mixlib::Versioning::Format::SemVer - 10.16.2-49-g21353f0 - parses version string as: Mixlib::Versioning::Format::GitDescribe - 11.0.8-rc.1 + 12.1.1-rc.3+20130311134422 parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 11.0.8 - parses version string as: Mixlib::Versioning::Format::SemVer + version_string cannot be parsed + returns nil 10.18.2.poop parses version string as: Mixlib::Versioning::Format::Rubygems - 11.0.8.rc.1-1 - parses version string as: Mixlib::Versioning::Format::Rubygems - 10.18.2-poop - parses version string as: Mixlib::Versioning::Format::SemVer - 10.18.2 - parses version string as: Mixlib::Versioning::Format::SemVer 10.18.2.poop-1 parses version string as: Mixlib::Versioning::Format::Rubygems + 11.0.8.rc.1 + parses version string as: Mixlib::Versioning::Format::Rubygems + 10.16.2-49-g21353f0 + parses version string as: Mixlib::Versioning::Format::GitDescribe + 10.16.2.rc.2-49-g21353f0 + parses version string as: Mixlib::Versioning::Format::GitDescribe + 10.16.2-49-g21353f0-1 + parses version string as: Mixlib::Versioning::Format::GitDescribe 10.16.2-rc.2-49-g21353f0 parses version string as: Mixlib::Versioning::Format::GitDescribe + 11.0.8.rc.1-1 + parses version string as: Mixlib::Versioning::Format::Rubygems 12.1.1+20130311134422 parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 11.0.8.rc.1 - parses version string as: Mixlib::Versioning::Format::Rubygems + 12.1.1+20130308110833.git.2.94a1dde + parses version string as: Mixlib::Versioning::Format::OpscodeSemVer + 10.18.2-poop + parses version string as: Mixlib::Versioning::Format::SemVer + 11.0.8 + parses version string as: Mixlib::Versioning::Format::SemVer + 10.18.2 + parses version string as: Mixlib::Versioning::Format::SemVer parsing when format type is specified + 11.1.1 as Mixlib::Versioning::Format::Rubygems + format type as a: Symbol + parses version string as: Mixlib::Versioning::Format::Rubygems + format type as a: Class + parses version string as: Mixlib::Versioning::Format::Rubygems + format type as a: String + parses version string as: Mixlib::Versioning::Format::Rubygems 11.1.1.alpha.1 as Mixlib::Versioning::Format::Rubygems format type as a: String parses version string as: Mixlib::Versioning::Format::Rubygems + format type as a: Symbol + parses version string as: Mixlib::Versioning::Format::Rubygems format type as a: Class parses version string as: Mixlib::Versioning::Format::Rubygems + 11.0.8 as Mixlib::Versioning::Format::SemVer format type as a: Symbol - parses version string as: Mixlib::Versioning::Format::Rubygems + parses version string as: Mixlib::Versioning::Format::SemVer + format type as a: String + parses version string as: Mixlib::Versioning::Format::SemVer + format type as a: Class + parses version string as: Mixlib::Versioning::Format::SemVer 11.1.1-alpha.1 as Mixlib::Versioning::Format::OpscodeSemVer format type as a: Symbol parses version string as: Mixlib::Versioning::Format::OpscodeSemVer @@ -2896,317 +2435,814 @@ parses version string as: Mixlib::Versioning::Format::OpscodeSemVer format type as a: String parses version string as: Mixlib::Versioning::Format::OpscodeSemVer - 11.1.1-rc.2 as Mixlib::Versioning::Format::SemVer - format type as a: String - parses version string as: Mixlib::Versioning::Format::SemVer - format type as a: Symbol - parses version string as: Mixlib::Versioning::Format::SemVer - format type as a: Class - parses version string as: Mixlib::Versioning::Format::SemVer invalid format type specified invalid format as a: Class raises a Mixlib::Versioning::UnknownFormatError - invalid format as a: String - raises a Mixlib::Versioning::UnknownFormatError invalid format as a: Symbol raises a Mixlib::Versioning::UnknownFormatError - 11.0.8 as Mixlib::Versioning::Format::SemVer + invalid format as a: String + raises a Mixlib::Versioning::UnknownFormatError + 11.1.1-rc.2 as Mixlib::Versioning::Format::SemVer format type as a: String parses version string as: Mixlib::Versioning::Format::SemVer - format type as a: Class - parses version string as: Mixlib::Versioning::Format::SemVer format type as a: Symbol parses version string as: Mixlib::Versioning::Format::SemVer - 11.1.1 as Mixlib::Versioning::Format::Rubygems format type as a: Class - parses version string as: Mixlib::Versioning::Format::Rubygems - format type as a: String - parses version string as: Mixlib::Versioning::Format::Rubygems - format type as a: Symbol - parses version string as: Mixlib::Versioning::Format::Rubygems + parses version string as: Mixlib::Versioning::Format::SemVer + parsing an Mixlib::Versioning::Format object + returns the same object when formats are given when the format is in the list - returns nil when the array contains a Mixlib::Versioning::Format - returns nil when the array contains a string returns nil when the array contains a symbol + returns nil when the array contains a string + returns nil when the array contains a Mixlib::Versioning::Format when the format is not in the list returns nil when the array contains a Mixlib::Versioning::Format - returns nil when the array contains a symbol returns nil when the array contains a string + returns nil when the array contains a symbol + .find_target_version + all_versions argument is a mix of String and Mixlib::Versioning::Format instances + correctly parses the array + filter_version argument is an instance of Mixlib::Versioning::Format + finds the correct version + filter version of: 11.0.0 + finds the most recent release version + include pre-release and build versions + finds the most recent pre-release build version + include build versions + finds the most recent build version + include pre-release versions + finds the most recent pre-release version + filter version of: 11.0.2 + finds the most recent release version + include pre-release versions + finds the most recent pre-release version + include pre-release and build versions + finds the most recent pre-release build version + include build versions + finds the most recent build version + filter version of: 11.0.2-alpha.0 + finds the most recent release version + include pre-release versions + finds the most recent pre-release version + include pre-release and build versions + finds the most recent pre-release build version + include build versions + finds the most recent build version + filter version of: + finds the most recent release version + include pre-release versions + finds the most recent pre-release version + include build versions + finds the most recent build version + include pre-release and build versions + finds the most recent pre-release build version -Mixlib::Versioning::Format::OpscodeSemVer +Mixlib::Versioning::Format + .for + format_type is a: #{format_type.class} + returns the correct format class + format_type is a: #{format_type.class} + returns the correct format class + unknown format_type + format_type is a: #{invalid_format_type.class} + raises a Mixlib::Versioning::UnknownFormatError + format_type is a: #{invalid_format_type.class} + raises a Mixlib::Versioning::UnknownFormatError + format_type is a: #{invalid_format_type.class} + raises a Mixlib::Versioning::UnknownFormatError + format_type is a: #{format_type.class} + returns the correct format class + #initialize +WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/reproducible-path/ruby-mixlib-versioning-1.1.0/spec/mixlib/versioning/format_spec.rb:27:in `block (3 levels) in '. + descendants must override #parse + +Mixlib::Versioning::Format::SemVer has behavior: comparable - #== - confirms that 1.2.3 is equal to 1.2.3 - confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 - confirms that 0.1.0 is equal to 0.1.0 - confirms that 0.2.0 is equal to 0.2.0 - confirms that 1.2.3+20121009074433 is equal to 1.2.3+20121009074433 - confirms that 1.0.0-alpha.1 is equal to 1.0.0-alpha.1 - confirms that 1.0.0 is equal to 1.0.0 - confirms that 2.0.0+20131009104433.git.2.94a1dde is equal to 2.0.0+20131009104433.git.2.94a1dde - #>= - confirms that 2.0.0+20131009104433.git.2.94a1dde greater-than or equal to 2.0.0-beta.1 - confirms that 1.2.3+20121009074433 greater-than or equal to 1.2.3 - confirms that 1.0.0 greater-than or equal to 1.0.0-alpha.1 - confirms that 0.2.0 greater-than or equal to 0.1.0 - #> - confirms that 2.0.0+20131009104433.git.2.94a1dde is greather-than 2.0.0-beta.1 - confirms that 1.0.0 is greather-than 1.0.0-alpha.1 - confirms that 0.2.0 is greather-than 0.1.0 - confirms that 1.2.3+20121009074433 is greather-than 1.2.3 #< + confirms that 2.0.0-beta.1 is less-than 2.0.0-beta.1+build.123 confirms that 0.1.0 is less-than 0.2.0 - confirms that 1.2.3 is less-than 1.2.3+20121009074433 - confirms that 2.0.0-beta.1 is less-than 2.0.0+20131009104433.git.2.94a1dde + confirms that 1.2.3 is less-than 1.2.3+build.123 confirms that 1.0.0-alpha.1 is less-than 1.0.0 #<= - confirms that 2.0.0-beta.1 less-than or equal to 2.0.0+20131009104433.git.2.94a1dde - confirms that 1.2.3 less-than or equal to 1.2.3+20121009074433 + confirms that 1.2.3 less-than or equal to 1.2.3+build.123 confirms that 1.0.0-alpha.1 less-than or equal to 1.0.0 + confirms that 2.0.0-beta.1 less-than or equal to 2.0.0-beta.1+build.123 confirms that 0.1.0 less-than or equal to 0.2.0 #between? comfirms that a version is between the oldest and latest release - has behavior: filterable - filters by pre-release build versions only - filters by pre-release versions only - filters by release build versions only - filters by build versions only - filters by release versions only + #== + confirms that 0.2.0 is equal to 0.2.0 + confirms that 1.0.0-alpha.1 is equal to 1.0.0-alpha.1 + confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 + confirms that 1.0.0 is equal to 1.0.0 + confirms that 2.0.0-beta.1+build.123 is equal to 2.0.0-beta.1+build.123 + confirms that 1.2.3+build.123 is equal to 1.2.3+build.123 + confirms that 0.1.0 is equal to 0.1.0 + confirms that 1.2.3 is equal to 1.2.3 + #> + confirms that 1.0.0 is greather-than 1.0.0-alpha.1 + confirms that 0.2.0 is greather-than 0.1.0 + confirms that 2.0.0-beta.1+build.123 is greather-than 2.0.0-beta.1 + confirms that 1.2.3+build.123 is greather-than 1.2.3 + #>= + confirms that 2.0.0-beta.1+build.123 greater-than or equal to 2.0.0-beta.1 + confirms that 1.2.3+build.123 greater-than or equal to 1.2.3 + confirms that 0.2.0 greater-than or equal to 0.1.0 + confirms that 1.0.0 greater-than or equal to 1.0.0-alpha.1 + has behavior: serializable + #to_s + reconstructs the initial input for 1.0.0+build.build.build + reconstructs the initial input for 1.0.0-alpha.1 + reconstructs the initial input for 1.0.0 + reconstructs the initial input for 1.0.0-alpha.1+some.build.version + #to_rubygems_string + generates a rubygems version string for 1.0.0-alpha.1+some.build.version + generates a rubygems version string for 1.0.0 + generates a rubygems version string for 1.0.0-alpha.1 + generates a rubygems version string for 1.0.0+build.build.build + #to_semver_string + generates a semver version string for 1.0.0-alpha.1+some.build.version + generates a semver version string for 1.0.0-alpha.1 + generates a semver version string for 1.0.0+build.build.build + generates a semver version string for 1.0.0 + has behavior: sortable + finds the min + sorts all properly + responds to <=> + finds the max it should behave like Mixlib::Versioning::Format::SemVer - it should behave like Basic SemVer - has behavior: parses valid version strings - 1.2.3 - patch - is expected to eq 3 - build - is expected to eq nil - major - is expected to eq 1 - minor - is expected to eq 2 - prerelease? - is expected to eq false - build? - is expected to eq false - release_build? - is expected to eq false - prerelease_build? - is expected to eq false - prerelease - is expected to eq nil - release? - is expected to eq true - has behavior: rejects invalid version strings - 1.a.1 - fails because: non-numeric MINOR - 1.1.a - fails because: non-numeric PATCH - a.1.1 - fails because: non-numeric MAJOR has behavior: rejects invalid version strings - 1.0.0-alpha.. - fails because: empty prerelease identifier - 1.0.0- - fails because: empty prerelease identifier 12.2.10-beta.00000017 fails because: leading zero invalid - 1.0.0-alpha.01 - fails because: leading zero invalid - 6.4.8-alpha.1.2.3+build. - fails because: empty build identifier 1.01.1 fails because: leading zero invalid + 1.0.0- + fails because: empty prerelease identifier + 12.0005.1-alpha.12 + fails because: leading zero invalid + 1.0.0-alpha.. + fails because: empty prerelease identifier 6.3.1+ fails because: empty build identifier - 4.0.000000000002-alpha.1 + 01.1.1 fails because: leading zero invalid - 007.2.3-rc.1+build.16 + 4.0.000000000002-alpha.1 fails because: leading zero invalid - 8.8.8.8 - fails because: too many segments: MAJOR.MINOR.PATCH.EXTRA 1.0.0-01.02.03 fails because: leading zero invalid - 01.1.1 - fails because: leading zero invalid 1.1.01 fails because: leading zero invalid - 12.0005.1-alpha.12 + 6.4.8-alpha.1.2.3+build. + fails because: empty build identifier + 1.0.0-alpha.01 + fails because: leading zero invalid + 007.2.3-rc.1+build.16 fails because: leading zero invalid + 8.8.8.8 + fails because: too many segments: MAJOR.MINOR.PATCH.EXTRA has behavior: parses valid version strings 1.0.0-beta.3+20130308110833 - build - is expected to eq "20130308110833" - prerelease - is expected to eq "beta.3" - release? - is expected to eq false patch is expected to eq 0 + build? + is expected to eq true + prerelease + is expected to eq "beta.3" + major + is expected to eq 1 minor is expected to eq 0 - prerelease_build? - is expected to eq true prerelease? is expected to eq false - major - is expected to eq 1 - build? + prerelease_build? is expected to eq true release_build? is expected to eq false - 1.0.0+20130308110833 release? is expected to eq false - prerelease - is expected to eq nil - prerelease? - is expected to eq false - release_build? - is expected to eq true build is expected to eq "20130308110833" - minor - is expected to eq 0 + 1.0.0+20130308110833 + prerelease + is expected to eq nil build? is expected to eq true - prerelease_build? - is expected to eq false patch is expected to eq 0 + prerelease? + is expected to eq false major is expected to eq 1 - 1.0.0-alpha.1 - patch + minor is expected to eq 0 - build? + build + is expected to eq "20130308110833" + prerelease_build? is expected to eq false + release_build? + is expected to eq true release? is expected to eq false + 1.0.0-alpha.1 major is expected to eq 1 + build? + is expected to eq false + prerelease? + is expected to eq true prerelease_build? is expected to eq false - minor - is expected to eq 0 release_build? is expected to eq false - build - is expected to eq nil prerelease is expected to eq "alpha.1" - prerelease? - is expected to eq true + build + is expected to eq nil + minor + is expected to eq 0 + release? + is expected to eq false + patch + is expected to eq 0 + it should behave like Basic SemVer + has behavior: parses valid version strings + 1.2.3 + prerelease_build? + is expected to eq false + prerelease + is expected to eq nil + major + is expected to eq 1 + release_build? + is expected to eq false + prerelease? + is expected to eq false + build? + is expected to eq false + patch + is expected to eq 3 + release? + is expected to eq true + build + is expected to eq nil + minor + is expected to eq 2 + has behavior: rejects invalid version strings + 1.a.1 + fails because: non-numeric MINOR + 1.1.a + fails because: non-numeric PATCH + a.1.1 + fails because: non-numeric MAJOR build qualification - release version + release build version + release_build? + is expected to be truthy + release? + is expected to be falsey prerelease? is expected to be falsey prerelease_build? is expected to be falsey build? - is expected to be falsey - release? + is expected to be truthy + pre-release build version + build? is expected to be truthy release_build? is expected to be falsey - pre-release version prerelease_build? - is expected to be falsey + is expected to be truthy release? is expected to be falsey prerelease? + is expected to be falsey + release version + prerelease_build? + is expected to be falsey + release_build? + is expected to be falsey + release? is expected to be truthy build? is expected to be falsey + prerelease? + is expected to be falsey + pre-release version release_build? is expected to be falsey - pre-release build version prerelease? + is expected to be truthy + build? + is expected to be falsey + prerelease_build? + is expected to be falsey + release? + is expected to be falsey + has behavior: filterable + filters by release build versions only + filters by build versions only + filters by release versions only + filters by pre-release versions only + filters by pre-release build versions only + +Mixlib::Versioning::Format::OpscodeSemVer + it should behave like Mixlib::Versioning::Format::SemVer + it should behave like Basic SemVer + has behavior: rejects invalid version strings + 1.a.1 + fails because: non-numeric MINOR + 1.1.a + fails because: non-numeric PATCH + a.1.1 + fails because: non-numeric MAJOR + has behavior: parses valid version strings + 1.2.3 + prerelease_build? + is expected to eq false + prerelease? + is expected to eq false + build? + is expected to eq false + major + is expected to eq 1 + build + is expected to eq nil + release_build? + is expected to eq false + minor + is expected to eq 2 + patch + is expected to eq 3 + release? + is expected to eq true + prerelease + is expected to eq nil + build qualification + pre-release build version + release_build? is expected to be falsey build? is expected to be truthy prerelease_build? is expected to be truthy - release_build? + prerelease? is expected to be falsey release? is expected to be falsey - release build version + pre-release version + release? + is expected to be falsey + build? + is expected to be falsey + release_build? + is expected to be falsey + prerelease? + is expected to be truthy prerelease_build? is expected to be falsey + release version + prerelease? + is expected to be falsey release? + is expected to be truthy + release_build? is expected to be falsey - prerelease? + build? + is expected to be falsey + prerelease_build? + is expected to be falsey + release build version + release? is expected to be falsey build? is expected to be truthy + prerelease? + is expected to be falsey release_build? is expected to be truthy + prerelease_build? + is expected to be falsey + has behavior: parses valid version strings + 1.0.0-beta.3+20130308110833 + release? + is expected to eq false + prerelease? + is expected to eq false + patch + is expected to eq 0 + prerelease_build? + is expected to eq true + prerelease + is expected to eq "beta.3" + minor + is expected to eq 0 + release_build? + is expected to eq false + build? + is expected to eq true + major + is expected to eq 1 + build + is expected to eq "20130308110833" + 1.0.0+20130308110833 + prerelease_build? + is expected to eq false + release_build? + is expected to eq true + build? + is expected to eq true + prerelease + is expected to eq nil + build + is expected to eq "20130308110833" + minor + is expected to eq 0 + prerelease? + is expected to eq false + release? + is expected to eq false + major + is expected to eq 1 + patch + is expected to eq 0 + 1.0.0-alpha.1 + prerelease? + is expected to eq true + prerelease + is expected to eq "alpha.1" + major + is expected to eq 1 + minor + is expected to eq 0 + build + is expected to eq nil + prerelease_build? + is expected to eq false + patch + is expected to eq 0 + release_build? + is expected to eq false + build? + is expected to eq false + release? + is expected to eq false + has behavior: rejects invalid version strings + 1.1.01 + fails because: leading zero invalid + 007.2.3-rc.1+build.16 + fails because: leading zero invalid + 1.0.0-alpha.. + fails because: empty prerelease identifier + 1.01.1 + fails because: leading zero invalid + 1.0.0- + fails because: empty prerelease identifier + 4.0.000000000002-alpha.1 + fails because: leading zero invalid + 1.0.0-01.02.03 + fails because: leading zero invalid + 1.0.0-alpha.01 + fails because: leading zero invalid + 01.1.1 + fails because: leading zero invalid + 6.4.8-alpha.1.2.3+build. + fails because: empty build identifier + 12.2.10-beta.00000017 + fails because: leading zero invalid + 12.0005.1-alpha.12 + fails because: leading zero invalid + 8.8.8.8 + fails because: too many segments: MAJOR.MINOR.PATCH.EXTRA + 6.3.1+ + fails because: empty build identifier has behavior: sortable - finds the min - responds to <=> sorts all properly finds the max + responds to <=> + finds the min + has behavior: comparable + #< + confirms that 0.1.0 is less-than 0.2.0 + confirms that 2.0.0-beta.1 is less-than 2.0.0+20131009104433.git.2.94a1dde + confirms that 1.0.0-alpha.1 is less-than 1.0.0 + confirms that 1.2.3 is less-than 1.2.3+20121009074433 + #> + confirms that 2.0.0+20131009104433.git.2.94a1dde is greather-than 2.0.0-beta.1 + confirms that 0.2.0 is greather-than 0.1.0 + confirms that 1.2.3+20121009074433 is greather-than 1.2.3 + confirms that 1.0.0 is greather-than 1.0.0-alpha.1 + #between? + comfirms that a version is between the oldest and latest release + #>= + confirms that 2.0.0+20131009104433.git.2.94a1dde greater-than or equal to 2.0.0-beta.1 + confirms that 0.2.0 greater-than or equal to 0.1.0 + confirms that 1.2.3+20121009074433 greater-than or equal to 1.2.3 + confirms that 1.0.0 greater-than or equal to 1.0.0-alpha.1 + #== + confirms that 2.0.0-beta.1 is equal to 2.0.0-beta.1 + confirms that 0.1.0 is equal to 0.1.0 + confirms that 0.2.0 is equal to 0.2.0 + confirms that 1.0.0-alpha.1 is equal to 1.0.0-alpha.1 + confirms that 1.0.0 is equal to 1.0.0 + confirms that 1.2.3+20121009074433 is equal to 1.2.3+20121009074433 + confirms that 1.2.3 is equal to 1.2.3 + confirms that 2.0.0+20131009104433.git.2.94a1dde is equal to 2.0.0+20131009104433.git.2.94a1dde + #<= + confirms that 0.1.0 less-than or equal to 0.2.0 + confirms that 1.2.3 less-than or equal to 1.2.3+20121009074433 + confirms that 2.0.0-beta.1 less-than or equal to 2.0.0+20131009104433.git.2.94a1dde + confirms that 1.0.0-alpha.1 less-than or equal to 1.0.0 has behavior: serializable #to_semver_string generates a semver version string for 1.0.0-alpha.1+20130308110833 - generates a semver version string for 1.0.0 - generates a semver version string for 1.0.0-alpha.1 generates a semver version string for 1.0.0+20130308110833.git.2.94a1dde - #to_rubygems_string - generates a rubygems version string for 1.0.0-alpha.1 - generates a rubygems version string for 1.0.0-alpha.1+20130308110833 - generates a rubygems version string for 1.0.0+20130308110833.git.2.94a1dde - generates a rubygems version string for 1.0.0 + generates a semver version string for 1.0.0-alpha.1 + generates a semver version string for 1.0.0 #to_s - reconstructs the initial input for 1.0.0-alpha.1 reconstructs the initial input for 1.0.0 - reconstructs the initial input for 1.0.0+20130308110833.git.2.94a1dde reconstructs the initial input for 1.0.0-alpha.1+20130308110833 + reconstructs the initial input for 1.0.0+20130308110833.git.2.94a1dde + reconstructs the initial input for 1.0.0-alpha.1 + #to_rubygems_string + generates a rubygems version string for 1.0.0+20130308110833.git.2.94a1dde + generates a rubygems version string for 1.0.0-alpha.1+20130308110833 + generates a rubygems version string for 1.0.0-alpha.1 + generates a rubygems version string for 1.0.0 has behavior: rejects invalid version strings - 11.00000000002.8-rc.1+20130308110833 - fails because: leading zero invalid - 1.0.0+git.AA.e0f985a - fails because: a malformed git describe: non-numeric COMMITS_SINCE 1.0.0+cvs.33.e0f985a fails because: a malformed git describe: no git string - 3.6.7-rc.007 - fails because: leading zero invalid - 1.0.0+2010AA08010101 - fails because: a malformed timestamp - 11.0.08-rc.1+20130308110833 - fails because: leading zero invalid - 4.67.00012+build.20131219 + 01.0.8-alpha.2+20130308110833.git.2.94a1dde fails because: leading zero invalid 0008.1.4 fails because: leading zero invalid - 11.02.8-rc.1+20130308110833 + 11.0.08-rc.1+20130308110833 fails because: leading zero invalid - 01.0.8-alpha.2+20130308110833.git.2.94a1dde + 11.02.8-rc.1+20130308110833 fails because: leading zero invalid + 1.0.0+2010AA08010101 + fails because: a malformed timestamp 1.0.0+git.33.z0f985a fails because: a malformed git describe: invalid SHA1 + 11.00000000002.8-rc.1+20130308110833 + fails because: leading zero invalid + 1.0.0+git.AA.e0f985a + fails because: a malformed git describe: non-numeric COMMITS_SINCE + 3.6.7-rc.007 + fails because: leading zero invalid 1.0.0-poop.0 fails because: non-valid pre-release type + 4.67.00012+build.20131219 + fails because: leading zero invalid + has behavior: filterable + filters by pre-release build versions only + filters by release build versions only + filters by build versions only + filters by pre-release versions only + filters by release versions only -Mixlib::Versioning::Format - .for - unknown format_type - format_type is a: #{invalid_format_type.class} - raises a Mixlib::Versioning::UnknownFormatError - format_type is a: #{invalid_format_type.class} - raises a Mixlib::Versioning::UnknownFormatError - format_type is a: #{invalid_format_type.class} - raises a Mixlib::Versioning::UnknownFormatError - format_type is a: #{format_type.class} - returns the correct format class - format_type is a: #{format_type.class} - returns the correct format class - format_type is a: #{format_type.class} - returns the correct format class - #initialize -WARNING: Using the `raise_error` matcher without providing a specific error or message risks false positives, since `raise_error` will match when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`, potentially allowing the expectation to pass without even executing the method you are intending to call. Actual error raised was #. Instead consider providing a specific error class or message. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /build/reproducible-path/ruby-mixlib-versioning-1.1.0/spec/mixlib/versioning/format_spec.rb:27:in `block (3 levels) in '. - descendants must override #parse +Mixlib::Versioning::Format::GitDescribe + has behavior: comparable + #between? + comfirms that a version is between the oldest and latest release + #> + confirms that 9.0.1-2-gdeadbe2-1 is greather-than 9.0.1-2-gdeadbe1-2 + confirms that 9.0.1-2-gdeadbe1-1 is greather-than 9.0.1-1-gdeadbee-1 + confirms that 10.20.2-3-gaaaaaaa-1 is greather-than 10.20.2-2-gbbbbbbb-1 + confirms that 9.1.2-2-g1234567-1 is greather-than 9.1.1-2-g1234567-1 + confirms that 10.5.7-2-g21353f0-1 is greather-than 10.0.0-1-gabcdef3-1 + #>= + confirms that 9.0.1-2-gdeadbe2-1 greater-than or equal to 9.0.1-2-gdeadbe1-2 + confirms that 9.1.2-2-g1234567-1 greater-than or equal to 9.1.1-2-g1234567-1 + confirms that 10.20.2-3-gaaaaaaa-1 greater-than or equal to 10.20.2-2-gbbbbbbb-1 + confirms that 10.5.7-2-g21353f0-1 greater-than or equal to 10.0.0-1-gabcdef3-1 + confirms that 9.0.1-2-gdeadbe1-1 greater-than or equal to 9.0.1-1-gdeadbee-1 + #<= + confirms that 9.1.1-2-g1234567-1 less-than or equal to 9.1.2-2-g1234567-1 + confirms that 9.0.1-1-gdeadbee-1 less-than or equal to 9.0.1-2-gdeadbe1-1 + confirms that 9.0.1-2-gdeadbe1-2 less-than or equal to 9.0.1-2-gdeadbe2-1 + confirms that 10.20.2-2-gbbbbbbb-1 less-than or equal to 10.20.2-3-gaaaaaaa-1 + confirms that 10.0.0-1-gabcdef3-1 less-than or equal to 10.5.7-2-g21353f0-1 + #< + confirms that 9.0.1-1-gdeadbee-1 is less-than 9.0.1-2-gdeadbe1-1 + confirms that 10.0.0-1-gabcdef3-1 is less-than 10.5.7-2-g21353f0-1 + confirms that 9.1.1-2-g1234567-1 is less-than 9.1.2-2-g1234567-1 + confirms that 10.20.2-2-gbbbbbbb-1 is less-than 10.20.2-3-gaaaaaaa-1 + confirms that 9.0.1-2-gdeadbe1-2 is less-than 9.0.1-2-gdeadbe2-1 + #== + confirms that 10.20.2-3-gaaaaaaa-1 is equal to 10.20.2-3-gaaaaaaa-1 + confirms that 9.1.1-2-g1234567-1 is equal to 9.1.1-2-g1234567-1 + confirms that 10.0.0-1-gabcdef3-1 is equal to 10.0.0-1-gabcdef3-1 + confirms that 9.0.1-2-gdeadbe1-1 is equal to 9.0.1-2-gdeadbe1-1 + confirms that 10.5.7-2-g21353f0-1 is equal to 10.5.7-2-g21353f0-1 + confirms that 9.0.1-1-gdeadbee-1 is equal to 9.0.1-1-gdeadbee-1 + confirms that 9.0.1-2-gdeadbe1-2 is equal to 9.0.1-2-gdeadbe1-2 + confirms that 9.0.1-2-gdeadbe2-1 is equal to 9.0.1-2-gdeadbe2-1 + confirms that 10.20.2-2-gbbbbbbb-1 is equal to 10.20.2-2-gbbbbbbb-1 + confirms that 9.1.2-2-g1234567-1 is equal to 9.1.2-2-g1234567-1 + has behavior: sortable + finds the min + responds to <=> + sorts all properly + finds the max + has behavior: serializable + #to_semver_string + generates a semver version string for 10.0.0-1-gabcdef3-1 + generates a semver version string for 9.0.1-2-gdeadbe2-1 + generates a semver version string for 9.0.1-2-gdeadbe1-1 + generates a semver version string for 10.20.2-3-gaaaaaaa-1 + generates a semver version string for 9.1.2-2-g1234567-1 + generates a semver version string for 9.0.1-1-gdeadbee-1 + generates a semver version string for 9.1.1-2-g1234567-1 + generates a semver version string for 9.0.1-2-gdeadbe1-2 + generates a semver version string for 10.20.2-2-gbbbbbbb-1 + generates a semver version string for 10.5.7-2-g21353f0-1 + #to_rubygems_string + generates a rubygems version string for 10.0.0-1-gabcdef3-1 + generates a rubygems version string for 10.5.7-2-g21353f0-1 + generates a rubygems version string for 9.0.1-2-gdeadbe1-1 + generates a rubygems version string for 10.20.2-2-gbbbbbbb-1 + generates a rubygems version string for 9.0.1-2-gdeadbe1-2 + generates a rubygems version string for 9.0.1-1-gdeadbee-1 + generates a rubygems version string for 10.20.2-3-gaaaaaaa-1 + generates a rubygems version string for 9.0.1-2-gdeadbe2-1 + generates a rubygems version string for 9.1.1-2-g1234567-1 + generates a rubygems version string for 9.1.2-2-g1234567-1 + #to_s + reconstructs the initial input for 9.0.1-2-gdeadbe1-1 + reconstructs the initial input for 10.20.2-2-gbbbbbbb-1 + reconstructs the initial input for 10.0.0-1-gabcdef3-1 + reconstructs the initial input for 9.1.1-2-g1234567-1 + reconstructs the initial input for 10.5.7-2-g21353f0-1 + reconstructs the initial input for 9.0.1-1-gdeadbee-1 + reconstructs the initial input for 9.0.1-2-gdeadbe1-2 + reconstructs the initial input for 9.1.2-2-g1234567-1 + reconstructs the initial input for 9.0.1-2-gdeadbe2-1 + reconstructs the initial input for 10.20.2-3-gaaaaaaa-1 + has behavior: parses valid version strings + 10.16.2-alpha-49-g21353f0-1 + release? + is expected to eq false + prerelease? + is expected to eq false + iteration + is expected to eq 1 + prerelease + is expected to eq "alpha" + minor + is expected to eq 16 + release_build? + is expected to eq false + build + is expected to eq "49.g21353f0.1" + prerelease_build? + is expected to eq true + commit_sha + is expected to eq "21353f0" + major + is expected to eq 10 + build? + is expected to eq true + commits_since + is expected to eq 49 + patch + is expected to eq 2 + 10.16.2-alpha-49-g21353f0 + build + is expected to eq "49.g21353f0.0" + iteration + is expected to eq 0 + patch + is expected to eq 2 + prerelease_build? + is expected to eq true + commit_sha + is expected to eq "21353f0" + build? + is expected to eq true + release_build? + is expected to eq false + prerelease + is expected to eq "alpha" + minor + is expected to eq 16 + major + is expected to eq 10 + commits_since + is expected to eq 49 + prerelease? + is expected to eq false + release? + is expected to eq false + 10.16.2-49-g21353f0-1 + prerelease_build? + is expected to eq false + release? + is expected to eq false + build? + is expected to eq true + prerelease? + is expected to eq false + release_build? + is expected to eq true + patch + is expected to eq 2 + build + is expected to eq "49.g21353f0.1" + minor + is expected to eq 16 + major + is expected to eq 10 + commit_sha + is expected to eq "21353f0" + commits_since + is expected to eq 49 + prerelease + is expected to eq nil + iteration + is expected to eq 1 + 0.10.8-231-g59d6185 + minor + is expected to eq 10 + major + is expected to eq 0 + prerelease? + is expected to eq false + patch + is expected to eq 8 + iteration + is expected to eq 0 + commit_sha + is expected to eq "59d6185" + commits_since + is expected to eq 231 + prerelease + is expected to eq nil + build? + is expected to eq true + release? + is expected to eq false + build + is expected to eq "231.g59d6185.0" + prerelease_build? + is expected to eq false + release_build? + is expected to eq true + 10.16.2.rc.1-49-g21353f0-1 + patch + is expected to eq 2 + release? + is expected to eq false + prerelease_build? + is expected to eq true + iteration + is expected to eq 1 + commits_since + is expected to eq 49 + major + is expected to eq 10 + prerelease + is expected to eq "rc.1" + minor + is expected to eq 16 + commit_sha + is expected to eq "21353f0" + build + is expected to eq "49.g21353f0.1" + prerelease? + is expected to eq false + build? + is expected to eq true + release_build? + is expected to eq false + has behavior: rejects invalid version strings + 1.0.0-alpha-poop-g1234567-1 + fails because: non-numeric 'commits_since' + 1.0.0-123-g1234567-alpha + fails because: non-numeric iteration + 1.0.0-123-1 + fails because: missing SHA1 + 1.0.0-123-gNOTHEX1-1 + fails because: illegal SHA1 characters + 1.0.0-alpha.1 + fails because: no git describe data + 1.0.0-alpha.1+build.deadbeef + fails because: no git describe data + 1.0.0 + fails because: no git describe data + 1.0.0-123-gdeadbe-1 + fails because: too few SHA1 characters + 1.0.0-g1234567-1 + fails because: missing 'commits_since' + 1.0.0-123-gfd0e3a65282cb5f6df3bab6a53f4fcb722340d499-1 + fails because: too many SHA1 characters + has behavior: filterable + filters by pre-release versions only + filters by release versions only + filters by release build versions only + filters by build versions only + filters by pre-release build versions only Deprecation Warnings: @@ -3220,10 +3256,10 @@ 1 deprecation warning total -Finished in 0.20844 seconds (files took 0.35066 seconds to load) +Finished in 0.61183 seconds (files took 1.09 seconds to load) 594 examples, 0 failures -Randomized with seed 1510 +Randomized with seed 42702 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -3262,12 +3298,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/3426658/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3426658/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/286404 and its subdirectories -I: Current time: Mon Feb 23 03:48:42 -12 2026 -I: pbuilder-time-stamp: 1771861722 +I: removing directory /srv/workspace/pbuilder/3426658 and its subdirectories +I: Current time: Tue Jan 21 23:27:57 +14 2025 +I: pbuilder-time-stamp: 1737451677