Diff of the two buildlogs: -- --- b1/build.log 2024-05-06 02:59:40.550023153 +0000 +++ b2/build.log 2024-05-06 03:01:01.410585890 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun May 5 14:57:33 -12 2024 -I: pbuilder-time-stamp: 1714964253 +I: Current time: Sun Jun 8 23:22:43 +14 2025 +I: pbuilder-time-stamp: 1749374563 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -29,51 +29,83 @@ dpkg-source: info: applying rspec-its.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1196145/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/41938/tmp/hooks/D01_modify_environment starting +debug: Running on infom02-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 8 09:22 /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/41938/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/41938/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='amd64' - 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]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='75ccd652cdc040afabdb4cc016c5adc9' - 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='1196145' - PS1='# ' - PS2='> ' + INVOCATION_ID=0b05a29ccb514bdaa90d7e5cef606cc0 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=41938 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.nIclZGJL/pbuilderrc_qLVp --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.nIclZGJL/b1 --logfile b1/build.log ruby-axiom-types_0.1.1-3.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' + 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.nIclZGJL/pbuilderrc_yO3p --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.nIclZGJL/b2 --logfile b2/build.log ruby-axiom-types_0.1.1-3.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' I: uname -a - Linux infom01-amd64 6.1.0-20-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 5 11:23 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1196145/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 7 17:46 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/41938/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -261,7 +293,7 @@ Get: 136 http://deb.debian.org/debian trixie/main amd64 ruby-rspec all 3.13.0c0e0m0s1-2 [5184 B] Get: 137 http://deb.debian.org/debian trixie/main amd64 ruby-rspec-its all 1.3.0-1 [6864 B] Get: 138 http://deb.debian.org/debian trixie/main amd64 ruby-sorted-set all 1.0.3-3 [4736 B] -Fetched 47.2 MB in 1s (65.7 MB/s) +Fetched 47.2 MB in 2s (22.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19694 files and directories currently installed.) @@ -719,8 +751,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon May 6 02:58:52 UTC 2024. -Universal Time is now: Mon May 6 02:58:52 UTC 2024. +Local time is now: Sun Jun 8 09:23:37 UTC 2025. +Universal Time is now: Sun Jun 8 09:23:37 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -847,7 +879,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/ruby-axiom-types-0.1.1/ && 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-axiom-types_0.1.1-3_source.changes +I: user script /srv/workspace/pbuilder/41938/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/41938/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/ruby-axiom-types-0.1.1/ && 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-axiom-types_0.1.1-3_source.changes dpkg-buildpackage: info: source package ruby-axiom-types dpkg-buildpackage: info: source version 0.1.1-3 dpkg-buildpackage: info: source distribution unstable @@ -876,13 +912,13 @@ dh_prep -O--buildsystem=ruby dh_auto_install --destdir=debian/ruby-axiom-types/ -O--buildsystem=ruby dh_ruby --install /build/reproducible-path/ruby-axiom-types-0.1.1/debian/ruby-axiom-types -/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20240505-1205236-5txro3/gemspec +/usr/bin/ruby3.1 -S gem build --config-file /dev/null --verbose /tmp/d20250608-49226-dbvem4/gemspec Failed to load /dev/null because it doesn't contain valid YAML hash Successfully built RubyGem Name: axiom-types Version: 0.1.1 File: axiom-types-0.1.1.gem -/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-axiom-types/usr/share/rubygems-integration/all /tmp/d20240505-1205236-5txro3/axiom-types-0.1.1.gem +/usr/bin/ruby3.1 -S gem install --config-file /dev/null --verbose --local --verbose --no-document --ignore-dependencies --install-dir debian/ruby-axiom-types/usr/share/rubygems-integration/all /tmp/d20250608-49226-dbvem4/axiom-types-0.1.1.gem Failed to load /dev/null because it doesn't contain valid YAML hash /build/reproducible-path/ruby-axiom-types-0.1.1/debian/ruby-axiom-types/usr/share/rubygems-integration/all/gems/axiom-types-0.1.1/config/devtools.yml /build/reproducible-path/ruby-axiom-types-0.1.1/debian/ruby-axiom-types/usr/share/rubygems-integration/all/gems/axiom-types-0.1.1/config/flay.yml @@ -947,389 +983,773 @@ RUBYLIB=. GEM_PATH=/build/reproducible-path/ruby-axiom-types-0.1.1/debian/ruby-axiom-types/usr/share/rubygems-integration/all:/build/reproducible-path/ruby-axiom-types-0.1.1/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake /usr/bin/ruby3.1 -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 spec/unit/axiom/types/class_methods/finalize_spec.rb --format documentation -Randomized with seed 62363 +Randomized with seed 7472 Axiom::Types.finalize finalizes the descendants -Top 1 slowest examples (0.02744 seconds, 91.7% of total time): +Top 1 slowest examples (0.01345 seconds, 88.2% of total time): Axiom::Types.finalize finalizes the descendants - 0.02744 seconds ./spec/unit/axiom/types/class_methods/finalize_spec.rb:13 + 0.01345 seconds ./spec/unit/axiom/types/class_methods/finalize_spec.rb:13 -Finished in 0.02992 seconds (files took 0.17809 seconds to load) +Finished in 0.01526 seconds (files took 0.13494 seconds to load) 1 example, 0 failures -Randomized with seed 62363 +Randomized with seed 7472 /usr/bin/ruby3.1 -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 spec/unit/axiom/types/array/class_methods/infer_spec.rb spec/unit/axiom/types/boolean/class_methods/infer_spec.rb spec/unit/axiom/types/class_methods/infer_spec.rb spec/unit/axiom/types/collection/class_methods/finalize_spec.rb spec/unit/axiom/types/collection/class_methods/infer_spec.rb spec/unit/axiom/types/encodable/class_methods/extended_spec.rb spec/unit/axiom/types/encodable/finalize_spec.rb spec/unit/axiom/types/hash/class_methods/finalize_spec.rb spec/unit/axiom/types/hash/class_methods/infer_spec.rb spec/unit/axiom/types/infinity/coerce_spec.rb spec/unit/axiom/types/infinity/spaceship_operator_spec.rb spec/unit/axiom/types/infinity/succ_spec.rb spec/unit/axiom/types/length_comparable/class_methods/extended_spec.rb spec/unit/axiom/types/length_comparable/finalize_spec.rb spec/unit/axiom/types/length_comparable/range_spec.rb spec/unit/axiom/types/negative_infinity/spaceship_operator_spec.rb spec/unit/axiom/types/object/class_methods/coercion_method_spec.rb spec/unit/axiom/types/object/class_methods/finalize_spec.rb spec/unit/axiom/types/object/class_methods/infer_spec.rb spec/unit/axiom/types/object/class_methods/inspect_spec.rb spec/unit/axiom/types/object/class_methods/primitive_spec.rb spec/unit/axiom/types/options/accept_options_spec.rb spec/unit/axiom/types/options/inherited_spec.rb spec/unit/axiom/types/set/class_methods/infer_spec.rb spec/unit/axiom/types/type/class_methods/anonymous_predicate_spec.rb spec/unit/axiom/types/type/class_methods/base_predicate_spec.rb spec/unit/axiom/types/type/class_methods/base_spec.rb spec/unit/axiom/types/type/class_methods/constraint_spec.rb spec/unit/axiom/types/type/class_methods/finalize_spec.rb spec/unit/axiom/types/type/class_methods/include_predicate_spec.rb spec/unit/axiom/types/type/class_methods/includes_spec.rb spec/unit/axiom/types/type/class_methods/infer_spec.rb spec/unit/axiom/types/type/class_methods/new_spec.rb spec/unit/axiom/types/value_comparable/class_methods/extended_spec.rb spec/unit/axiom/types/value_comparable/finalize_spec.rb spec/unit/axiom/types/value_comparable/range_spec.rb --format documentation -Randomized with seed 28711 +Randomized with seed 4252 -Axiom::Types::Type.constraint - with a block - creates a constraint that matches a number > 1 - constraint - is expected to respond to #call - with another constraint - creates a constraint that matches a number > 1 and < 3 - constraint - is expected to respond to #call - with no arguments or block - is expected to respond to #call - is expected to equal # - with a callable object - creates a constraint that matches a number > 1 - with another constraint - creates a constraint that matches a number > 1 and < 3 - constraint - is expected to respond to #call - constraint - is expected to respond to #call +Axiom::Types::Array.infer + with Axiom::Types::Array subclass + when the argument is ::Array + is expected to equal Axiom::Types::Array (Array) + when the argument is an Array with a primitive + is expected to be nil + when the argument is nil + is expected to be nil + when the argument is an Array with a type + is expected to be nil + when the argument is an empty Array + is expected to equal Axiom::Types::Array (Array) + when the argument is the type object + is expected to equal Axiom::Types::Array (Array) + with Axiom::Types::Array + when the argument is an empty Array + is expected to equal Axiom::Types::Array (Array) + when the argument is ::Array + is expected to equal Axiom::Types::Array (Array) + when the argument is the type object + is expected to equal Axiom::Types::Array (Array) + when the argument is nil + is expected to be nil + when the argument is an Array with a primitive + member_type + is expected to equal Axiom::Types::Array (Array) + ancestors + is expected to include Axiom::Types::Array (Array) + primitive + is expected to equal Array + when the argument is an Array with a type + member_type + is expected to equal Axiom::Types::Array (Array) + primitive + is expected to equal Array + ancestors + is expected to include Axiom::Types::Array (Array) + +Axiom::Types::Type.base? + when the type is anonymous + is expected to equal false + when the type is named + is expected to equal true + +Axiom::Types::Encodable.extended + sets the encoding default to UTF-8 + delegates to the ancestor + adds encoding method + +Axiom::Types::Type.infer + when the argument is Axiom::Types::Date + does not match any other type + when the argument is Axiom::Types::Float + does not match any other type + when the argument is Axiom::Types::Decimal + does not match any other type + when the argument is Axiom::Types::Set + does not match any other type + when the argument is Axiom::Types::Hash + does not match any other type + when the argument is Axiom::Types::Boolean + does not match any other type + when the argument is the type object + is expected to equal Axiom::Types::Type + when the argument is Axiom::Types::Collection + does not match any other type + when the argument is Axiom::Types::Numeric + does not match any other type + when the argument is Axiom::Types::Array + does not match any other type + when the argument is Axiom::Types::String + does not match any other type + when the argument is Axiom::Types::Time + does not match any other type + when the argument is Axiom::Types::Symbol + does not match any other type + when the argument is Axiom::Types::Object + does not match any other type + when the argument is Axiom::Types::Class + does not match any other type + when the argument is Axiom::Types::Integer + does not match any other type + when the argument is Axiom::Types::DateTime + does not match any other type + +Axiom::Types::Type.base + when the type is named + is expected to equal Axiom::Types::Type + when the type is anonymous + is expected to equal Axiom::Types::Type + +Axiom::Types::ValueComparable#finalize + is expected to be frozen + adds a constraint that returns false for a value not within range + adds a constraint that returns true for a value within range + constraint + is expected to be frozen + range + is expected to be frozen + +Axiom::Types::Object.coercion_method + with no arguments + is expected to equal :to_object + with a symbol + sets the coercion_method + +Axiom::Types::Type.finalize + is expected to be frozen + constraint + is expected to be frozen + +Axiom::Types::ValueComparable#range + is expected to be frozen + is expected to eql 1 and 2 + +Axiom::Types::Hash.infer + with Axiom::Types::Hash subclass + with an Hash with key and value primitives + is expected to be nil + with a nil + is expected to be nil + with an Hash with a nil key and value type + is expected to be nil + with an Hash with a key primitive and nil value + is expected to be nil + when the argument is ::Hash + is expected to equal Axiom::Types::Hash (Hash) + with an Hash with a key type and nil value + is expected to be nil + with an Hash with key and value types + is expected to be nil + when the argument is the type object + is expected to equal Axiom::Types::Hash (Hash) + with an empty Hash + is expected to equal Axiom::Types::Hash (Hash) + with an Hash with a nil key and value primitive + is expected to be nil + with Axiom::Types::Hash + with an Hash with a nil key and value type + value_type + is expected to equal Axiom::Types::Hash (Hash) + key_type + is expected to equal Axiom::Types::Object (BasicObject) + primitive + is expected to equal Hash + ancestors + is expected to include Axiom::Types::Hash (Hash) + with a type object + is expected to equal Axiom::Types::Hash (Hash) + with an Hash with key and value types + primitive + is expected to equal Hash + ancestors + is expected to include Axiom::Types::Hash (Hash) + key_type + is expected to equal Axiom::Types::Hash (Hash) + value_type + is expected to equal Axiom::Types::Hash (Hash) + with an empty Hash + is expected to equal Axiom::Types::Hash (Hash) + with a ::Hash + is expected to equal Axiom::Types::Hash (Hash) + when the argument is nil + is expected to be nil + with an Hash with a key primitive and nil value + primitive + is expected to equal Hash + key_type + is expected to equal Axiom::Types::Hash (Hash) + value_type + is expected to equal Axiom::Types::Object (BasicObject) + ancestors + is expected to include Axiom::Types::Hash (Hash) + with an Hash with a key type and nil value + primitive + is expected to equal Hash + ancestors + is expected to include Axiom::Types::Hash (Hash) + key_type + is expected to equal Axiom::Types::Hash (Hash) + value_type + is expected to equal Axiom::Types::Object (BasicObject) + with an Hash with key and value primitives + value_type + is expected to equal Axiom::Types::Hash (Hash) + key_type + is expected to equal Axiom::Types::Hash (Hash) + primitive + is expected to equal Hash + ancestors + is expected to include Axiom::Types::Hash (Hash) + with an Hash with a nil key and value primitive + key_type + is expected to equal Axiom::Types::Object (BasicObject) + ancestors + is expected to include Axiom::Types::Hash (Hash) + primitive + is expected to equal Hash + value_type + is expected to equal Axiom::Types::Hash (Hash) + +Axiom::Types::Type.include? + when the value matches the type constraint + is expected to equal true + when the value does not match the type constraint + is expected to equal false Axiom::Types::Object.infer + with a subclass + when the argument is ::Object + is expected to be nil + when the argument is an ::Object instance + is expected to be nil + when the argument is the type object + is expected to equal Axiom::Types::Object (Struct) + when the argument is nil + is expected to be nil + when the argument is ::Struct + is expected to equal Axiom::Types::Object (Struct) + when the argument is a ::Struct instance + is expected to be nil + when the argument is ::BasicObject + is expected to be nil with the type - when the argument is Axiom::Types::DateTime - is expected to equal Axiom::Types::DateTime (DateTime) + when the argument is Axiom::Types::Numeric + is expected to equal Axiom::Types::Numeric (Numeric) + when the argument is ::BasicObject + is expected to equal Axiom::Types::Object (BasicObject) + when the argument is ::Array + is expected to equal Axiom::Types::Object (BasicObject) when the argument is Axiom::Types::Boolean is expected to equal Axiom::Types::Boolean (BasicObject) - when the argument is ::Float + when the argument is ::Hash is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::Class + when the argument is ::BigDecimal is expected to equal Axiom::Types::Object (BasicObject) - when the argument is Axiom::Types::Decimal - is expected to equal Axiom::Types::Decimal (BigDecimal) - when the argument is Axiom::Types::Set - is expected to equal Axiom::Types::Set (Set) - when the argument is Axiom::Types::Time - is expected to equal Axiom::Types::Time (Time) - when the argument is ::Object + when the argument is ::Symbol is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::BasicObject + when the argument is an ::Object instance + is expected to be nil + when the argument is Axiom::Types::Date + is expected to equal Axiom::Types::Date (Date) + when the argument is ::Float + is expected to equal Axiom::Types::Object (BasicObject) + when the argument is ::Numeric is expected to equal Axiom::Types::Object (BasicObject) - when the argument is Axiom::Types::Array - is expected to equal Axiom::Types::Array (Array) - when the argument is Axiom::Types::Hash - is expected to equal Axiom::Types::Hash (Hash) when the argument is the type object is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::BigDecimal + when the argument is nil + is expected to be nil + when the argument is ::Enumerable is expected to equal Axiom::Types::Object (BasicObject) when the argument is ::Integer is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::Hash + when the argument is ::Object is expected to equal Axiom::Types::Object (BasicObject) - when the argument is Axiom::Types::Date - is expected to equal Axiom::Types::Date (Date) - when the argument is ::Time + when the argument is Axiom::Types::Time + is expected to equal Axiom::Types::Time (Time) + when the argument is Axiom::Types::DateTime + is expected to equal Axiom::Types::DateTime (DateTime) + when the argument is ::Date is expected to equal Axiom::Types::Object (BasicObject) + when the argument is Axiom::Types::Decimal + is expected to equal Axiom::Types::Decimal (BigDecimal) + when the argument is Axiom::Types::Symbol + is expected to equal Axiom::Types::Symbol (Symbol) when the argument is ::String is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::Symbol - is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::DateTime - is expected to equal Axiom::Types::Object (BasicObject) - when the argument is ::BasicObject - is expected to equal Axiom::Types::Object (BasicObject) + when the argument is Axiom::Types::Hash + is expected to equal Axiom::Types::Hash (Hash) + when the argument is Axiom::Types::Integer + is expected to equal Axiom::Types::Integer (Integer) when the argument is Axiom::Types::String is expected to equal Axiom::Types::String (String) - when the argument is an ::Object instance - is expected to be nil - when the argument is ::Numeric - is expected to equal Axiom::Types::Object (BasicObject) when the argument is Axiom::Types::Float is expected to equal Axiom::Types::Float (Float) - when the argument is ::Date + when the argument is ::Time is expected to equal Axiom::Types::Object (BasicObject) - when the argument is Axiom::Types::Symbol - is expected to equal Axiom::Types::Symbol (Symbol) - when the argument is ::Enumerable + when the argument is Axiom::Types::Class + is expected to equal Axiom::Types::Class (Class) + when the argument is ::Class + is expected to equal Axiom::Types::Object (BasicObject) + when the argument is ::DateTime is expected to equal Axiom::Types::Object (BasicObject) - when the argument is Axiom::Types::Numeric - is expected to equal Axiom::Types::Numeric (Numeric) when the argument is ::Set is expected to equal Axiom::Types::Object (BasicObject) - when the argument is nil - is expected to be nil - when the argument is Axiom::Types::Integer - is expected to equal Axiom::Types::Integer (Integer) when the argument is Axiom::Types::Collection is expected to equal Axiom::Types::Object (Enumerable) - when the argument is ::Array + when the argument is Axiom::Types::Set + is expected to equal Axiom::Types::Set (Set) + when the argument is Axiom::Types::Array + is expected to equal Axiom::Types::Array (Array) + when the argument is ::BasicObject is expected to equal Axiom::Types::Object (BasicObject) - when the argument is Axiom::Types::Class - is expected to equal Axiom::Types::Class (Class) - with a subclass - when the argument is ::Object - is expected to be nil + +Axiom::Types::Object.inspect + is expected to eql "Axiom::Types::Object (BasicObject)" + +Axiom::Types.infer + when the type is Date + is expected to equal Axiom::Types::Date (Date) + when the type is Set + is expected to equal Axiom::Types::Set (Set) + when the type is DateTime + is expected to equal Axiom::Types::DateTime (DateTime) + when the type is Axiom::Types::Array + is expected to equal Axiom::Types::Array (Array) + when the type is TrueClass + is expected to equal Axiom::Types::Boolean (BasicObject) + when the type is Axiom::Types::Collection + is expected to equal Axiom::Types::Object (Enumerable) + when the type is String + is expected to equal Axiom::Types::String (String) + when the type is Axiom::Types::Integer + is expected to equal Axiom::Types::Integer (Integer) + when the type is Axiom::Types::String + is expected to equal Axiom::Types::String (String) + when the type is Axiom::Types::Float + is expected to equal Axiom::Types::Float (Float) + when the type is Numeric + is expected to equal Axiom::Types::Numeric (Numeric) + when the type is BigDecimal + is expected to equal Axiom::Types::Decimal (BigDecimal) + with a custom type + is expected to equal Axiom::Types::String (String) + when the type is Axiom::Types::Object + is expected to equal Axiom::Types::Object (BasicObject) + when the type is Integer + is expected to equal Axiom::Types::Integer (Integer) + when the type is Float + is expected to equal Axiom::Types::Float (Float) + when the type is Axiom::Types::Set + is expected to equal Axiom::Types::Set (Set) + when the type is Hash + is expected to equal Axiom::Types::Hash (Hash) + when the type is Axiom::Types::Time + is expected to equal Axiom::Types::Time (Time) + when the type is Enumerable + is expected to equal Axiom::Types::Object (Enumerable) + when the type is Symbol + is expected to equal Axiom::Types::Symbol (Symbol) + when the type is Axiom::Types::Boolean + is expected to equal Axiom::Types::Boolean (BasicObject) + when the type is Time + is expected to equal Axiom::Types::Time (Time) + when the type is Axiom::Types::DateTime + is expected to equal Axiom::Types::DateTime (DateTime) + when the type is BasicObject + is expected to equal Axiom::Types::Object (BasicObject) + when the type is Axiom::Types::Date + is expected to equal Axiom::Types::Date (Date) + when the type is Axiom::Types::Class + is expected to equal Axiom::Types::Class (Class) + when the type is Array + is expected to equal Axiom::Types::Array (Array) + when the type is Class + is expected to equal Axiom::Types::Class (Class) + when the type is Axiom::Types::Hash + is expected to equal Axiom::Types::Hash (Hash) + when the type is Axiom::Types::Decimal + is expected to equal Axiom::Types::Decimal (BigDecimal) + when the type is Axiom::Types::Symbol + is expected to equal Axiom::Types::Symbol (Symbol) + when the type is Axiom::Types::Numeric + is expected to equal Axiom::Types::Numeric (Numeric) + when the type is FalseClass + is expected to equal Axiom::Types::Boolean (BasicObject) + +Axiom::Types::Options#inherited + delegates to the ancestor + sets the default value for the descendant + adds the accepted option to the descendant + +Axiom::Types::Set.infer + with Axiom::Types::Set + when the argument is an Set with a primitive + ancestors + is expected to include Axiom::Types::Set (Set) + member_type + is expected to equal Axiom::Types::Set (Set) + primitive + is expected to equal Set + when the argument is ::Set + is expected to equal Axiom::Types::Set (Set) + when the argument is an empty Set + is expected to equal Axiom::Types::Set (Set) when the argument is the type object - is expected to equal Axiom::Types::Object (Struct) - when the argument is a ::Struct instance + is expected to equal Axiom::Types::Set (Set) + when the argument is an Set with a type + primitive + is expected to equal Set + ancestors + is expected to include Axiom::Types::Set (Set) + member_type + is expected to equal Axiom::Types::Set (Set) + when the argument is nil is expected to be nil - when the argument is ::BasicObject + with Axiom::Types::Set subclass + when the argument is an Set with a primitive is expected to be nil when the argument is nil is expected to be nil - when the argument is ::Struct - is expected to equal Axiom::Types::Object (Struct) - when the argument is an ::Object instance + when the argument is an Set with a type is expected to be nil - -Axiom::Types::Object.primitive - with no arguments - is expected to equal BasicObject - with a class - sets the primitive + when the argument is the type object + is expected to equal Axiom::Types::Set (Set) + when the argument is ::Set + is expected to equal Axiom::Types::Set (Set) + when the argument is an empty Set + is expected to equal Axiom::Types::Set (Set) Axiom::Types::LengthComparable#finalize - is expected to be frozen adds a constraint that returns false for a length not within range + is expected to be frozen adds a constraint that returns true for a length within range - range - is expected to be frozen constraint is expected to be frozen + range + is expected to be frozen -Axiom::Types::ValueComparable#range - is expected to be frozen - is expected to eql 1 and 2 +Axiom::Types::Type.constraint + with a callable object + creates a constraint that matches a number > 1 + constraint + is expected to respond to #call + with another constraint + creates a constraint that matches a number > 1 and < 3 + constraint + is expected to respond to #call + with no arguments or block + is expected to equal # + is expected to respond to #call + with a block + creates a constraint that matches a number > 1 + constraint + is expected to respond to #call + with another constraint + creates a constraint that matches a number > 1 and < 3 + constraint + is expected to respond to #call -Axiom::Types::Boolean.infer - when the argument is nil - is expected to be nil - when the argument is ::TrueClass - is expected to equal Axiom::Types::Boolean (BasicObject) - when the argument is ::FalseClass - is expected to equal Axiom::Types::Boolean (BasicObject) - when the argument is the type object - is expected to equal Axiom::Types::Boolean (BasicObject) - when the argument is not nil - is expected to be nil +Axiom::Types::Collection.finalize + with custom member constraints + is expected to be frozen + adds a constraint that returns true for a valid member + adds a constraint that returns false for an invalid member + constraint + is expected to be frozen + with the default member constraints + adds a constraint that returns true for a collection + is expected to be frozen + adds a constraint that returns false for a non-collection + constraint + is expected to be frozen -Axiom::Types::Encodable#finalize - when an ascii compatible encoding (UTF-8) is used - adds a constraint that returns true for Big5-HKSCS encoding - adds a constraint that returns true for IBM862 encoding - adds a constraint that returns true for Windows-874 encoding - adds a constraint that returns true for ISO-8859-9 encoding - adds a constraint that returns true for SJIS-DoCoMo encoding - adds a constraint that returns true for macThai encoding - adds a constraint that returns true for macTurkish encoding - adds a constraint that returns false for UTF-16BE encoding - adds a constraint that returns true for ASCII-8BIT encoding - adds a constraint that returns false for UTF-16LE encoding - adds a constraint that returns true for IBM437 encoding - adds a constraint that returns true for Windows-1254 encoding - adds a constraint that returns true for ISO-8859-6 encoding - adds a constraint that returns true for Windows-1252 encoding - adds a constraint that returns true for eucJP-ms encoding - adds a constraint that returns true for Big5 encoding - adds a constraint that returns true for ISO-8859-15 encoding - adds a constraint that returns true for KOI8-R encoding - adds a constraint that returns true for CP852 encoding - adds a constraint that returns true for Big5-UAO encoding - adds a constraint that returns true for IBM855 encoding - adds a constraint that returns true for GB12345 encoding - adds a constraint that returns true for ISO-8859-8 encoding - adds a constraint that returns false for UTF-7 encoding - adds a constraint that returns true for macRomania encoding - adds a constraint that returns false for CP50221 encoding - adds a constraint that returns true for macCyrillic encoding - adds a constraint that returns true for Windows-1253 encoding - adds a constraint that returns true for CP850 encoding - adds a constraint that returns true for macGreek encoding - adds a constraint that returns true for IBM865 encoding - adds a constraint that returns true for CP949 encoding - adds a constraint that returns true for EUC-TW encoding - adds a constraint that returns true for Windows-1257 encoding - adds a constraint that returns false for UTF-32BE encoding - adds a constraint that returns false for UTF-32LE encoding - adds a constraint that returns true for macCentEuro encoding - adds a constraint that returns true for UTF8-KDDI encoding - adds a constraint that returns true for TIS-620 encoding - adds a constraint that returns true for Emacs-Mule encoding - adds a constraint that returns true for ISO-8859-7 encoding - adds a constraint that returns true for GB1988 encoding - adds a constraint that returns true for IBM866 encoding - adds a constraint that returns true for IBM864 encoding - adds a constraint that returns true for ISO-8859-5 encoding - adds a constraint that returns true for Windows-1256 encoding - adds a constraint that returns true for SJIS-SoftBank encoding - adds a constraint that returns true for IBM857 encoding - adds a constraint that returns false for ISO-2022-JP-KDDI encoding - adds a constraint that returns false for CP50220 encoding - adds a constraint that returns true for ISO-8859-1 encoding - adds a constraint that returns true for ISO-8859-13 encoding - adds a constraint that returns false for ISO-2022-JP encoding - adds a constraint that returns true for Windows-1251 encoding - adds a constraint that returns true for ISO-8859-4 encoding - adds a constraint that returns true for GB2312 encoding - adds a constraint that returns true for Shift_JIS encoding - adds a constraint that returns true for ISO-8859-10 encoding - adds a constraint that returns true for IBM863 encoding - adds a constraint that returns true for macIceland encoding - adds a constraint that returns true for US-ASCII encoding - adds a constraint that returns true for UTF8-MAC encoding - adds a constraint that returns true for GBK encoding - adds a constraint that returns true for UTF8-SoftBank encoding - adds a constraint that returns true for IBM737 encoding - adds a constraint that returns true for IBM860 encoding - adds a constraint that returns true for CP951 encoding - adds a constraint that returns true for macCroatian encoding - adds a constraint that returns true for ISO-8859-2 encoding - adds a constraint that returns false for UTF-16 encoding - adds a constraint that returns true for IBM775 encoding - adds a constraint that returns true for SJIS-KDDI encoding - adds a constraint that returns true for Windows-1255 encoding - adds a constraint that returns true for macUkraine encoding - adds a constraint that returns true for EUC-JIS-2004 encoding - adds a constraint that returns true for CESU-8 encoding - adds a constraint that returns true for IBM861 encoding - adds a constraint that returns true for IBM852 encoding +Axiom::Types::Hash.finalize + with the default key and value constraints + adds a constraint that returns false for a non-Hash is expected to be frozen - adds a constraint that returns true for Windows-1258 encoding - adds a constraint that returns true for IBM869 encoding - adds a constraint that returns false for ISO-2022-JP-2 encoding - adds a constraint that returns true for EUC-KR encoding - adds a constraint that returns true for IBM720 encoding - adds a constraint that returns true for stateless-ISO-2022-JP encoding - adds a constraint that returns true for MacJapanese encoding - adds a constraint that returns false for IBM037 encoding - adds a constraint that returns true for Windows-1250 encoding - adds a constraint that returns true for Windows-31J encoding - adds a constraint that returns false for UTF-32 encoding - adds a constraint that returns true for ISO-8859-3 encoding - adds a constraint that returns true for ISO-8859-14 encoding - adds a constraint that returns true for KOI8-U encoding - adds a constraint that returns true for CP855 encoding - adds a constraint that returns true for EUC-JP encoding - adds a constraint that returns true for stateless-ISO-2022-JP-KDDI encoding - adds a constraint that returns true for CP51932 encoding - adds a constraint that returns true for CP950 encoding - adds a constraint that returns true for GB18030 encoding - adds a constraint that returns true for ISO-8859-11 encoding - adds a constraint that returns true for macRoman encoding - adds a constraint that returns true for ISO-8859-16 encoding - adds a constraint that returns true for UTF8-DoCoMo encoding - adds a constraint that returns true for UTF-8 encoding + adds a constraint that returns true for a Hash constraint is expected to be frozen + with custom key and value constraints + adds a constraint that returns false for an invalid value + adds a constraint that returns true for valid keys and values + is expected to be frozen + adds a constraint that returns false for an invalid key + constraint + is expected to be frozen + +Axiom::Types::Object.primitive + with a class + sets the primitive + with no arguments + is expected to equal BasicObject + +Axiom::Types::Encodable#finalize when an non-ascii compatible encoding (UTF-16BE) is used - adds a constraint that returns false for UTF-32BE encoding - adds a constraint that returns false for Big5-UAO encoding - adds a constraint that returns false for macRomania encoding - adds a constraint that returns false for IBM860 encoding - adds a constraint that returns false for ISO-2022-JP-KDDI encoding - adds a constraint that returns false for Windows-1255 encoding - adds a constraint that returns false for stateless-ISO-2022-JP-KDDI encoding - adds a constraint that returns false for IBM864 encoding - adds a constraint that returns false for UTF-7 encoding - adds a constraint that returns false for Windows-1251 encoding + adds a constraint that returns false for MacJapanese encoding + adds a constraint that returns false for IBM852 encoding + adds a constraint that returns false for macTurkish encoding adds a constraint that returns false for UTF-16LE encoding - adds a constraint that returns false for IBM720 encoding - adds a constraint that returns false for IBM866 encoding + adds a constraint that returns false for IBM855 encoding + adds a constraint that returns false for IBM857 encoding + adds a constraint that returns false for ISO-8859-14 encoding + adds a constraint that returns false for macIceland encoding + adds a constraint that returns false for IBM737 encoding + is expected to be frozen + adds a constraint that returns false for KOI8-U encoding + adds a constraint that returns false for CP51932 encoding + adds a constraint that returns false for UTF-32LE encoding adds a constraint that returns false for CP50221 encoding - adds a constraint that returns false for CP852 encoding - adds a constraint that returns false for Windows-1257 encoding - adds a constraint that returns false for eucJP-ms encoding - adds a constraint that returns false for IBM775 encoding - adds a constraint that returns false for CP50220 encoding - adds a constraint that returns false for UTF8-DoCoMo encoding - adds a constraint that returns false for IBM865 encoding + adds a constraint that returns false for Big5-UAO encoding + adds a constraint that returns false for Windows-1256 encoding + adds a constraint that returns false for Windows-1255 encoding + adds a constraint that returns false for macCyrillic encoding adds a constraint that returns false for ISO-8859-13 encoding + adds a constraint that returns false for CP50220 encoding + adds a constraint that returns false for ISO-2022-JP encoding + adds a constraint that returns false for macGreek encoding + adds a constraint that returns false for ISO-8859-10 encoding + adds a constraint that returns false for IBM864 encoding adds a constraint that returns false for CP949 encoding - adds a constraint that returns false for Windows-1253 encoding - adds a constraint that returns false for CP855 encoding - adds a constraint that returns false for Big5-HKSCS encoding + adds a constraint that returns false for SJIS-KDDI encoding + adds a constraint that returns false for CP950 encoding + adds a constraint that returns false for ISO-8859-15 encoding adds a constraint that returns false for UTF-16 encoding adds a constraint that returns false for GB18030 encoding - adds a constraint that returns false for GB1988 encoding - adds a constraint that returns false for SJIS-KDDI encoding - adds a constraint that returns false for ISO-8859-5 encoding - adds a constraint that returns false for US-ASCII encoding - adds a constraint that returns false for ISO-8859-3 encoding - adds a constraint that returns false for EUC-JP encoding - adds a constraint that returns false for ISO-8859-4 encoding - adds a constraint that returns false for Windows-31J encoding - adds a constraint that returns false for GBK encoding - adds a constraint that returns false for IBM737 encoding - adds a constraint that returns false for UTF8-MAC encoding - adds a constraint that returns false for KOI8-U encoding + adds a constraint that returns false for Windows-1253 encoding + adds a constraint that returns false for IBM863 encoding + adds a constraint that returns false for Windows-1257 encoding + adds a constraint that returns false for Big5 encoding + adds a constraint that returns false for IBM865 encoding adds a constraint that returns false for UTF-32 encoding - adds a constraint that returns false for Shift_JIS encoding - adds a constraint that returns false for IBM855 encoding - adds a constraint that returns false for SJIS-DoCoMo encoding - adds a constraint that returns false for UTF8-SoftBank encoding - adds a constraint that returns false for macIceland encoding - adds a constraint that returns false for EUC-TW encoding - is expected to be frozen - adds a constraint that returns false for ISO-2022-JP encoding - adds a constraint that returns false for macCroatian encoding + adds a constraint that returns false for macThai encoding + adds a constraint that returns false for Big5-HKSCS encoding + adds a constraint that returns false for Emacs-Mule encoding + adds a constraint that returns false for GB1988 encoding + adds a constraint that returns false for Windows-1254 encoding + adds a constraint that returns false for CP855 encoding + adds a constraint that returns false for ISO-8859-8 encoding + adds a constraint that returns false for ISO-2022-JP-2 encoding + adds a constraint that returns false for CP852 encoding + adds a constraint that returns false for ISO-8859-16 encoding adds a constraint that returns false for macCentEuro encoding adds a constraint that returns false for macRoman encoding - adds a constraint that returns false for Windows-1258 encoding - adds a constraint that returns false for CESU-8 encoding - adds a constraint that returns false for Big5 encoding - adds a constraint that returns false for Windows-1254 encoding - adds a constraint that returns false for IBM863 encoding - adds a constraint that returns false for macThai encoding - adds a constraint that returns false for UTF-8 encoding - adds a constraint that returns false for ISO-8859-1 encoding + adds a constraint that returns false for KOI8-R encoding + adds a constraint that returns false for IBM775 encoding + adds a constraint that returns false for ISO-8859-7 encoding + adds a constraint that returns false for IBM862 encoding + adds a constraint that returns false for macUkraine encoding + adds a constraint that returns false for IBM860 encoding + adds a constraint that returns false for UTF-7 encoding + adds a constraint that returns false for EUC-KR encoding + adds a constraint that returns false for IBM037 encoding + adds a constraint that returns false for macRomania encoding + adds a constraint that returns false for SJIS-SoftBank encoding + adds a constraint that returns false for GBK encoding + adds a constraint that returns false for ISO-8859-2 encoding + adds a constraint that returns false for EUC-TW encoding adds a constraint that returns false for IBM861 encoding - adds a constraint that returns false for IBM437 encoding adds a constraint that returns false for Windows-1250 encoding - adds a constraint that returns false for IBM862 encoding + adds a constraint that returns false for eucJP-ms encoding + adds a constraint that returns false for EUC-JIS-2004 encoding + adds a constraint that returns false for ISO-8859-6 encoding + adds a constraint that returns false for Windows-1251 encoding adds a constraint that returns false for ISO-8859-9 encoding - adds a constraint that returns false for ISO-8859-2 encoding - adds a constraint that returns false for CP850 encoding - adds a constraint that returns false for macGreek encoding + adds a constraint that returns false for IBM437 encoding + adds a constraint that returns false for ISO-8859-5 encoding + adds a constraint that returns false for UTF-8 encoding + adds a constraint that returns false for UTF8-MAC encoding + adds a constraint that returns false for UTF-32BE encoding + adds a constraint that returns false for Windows-1258 encoding + adds a constraint that returns true for UTF-16BE encoding + adds a constraint that returns false for SJIS-DoCoMo encoding + adds a constraint that returns false for UTF8-DoCoMo encoding adds a constraint that returns false for UTF8-KDDI encoding - adds a constraint that returns false for ISO-8859-8 encoding - adds a constraint that returns false for CP951 encoding - adds a constraint that returns false for GB2312 encoding adds a constraint that returns false for IBM869 encoding - adds a constraint that returns true for UTF-16BE encoding - adds a constraint that returns false for IBM037 encoding - adds a constraint that returns false for macTurkish encoding - adds a constraint that returns false for ISO-8859-7 encoding - adds a constraint that returns false for ISO-8859-11 encoding - adds a constraint that returns false for EUC-JIS-2004 encoding - adds a constraint that returns false for CP950 encoding + adds a constraint that returns false for TIS-620 encoding + adds a constraint that returns false for Windows-31J encoding + adds a constraint that returns false for ISO-8859-3 encoding + adds a constraint that returns false for CP850 encoding + adds a constraint that returns false for ASCII-8BIT encoding + adds a constraint that returns false for CESU-8 encoding adds a constraint that returns false for GB12345 encoding - adds a constraint that returns false for ISO-8859-15 encoding - adds a constraint that returns false for Emacs-Mule encoding - adds a constraint that returns false for ISO-8859-14 encoding + adds a constraint that returns false for ISO-2022-JP-KDDI encoding + adds a constraint that returns false for ISO-8859-1 encoding + adds a constraint that returns false for ISO-8859-11 encoding + adds a constraint that returns false for Windows-874 encoding + adds a constraint that returns false for Shift_JIS encoding + adds a constraint that returns false for IBM866 encoding + adds a constraint that returns false for stateless-ISO-2022-JP encoding + adds a constraint that returns false for EUC-JP encoding + adds a constraint that returns false for stateless-ISO-2022-JP-KDDI encoding + adds a constraint that returns false for CP951 encoding + adds a constraint that returns false for US-ASCII encoding + adds a constraint that returns false for ISO-8859-4 encoding + adds a constraint that returns false for GB2312 encoding + adds a constraint that returns false for macCroatian encoding adds a constraint that returns false for Windows-1252 encoding - adds a constraint that returns false for Windows-1256 encoding - adds a constraint that returns false for macCyrillic encoding - adds a constraint that returns false for MacJapanese encoding - adds a constraint that returns false for ASCII-8BIT encoding - adds a constraint that returns false for IBM852 encoding - adds a constraint that returns false for SJIS-SoftBank encoding + adds a constraint that returns false for IBM720 encoding + adds a constraint that returns false for UTF8-SoftBank encoding + constraint + is expected to be frozen + when an ascii compatible encoding (UTF-8) is used + adds a constraint that returns true for ASCII-8BIT encoding + adds a constraint that returns true for GB2312 encoding + adds a constraint that returns true for CP855 encoding + adds a constraint that returns true for Windows-31J encoding + adds a constraint that returns true for IBM855 encoding + adds a constraint that returns true for UTF8-DoCoMo encoding + adds a constraint that returns true for EUC-KR encoding + adds a constraint that returns true for IBM852 encoding + adds a constraint that returns true for IBM861 encoding + adds a constraint that returns true for EUC-JP encoding + adds a constraint that returns true for Windows-1253 encoding + adds a constraint that returns true for ISO-8859-13 encoding + adds a constraint that returns false for ISO-2022-JP encoding + adds a constraint that returns true for CP949 encoding adds a constraint that returns false for UTF-32LE encoding - adds a constraint that returns false for CP51932 encoding - adds a constraint that returns false for Windows-874 encoding + adds a constraint that returns true for IBM865 encoding + adds a constraint that returns true for Windows-1256 encoding + adds a constraint that returns true for macCroatian encoding + adds a constraint that returns false for CP50221 encoding + adds a constraint that returns true for ISO-8859-5 encoding + adds a constraint that returns true for eucJP-ms encoding + adds a constraint that returns false for UTF-7 encoding + adds a constraint that returns true for TIS-620 encoding + adds a constraint that returns true for ISO-8859-11 encoding + adds a constraint that returns true for IBM437 encoding + adds a constraint that returns false for UTF-32BE encoding + adds a constraint that returns true for macThai encoding + adds a constraint that returns true for SJIS-KDDI encoding + adds a constraint that returns false for CP50220 encoding + adds a constraint that returns true for GB1988 encoding + adds a constraint that returns true for SJIS-DoCoMo encoding + adds a constraint that returns true for GB18030 encoding + adds a constraint that returns true for UTF-8 encoding + adds a constraint that returns true for ISO-8859-8 encoding + adds a constraint that returns true for ISO-8859-14 encoding + adds a constraint that returns true for MacJapanese encoding + adds a constraint that returns true for IBM857 encoding + adds a constraint that returns true for stateless-ISO-2022-JP-KDDI encoding + adds a constraint that returns true for SJIS-SoftBank encoding + adds a constraint that returns true for macRoman encoding + adds a constraint that returns true for CP950 encoding + adds a constraint that returns true for UTF8-MAC encoding + adds a constraint that returns true for ISO-8859-16 encoding + adds a constraint that returns true for ISO-8859-2 encoding adds a constraint that returns false for ISO-2022-JP-2 encoding - adds a constraint that returns false for IBM857 encoding - adds a constraint that returns false for ISO-8859-16 encoding - adds a constraint that returns false for KOI8-R encoding - adds a constraint that returns false for ISO-8859-10 encoding - adds a constraint that returns false for stateless-ISO-2022-JP encoding - adds a constraint that returns false for TIS-620 encoding - adds a constraint that returns false for ISO-8859-6 encoding - adds a constraint that returns false for macUkraine encoding - adds a constraint that returns false for EUC-KR encoding + adds a constraint that returns true for ISO-8859-7 encoding + adds a constraint that returns true for ISO-8859-3 encoding + adds a constraint that returns true for KOI8-U encoding + adds a constraint that returns true for Shift_JIS encoding + adds a constraint that returns true for ISO-8859-15 encoding + adds a constraint that returns true for IBM866 encoding + adds a constraint that returns true for EUC-TW encoding + adds a constraint that returns true for UTF8-KDDI encoding + adds a constraint that returns true for Windows-874 encoding + adds a constraint that returns true for macRomania encoding + adds a constraint that returns true for IBM864 encoding + adds a constraint that returns true for IBM869 encoding + adds a constraint that returns true for macCentEuro encoding + is expected to be frozen + adds a constraint that returns false for ISO-2022-JP-KDDI encoding + adds a constraint that returns false for UTF-16 encoding + adds a constraint that returns true for ISO-8859-4 encoding + adds a constraint that returns false for IBM037 encoding + adds a constraint that returns true for CP51932 encoding + adds a constraint that returns true for GBK encoding + adds a constraint that returns true for Windows-1251 encoding + adds a constraint that returns true for ISO-8859-9 encoding + adds a constraint that returns false for UTF-32 encoding + adds a constraint that returns true for US-ASCII encoding + adds a constraint that returns true for CESU-8 encoding + adds a constraint that returns true for CP852 encoding + adds a constraint that returns true for Windows-1252 encoding + adds a constraint that returns true for Windows-1258 encoding + adds a constraint that returns true for Windows-1257 encoding + adds a constraint that returns false for UTF-16LE encoding + adds a constraint that returns true for ISO-8859-6 encoding + adds a constraint that returns true for Big5-UAO encoding + adds a constraint that returns true for Windows-1254 encoding + adds a constraint that returns true for IBM860 encoding + adds a constraint that returns true for macIceland encoding + adds a constraint that returns true for macCyrillic encoding + adds a constraint that returns true for IBM720 encoding + adds a constraint that returns true for UTF8-SoftBank encoding + adds a constraint that returns true for Emacs-Mule encoding + adds a constraint that returns true for Big5-HKSCS encoding + adds a constraint that returns true for macUkraine encoding + adds a constraint that returns true for ISO-8859-1 encoding + adds a constraint that returns true for IBM863 encoding + adds a constraint that returns true for IBM775 encoding + adds a constraint that returns true for Big5 encoding + adds a constraint that returns true for Windows-1255 encoding + adds a constraint that returns true for IBM862 encoding + adds a constraint that returns true for ISO-8859-10 encoding + adds a constraint that returns true for CP951 encoding + adds a constraint that returns true for IBM737 encoding + adds a constraint that returns true for stateless-ISO-2022-JP encoding + adds a constraint that returns true for EUC-JIS-2004 encoding + adds a constraint that returns true for Windows-1250 encoding + adds a constraint that returns true for GB12345 encoding + adds a constraint that returns true for CP850 encoding + adds a constraint that returns true for KOI8-R encoding + adds a constraint that returns true for macTurkish encoding + adds a constraint that returns true for macGreek encoding + adds a constraint that returns false for UTF-16BE encoding constraint is expected to be frozen -Axiom::Types::LengthComparable#range - is expected to be frozen - is expected to eql 1 and 2 +Axiom::Types::Infinity#<=> + when the other object is negative infinity + is expected to equal 1 + is symmetric + when other object is a Float + is symmetric + is expected to equal 1 + when other object is a Rational + is symmetric + is expected to equal 1 + when other object is a Integer + is expected to equal 1 + is symmetric + when other object is a Integer + is expected to equal 1 + is symmetric + when the other object is not comparable + is expected to be nil + is symmetric + when other object is a BigDecimal + is expected to equal 1 + is symmetric + when the other object is Float::INFINITY + is symmetric + is expected to equal 0 + when the other object is infinity + is symmetric + is expected to equal 0 -Axiom::Types::Type.base - when the type is named - is expected to equal Axiom::Types::Type - when the type is anonymous - is expected to equal Axiom::Types::Type +Axiom::Types::ValueComparable.extended + does not set the default maximum + adds minimum method + adds maxumum method + delegates to the ancestor + does not set the default minimum + +Axiom::Types::Infinity#succ + is expected to equal # + +Axiom::Types::Options#accept_options + with an option that conflicts with an existing method + is expected to raise Axiom::Types::Options::ReservedMethodError with "method named `:name` is already defined" + with valid options + defines the instance variables for the options + adds methods to the object that can set a value + adds methods to the object + with the descendant class + option added after inherited + is idempotent + does not set the descendant defaults + adds methods to the descendant that can set a value + adds the method to the descendants + option added before inherited + adds the method to the descendants + sets the descendant defaults + is idempotent + adds methods to the descendant that can set a value Axiom::Types::Type.anonymous? when the type is anonymous @@ -1337,143 +1757,26 @@ when the type is named is expected to equal false -Axiom::Types::Type.infer - when the argument is Axiom::Types::DateTime - does not match any other type - when the argument is Axiom::Types::Boolean - does not match any other type - when the argument is Axiom::Types::Hash - does not match any other type - when the argument is Axiom::Types::String - does not match any other type - when the argument is Axiom::Types::Numeric - does not match any other type - when the argument is Axiom::Types::Object - does not match any other type - when the argument is the type object - is expected to equal Axiom::Types::Type - when the argument is Axiom::Types::Float - does not match any other type - when the argument is Axiom::Types::Integer - does not match any other type - when the argument is Axiom::Types::Array - does not match any other type - when the argument is Axiom::Types::Collection - does not match any other type - when the argument is Axiom::Types::Class - does not match any other type - when the argument is Axiom::Types::Time - does not match any other type - when the argument is Axiom::Types::Date - does not match any other type - when the argument is Axiom::Types::Set - does not match any other type - when the argument is Axiom::Types::Decimal - does not match any other type - when the argument is Axiom::Types::Symbol - does not match any other type - -Axiom::Types::Collection.infer - with a base class - when the argument is ::SortedSet - is expected to equal # (SortedSet) - when the argument is an empty SortedSet - is expected to equal # (SortedSet) - when the argument is nil - is expected to be nil - when the argument is an SortedSet with a primitive - primitive - is expected to equal SortedSet - member_type - is expected to equal # (SortedSet) - ancestors - is expected to include # (SortedSet) - when the argument is an SortedSet with a type - ancestors - is expected to include # (SortedSet) - primitive - is expected to equal SortedSet - member_type - is expected to equal # (SortedSet) - when the argument is the type object - is expected to equal # (SortedSet) - with the type - when the argument is ::Enumerable - is expected to equal Axiom::Types::Object (Enumerable) - when the argument is the type object - is expected to equal Axiom::Types::Object (Enumerable) - with a a non-base class - when the argument is an empty SortedSet - is expected to equal Axiom::Types::Object (SortedSet) - when the argument is an SortedSet with a type - is expected to be nil - when the argument is an SortedSet with a primitive - is expected to be nil - when the argument is the type object - is expected to equal Axiom::Types::Object (SortedSet) - when the argument is nil - is expected to be nil - when the argument is ::SortedSet - is expected to equal Axiom::Types::Object (SortedSet) - -Axiom::Types::Array.infer - with Axiom::Types::Array subclass - when the argument is an Array with a primitive - is expected to be nil - when the argument is nil - is expected to be nil - when the argument is the type object - is expected to equal Axiom::Types::Array (Array) - when the argument is an empty Array - is expected to equal Axiom::Types::Array (Array) - when the argument is ::Array - is expected to equal Axiom::Types::Array (Array) - when the argument is an Array with a type - is expected to be nil - with Axiom::Types::Array - when the argument is an Array with a type - member_type - is expected to equal Axiom::Types::Array (Array) - primitive - is expected to equal Array - ancestors - is expected to include Axiom::Types::Array (Array) - when the argument is ::Array - is expected to equal Axiom::Types::Array (Array) - when the argument is the type object - is expected to equal Axiom::Types::Array (Array) - when the argument is an empty Array - is expected to equal Axiom::Types::Array (Array) - when the argument is nil - is expected to be nil - when the argument is an Array with a primitive - member_type - is expected to equal Axiom::Types::Array (Array) - ancestors - is expected to include Axiom::Types::Array (Array) - primitive - is expected to equal Array - Axiom::Types::Type.new with a constraint and block - is expected to be an instance of Class is expected to be frozen has constraints + is expected to be an instance of Class ancestors is expected to include Axiom::Types::Type - with a block + with a constraint has constraints - is expected to be frozen is expected to be an instance of Class + is expected to be frozen ancestors is expected to include Axiom::Types::Type with no arguments - has no constraints is expected to be an instance of Class is expected to be frozen + has no constraints ancestors is expected to include Axiom::Types::Type - with a constraint + with a block is expected to be an instance of Class is expected to be frozen has constraints @@ -1481,317 +1784,58 @@ is expected to include Axiom::Types::Type Axiom::Types::Infinity#coerce - when other is a Integer - coerces into an array containing inverse and self - coerces when comparing when other is a BigDecimal coerces when comparing coerces into an array containing inverse and self - when other is a Float - coerces when comparing + when other is a -Float::INFINITY coerces into an array containing inverse and self - when other is a Rational coerces when comparing + when other is a Float coerces into an array containing inverse and self + coerces when comparing when other is a Integer + coerces when comparing coerces into an array containing inverse and self + when other is a Integer coerces when comparing - when other is a -Float::INFINITY coerces into an array containing inverse and self + when other is not a number + is expected to raise TypeError with "String cannot be coerced" + when other is a Rational coerces when comparing + coerces into an array containing inverse and self when other is a Float::INFINITY coerces when comparing coerces into an array containing inverse and self - when other is not a number - is expected to raise TypeError with "String cannot be coerced" - -Axiom::Types::Options#accept_options - with valid options - defines the instance variables for the options - adds methods to the object - adds methods to the object that can set a value - with the descendant class - option added after inherited - does not set the descendant defaults - is idempotent - adds methods to the descendant that can set a value - adds the method to the descendants - option added before inherited - adds the method to the descendants - sets the descendant defaults - is idempotent - adds methods to the descendant that can set a value - with an option that conflicts with an existing method - is expected to raise Axiom::Types::Options::ReservedMethodError with "method named `:name` is already defined" - -Axiom::Types.infer - when the type is Numeric - is expected to equal Axiom::Types::Numeric (Numeric) - when the type is Axiom::Types::DateTime - is expected to equal Axiom::Types::DateTime (DateTime) - when the type is Symbol - is expected to equal Axiom::Types::Symbol (Symbol) - when the type is Axiom::Types::Time - is expected to equal Axiom::Types::Time (Time) - when the type is BigDecimal - is expected to equal Axiom::Types::Decimal (BigDecimal) - when the type is Axiom::Types::Class - is expected to equal Axiom::Types::Class (Class) - when the type is Axiom::Types::Numeric - is expected to equal Axiom::Types::Numeric (Numeric) - when the type is DateTime - is expected to equal Axiom::Types::DateTime (DateTime) - when the type is Axiom::Types::Decimal - is expected to equal Axiom::Types::Decimal (BigDecimal) - when the type is Enumerable - is expected to equal Axiom::Types::Object (Enumerable) - when the type is TrueClass - is expected to equal Axiom::Types::Boolean (BasicObject) - when the type is Axiom::Types::Array - is expected to equal Axiom::Types::Array (Array) - when the type is Date - is expected to equal Axiom::Types::Date (Date) - when the type is Axiom::Types::Float - is expected to equal Axiom::Types::Float (Float) - when the type is String - is expected to equal Axiom::Types::String (String) - when the type is Axiom::Types::Symbol - is expected to equal Axiom::Types::Symbol (Symbol) - when the type is Axiom::Types::String - is expected to equal Axiom::Types::String (String) - when the type is BasicObject - is expected to equal Axiom::Types::Object (BasicObject) - when the type is Float - is expected to equal Axiom::Types::Float (Float) - when the type is Axiom::Types::Set - is expected to equal Axiom::Types::Set (Set) - when the type is Axiom::Types::Collection - is expected to equal Axiom::Types::Object (Enumerable) - when the type is Integer - is expected to equal Axiom::Types::Integer (Integer) - when the type is Time - is expected to equal Axiom::Types::Time (Time) - when the type is Axiom::Types::Boolean - is expected to equal Axiom::Types::Boolean (BasicObject) - when the type is Axiom::Types::Hash - is expected to equal Axiom::Types::Hash (Hash) - when the type is Axiom::Types::Date - is expected to equal Axiom::Types::Date (Date) - when the type is Hash - is expected to equal Axiom::Types::Hash (Hash) - when the type is Axiom::Types::Object - is expected to equal Axiom::Types::Object (BasicObject) - with a custom type - is expected to equal Axiom::Types::String (String) - when the type is FalseClass - is expected to equal Axiom::Types::Boolean (BasicObject) - when the type is Array - is expected to equal Axiom::Types::Array (Array) - when the type is Axiom::Types::Integer - is expected to equal Axiom::Types::Integer (Integer) - when the type is Class - is expected to equal Axiom::Types::Class (Class) - when the type is Set - is expected to equal Axiom::Types::Set (Set) - -Axiom::Types::Type.base? - when the type is named - is expected to equal true - when the type is anonymous - is expected to equal false - -Axiom::Types::ValueComparable#finalize - is expected to be frozen - adds a constraint that returns true for a value within range - adds a constraint that returns false for a value not within range - range - is expected to be frozen - constraint - is expected to be frozen - -Axiom::Types::ValueComparable.extended - delegates to the ancestor - does not set the default minimum - adds minimum method - adds maxumum method - does not set the default maximum - -Axiom::Types::Object.inspect - is expected to eql "Axiom::Types::Object (BasicObject)" - -Axiom::Types::Encodable.extended - adds encoding method - delegates to the ancestor - sets the encoding default to UTF-8 Axiom::Types::Type.includes with an empty set adds a constraint that returns false with a non-empty list - freezes the members removes duplicate members - adds a constraint that returns false for an invalid member + freezes the members adds a constraint that returns true for a valid member - -Axiom::Types::Set.infer - with Axiom::Types::Set subclass - when the argument is an empty Set - is expected to equal Axiom::Types::Set (Set) - when the argument is an Set with a primitive - is expected to be nil - when the argument is the type object - is expected to equal Axiom::Types::Set (Set) - when the argument is an Set with a type - is expected to be nil - when the argument is nil - is expected to be nil - when the argument is ::Set - is expected to equal Axiom::Types::Set (Set) - with Axiom::Types::Set - when the argument is the type object - is expected to equal Axiom::Types::Set (Set) - when the argument is an Set with a primitive - primitive - is expected to equal Set - member_type - is expected to equal Axiom::Types::Set (Set) - ancestors - is expected to include Axiom::Types::Set (Set) - when the argument is an Set with a type - member_type - is expected to equal Axiom::Types::Set (Set) - primitive - is expected to equal Set - ancestors - is expected to include Axiom::Types::Set (Set) - when the argument is ::Set - is expected to equal Axiom::Types::Set (Set) - when the argument is an empty Set - is expected to equal Axiom::Types::Set (Set) - when the argument is nil - is expected to be nil - -Axiom::Types::LengthComparable.extended - sets the default minimum_length - sets the default maximum_length - adds minimum_length method - delegates to the ancestor - adds maxumum_length method - -Axiom::Types::Infinity#succ - is expected to equal # - -Axiom::Types::Type.include? - when the value does not match the type constraint - is expected to equal false - when the value matches the type constraint - is expected to equal true - -Axiom::Types::Hash.infer - with Axiom::Types::Hash subclass - with a nil - is expected to be nil - with an Hash with a key primitive and nil value - is expected to be nil - with an Hash with key and value types - is expected to be nil - when the argument is the type object - is expected to equal Axiom::Types::Hash (Hash) - with an empty Hash - is expected to equal Axiom::Types::Hash (Hash) - with an Hash with key and value primitives - is expected to be nil - with an Hash with a nil key and value primitive - is expected to be nil - when the argument is ::Hash - is expected to equal Axiom::Types::Hash (Hash) - with an Hash with a nil key and value type - is expected to be nil - with an Hash with a key type and nil value - is expected to be nil - with Axiom::Types::Hash - with an Hash with key and value primitives - value_type - is expected to equal Axiom::Types::Hash (Hash) - primitive - is expected to equal Hash - ancestors - is expected to include Axiom::Types::Hash (Hash) - key_type - is expected to equal Axiom::Types::Hash (Hash) - with a ::Hash - is expected to equal Axiom::Types::Hash (Hash) - with a type object - is expected to equal Axiom::Types::Hash (Hash) - with an Hash with a nil key and value type - primitive - is expected to equal Hash - key_type - is expected to equal Axiom::Types::Object (BasicObject) - ancestors - is expected to include Axiom::Types::Hash (Hash) - value_type - is expected to equal Axiom::Types::Hash (Hash) - with an empty Hash - is expected to equal Axiom::Types::Hash (Hash) - with an Hash with key and value types - key_type - is expected to equal Axiom::Types::Hash (Hash) - ancestors - is expected to include Axiom::Types::Hash (Hash) - value_type - is expected to equal Axiom::Types::Hash (Hash) - primitive - is expected to equal Hash - with an Hash with a key type and nil value - value_type - is expected to equal Axiom::Types::Object (BasicObject) - key_type - is expected to equal Axiom::Types::Hash (Hash) - primitive - is expected to equal Hash - ancestors - is expected to include Axiom::Types::Hash (Hash) - with an Hash with a nil key and value primitive - value_type - is expected to equal Axiom::Types::Hash (Hash) - ancestors - is expected to include Axiom::Types::Hash (Hash) - primitive - is expected to equal Hash - key_type - is expected to equal Axiom::Types::Object (BasicObject) - with an Hash with a key primitive and nil value - ancestors - is expected to include Axiom::Types::Hash (Hash) - primitive - is expected to equal Hash - key_type - is expected to equal Axiom::Types::Hash (Hash) - value_type - is expected to equal Axiom::Types::Object (BasicObject) - when the argument is nil - is expected to be nil + adds a constraint that returns false for an invalid member Axiom::Types::NegativeInfinity#<=> - when other object is a Float - is symmetric - is expected to equal -1 - when the other object is infinity - is expected to equal -1 - is symmetric when other object is a BigDecimal - is expected to equal -1 is symmetric + is expected to equal -1 when other object is a Rational is symmetric is expected to equal -1 - when other object is a Integer + when other object is a Float + is expected to equal -1 + is symmetric + when the other object is infinity is symmetric is expected to equal -1 when the other object is not comparable + is symmetric is expected to be nil + when other object is a Integer is symmetric + is expected to equal -1 when other object is a Integer is symmetric is expected to equal -1 @@ -1799,138 +1843,130 @@ is symmetric is expected to equal 0 when the other object is -Float::INFINITY - is symmetric is expected to equal 0 - -Axiom::Types::Hash.finalize - with custom key and value constraints - adds a constraint that returns false for an invalid value - is expected to be frozen - adds a constraint that returns true for valid keys and values - adds a constraint that returns false for an invalid key - constraint - is expected to be frozen - with the default key and value constraints - adds a constraint that returns true for a Hash - adds a constraint that returns false for a non-Hash - is expected to be frozen - constraint - is expected to be frozen - -Axiom::Types::Object.coercion_method - with a symbol - sets the coercion_method - with no arguments - is expected to equal :to_object - -Axiom::Types::Collection.finalize - with the default member constraints - adds a constraint that returns false for a non-collection - adds a constraint that returns true for a collection - is expected to be frozen - constraint - is expected to be frozen - with custom member constraints - is expected to be frozen - adds a constraint that returns true for a valid member - adds a constraint that returns false for an invalid member - constraint - is expected to be frozen - -Axiom::Types::Options#inherited - delegates to the ancestor - sets the default value for the descendant - adds the accepted option to the descendant + is symmetric Axiom::Types::Object.finalize + is expected to be frozen adds a constraint that returns false for an invalid primitive adds a constraint that returns true for a valid primitive - is expected to be frozen constraint is expected to be frozen -Axiom::Types::Infinity#<=> - when other object is a Integer - is expected to equal 1 - is symmetric - when the other object is negative infinity - is symmetric - is expected to equal 1 - when the other object is Float::INFINITY - is symmetric - is expected to equal 0 - when other object is a Integer - is expected to equal 1 - is symmetric - when other object is a BigDecimal - is expected to equal 1 - is symmetric - when other object is a Float - is expected to equal 1 - is symmetric - when other object is a Rational - is expected to equal 1 - is symmetric - when the other object is infinity - is symmetric - is expected to equal 0 - when the other object is not comparable - is symmetric +Axiom::Types::LengthComparable.extended + delegates to the ancestor + adds maxumum_length method + adds minimum_length method + sets the default minimum_length + sets the default maximum_length + +Axiom::Types::Collection.infer + with a base class + when the argument is an empty SortedSet + is expected to equal # (SortedSet) + when the argument is an SortedSet with a primitive + primitive + is expected to equal SortedSet + ancestors + is expected to include # (SortedSet) + member_type + is expected to equal # (SortedSet) + when the argument is nil + is expected to be nil + when the argument is an SortedSet with a type + ancestors + is expected to include # (SortedSet) + member_type + is expected to equal # (SortedSet) + primitive + is expected to equal SortedSet + when the argument is ::SortedSet + is expected to equal # (SortedSet) + when the argument is the type object + is expected to equal # (SortedSet) + with a a non-base class + when the argument is an SortedSet with a primitive + is expected to be nil + when the argument is nil + is expected to be nil + when the argument is ::SortedSet + is expected to equal Axiom::Types::Object (SortedSet) + when the argument is an SortedSet with a type + is expected to be nil + when the argument is an empty SortedSet + is expected to equal Axiom::Types::Object (SortedSet) + when the argument is the type object + is expected to equal Axiom::Types::Object (SortedSet) + with the type + when the argument is ::Enumerable + is expected to equal Axiom::Types::Object (Enumerable) + when the argument is the type object + is expected to equal Axiom::Types::Object (Enumerable) + +Axiom::Types::Boolean.infer + when the argument is the type object + is expected to equal Axiom::Types::Boolean (BasicObject) + when the argument is nil + is expected to be nil + when the argument is ::TrueClass + is expected to equal Axiom::Types::Boolean (BasicObject) + when the argument is not nil is expected to be nil + when the argument is ::FalseClass + is expected to equal Axiom::Types::Boolean (BasicObject) -Axiom::Types::Type.finalize +Axiom::Types::LengthComparable#range + is expected to eql 1 and 2 is expected to be frozen - constraint - is expected to be frozen -Top 10 slowest examples (0.03412 seconds, 10.4% of total time): - Axiom::Types::ValueComparable.extended delegates to the ancestor - 0.00641 seconds ./spec/unit/axiom/types/value_comparable/class_methods/extended_spec.rb:10 - Axiom::Types::Object.infer with the type when the argument is Axiom::Types::String is expected to equal Axiom::Types::String (String) - 0.00509 seconds ./spec/unit/axiom/types/object/class_methods/infer_spec.rb:36 - Axiom::Types::Collection.infer with a base class when the argument is ::SortedSet is expected to equal # (SortedSet) - 0.00509 seconds ./spec/unit/axiom/types/collection/class_methods/infer_spec.rb:54 - Axiom::Types::Hash.infer with Axiom::Types::Hash with an Hash with key and value types value_type is expected to equal Axiom::Types::Hash (Hash) - 0.00387 seconds ./spec/unit/axiom/types/hash/class_methods/infer_spec.rb:73 - Axiom::Types.infer when the type is Integer is expected to equal Axiom::Types::Integer (Integer) - 0.00372 seconds ./spec/unit/axiom/types/class_methods/infer_spec.rb:39 - Axiom::Types::Encodable#finalize when an non-ascii compatible encoding (UTF-16BE) is used adds a constraint that returns false for GB12345 encoding - 0.00285 seconds ./spec/unit/axiom/types/encodable/finalize_spec.rb:70 - Axiom::Types::Type.constraint with a block creates a constraint that matches a number > 1 - 0.00241 seconds ./spec/unit/axiom/types/type/class_methods/constraint_spec.rb:61 - Axiom::Types::Object.primitive with a class sets the primitive - 0.00192 seconds ./spec/unit/axiom/types/object/class_methods/primitive_spec.rb:22 - Axiom::Types::Type.constraint with a block constraint is expected to respond to #call - 0.00142 seconds ./spec/unit/axiom/types/type/class_methods/constraint_spec.rb:59 - Axiom::Types::Infinity#coerce when other is not a number is expected to raise TypeError with "String cannot be coerced" - 0.00135 seconds ./spec/unit/axiom/types/infinity/coerce_spec.rb:60 +Top 10 slowest examples (0.04184 seconds, 9.9% of total time): + Axiom::Types::Encodable.extended delegates to the ancestor + 0.00944 seconds ./spec/unit/axiom/types/encodable/class_methods/extended_spec.rb:10 + Axiom::Types::Encodable#finalize when an non-ascii compatible encoding (UTF-16BE) is used adds a constraint that returns false for KOI8-R encoding + 0.00656 seconds ./spec/unit/axiom/types/encodable/finalize_spec.rb:70 + Axiom::Types::Collection.infer with a base class when the argument is an empty SortedSet is expected to equal # (SortedSet) + 0.00592 seconds ./spec/unit/axiom/types/collection/class_methods/infer_spec.rb:60 + Axiom::Types::Collection.infer with a base class when the argument is an SortedSet with a primitive ancestors is expected to include # (SortedSet) + 0.00428 seconds ./spec/unit/axiom/types/collection/class_methods/infer_spec.rb:76 + Axiom::Types::Collection.infer with a base class when the argument is an SortedSet with a type member_type is expected to equal # (SortedSet) + 0.00342 seconds ./spec/unit/axiom/types/collection/class_methods/infer_spec.rb:70 + Axiom::Types::Collection.infer with a base class when the argument is an SortedSet with a type primitive is expected to equal SortedSet + 0.00336 seconds ./spec/unit/axiom/types/collection/class_methods/infer_spec.rb:68 + Axiom::Types::Array.infer with Axiom::Types::Array when the argument is an Array with a primitive ancestors is expected to include Axiom::Types::Array (Array) + 0.00287 seconds ./spec/unit/axiom/types/array/class_methods/infer_spec.rb:52 + Axiom::Types::Array.infer with Axiom::Types::Array subclass when the argument is ::Array is expected to equal Axiom::Types::Array (Array) + 0.0022 seconds ./spec/unit/axiom/types/array/class_methods/infer_spec.rb:78 + Axiom::Types::Array.infer with Axiom::Types::Array subclass when the argument is an Array with a primitive is expected to be nil + 0.00194 seconds ./spec/unit/axiom/types/array/class_methods/infer_spec.rb:96 + Axiom::Types::Options#inherited adds the accepted option to the descendant + 0.00185 seconds ./spec/unit/axiom/types/options/inherited_spec.rb:29 Top 10 slowest example groups: - Axiom::Types::ValueComparable.extended - 0.00161 seconds average (0.00803 seconds / 5 examples) ./spec/unit/axiom/types/value_comparable/class_methods/extended_spec.rb:5 - Axiom::Types::Object.primitive - 0.00142 seconds average (0.00284 seconds / 2 examples) ./spec/unit/axiom/types/object/class_methods/primitive_spec.rb:5 - Axiom::Types::Type.constraint - 0.00105 seconds average (0.01046 seconds / 10 examples) ./spec/unit/axiom/types/type/class_methods/constraint_spec.rb:5 - Axiom::Types::Hash.infer - 0.00102 seconds average (0.03876 seconds / 38 examples) ./spec/unit/axiom/types/hash/class_methods/infer_spec.rb:5 + Axiom::Types::Type.base? + 0.00955 seconds average (0.01911 seconds / 2 examples) ./spec/unit/axiom/types/type/class_methods/base_predicate_spec.rb:5 + Axiom::Types::Encodable.extended + 0.0035 seconds average (0.0105 seconds / 3 examples) ./spec/unit/axiom/types/encodable/class_methods/extended_spec.rb:5 Axiom::Types::Collection.infer - 0.001 seconds average (0.01803 seconds / 18 examples) ./spec/unit/axiom/types/collection/class_methods/infer_spec.rb:5 - Axiom::Types::Object.infer - 0.00094 seconds average (0.03932 seconds / 42 examples) ./spec/unit/axiom/types/object/class_methods/infer_spec.rb:5 - Axiom::Types::ValueComparable#range - 0.00084 seconds average (0.00167 seconds / 2 examples) ./spec/unit/axiom/types/value_comparable/range_spec.rb:5 - Axiom::Types::Set.infer - 0.00072 seconds average (0.01155 seconds / 16 examples) ./spec/unit/axiom/types/set/class_methods/infer_spec.rb:5 + 0.00288 seconds average (0.05192 seconds / 18 examples) ./spec/unit/axiom/types/collection/class_methods/infer_spec.rb:5 Axiom::Types::Array.infer - 0.00069 seconds average (0.01111 seconds / 16 examples) ./spec/unit/axiom/types/array/class_methods/infer_spec.rb:5 - Axiom::Types::LengthComparable#finalize - 0.00069 seconds average (0.00343 seconds / 5 examples) ./spec/unit/axiom/types/length_comparable/finalize_spec.rb:5 + 0.00284 seconds average (0.04549 seconds / 16 examples) ./spec/unit/axiom/types/array/class_methods/infer_spec.rb:5 + Axiom::Types::Options#inherited + 0.00124 seconds average (0.00372 seconds / 3 examples) ./spec/unit/axiom/types/options/inherited_spec.rb:5 + Axiom::Types::Hash.infer + 0.00099 seconds average (0.03749 seconds / 38 examples) ./spec/unit/axiom/types/hash/class_methods/infer_spec.rb:5 + Axiom::Types::Object.primitive + 0.00083 seconds average (0.00166 seconds / 2 examples) ./spec/unit/axiom/types/object/class_methods/primitive_spec.rb:5 + Axiom::Types::Set.infer + 0.00077 seconds average (0.01231 seconds / 16 examples) ./spec/unit/axiom/types/set/class_methods/infer_spec.rb:5 + Axiom::Types::ValueComparable#range + 0.00076 seconds average (0.00151 seconds / 2 examples) ./spec/unit/axiom/types/value_comparable/range_spec.rb:5 + Axiom::Types::ValueComparable#finalize + 0.0007 seconds average (0.00352 seconds / 5 examples) ./spec/unit/axiom/types/value_comparable/finalize_spec.rb:5 -Finished in 0.32764 seconds (files took 0.31809 seconds to load) +Finished in 0.42278 seconds (files took 0.29316 seconds to load) 557 examples, 0 failures -Randomized with seed 28711 +Randomized with seed 4252 ┌──────────────────────────────────────────────────────────────────────────────┐ @@ -1962,12 +1998,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/41938/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/41938/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/1196145 and its subdirectories -I: Current time: Sun May 5 14:59:39 -12 2024 -I: pbuilder-time-stamp: 1714964379 +I: removing directory /srv/workspace/pbuilder/41938 and its subdirectories +I: Current time: Sun Jun 8 23:24:00 +14 2025 +I: pbuilder-time-stamp: 1749374640