>>> ruby-enum: Building community/ruby-enum 0.9.0-r3 (using abuild 3.11.0_rc13-r0) started Thu, 27 Apr 2023 11:07:50 +0000 >>> ruby-enum: Checking sanity of /home/buildozer/aports/community/ruby-enum/APKBUILD... >>> ruby-enum: Analyzing dependencies... >>> ruby-enum: Installing for build: build-base ruby ruby-i18n ruby-rspec (1/15) Installing libffi (3.4.4-r2) (2/15) Installing readline (8.2.1-r1) (3/15) Installing libucontext (1.2-r2) (4/15) Installing yaml (0.2.5-r1) (5/15) Installing ruby-libs (3.2.2-r0) (6/15) Installing ruby (3.2.2-r0) (7/15) Installing ruby-concurrent-ruby (1.2.2-r0) (8/15) Installing ruby-i18n (1.12.0-r1) (9/15) Installing ruby-rspec-support (3.12.0-r1) (10/15) Installing ruby-rspec-core (3.12.2-r0) (11/15) Installing ruby-diff-lcs (1.5.0-r2) (12/15) Installing ruby-rspec-expectations (3.12.3-r0) (13/15) Installing ruby-rspec-mocks (3.12.5-r0) (14/15) Installing ruby-rspec (3.12.0-r1) (15/15) Installing .makedepends-ruby-enum (20230427.110750) Executing busybox-1.36.0-r8.trigger OK: 390 MiB in 113 packages >>> ruby-enum: Cleaning up srcdir >>> ruby-enum: Cleaning up pkgdir >>> ruby-enum: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/ruby-enum-0.9.0.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12054 100 12054 0 0 36000 0 --:--:-- --:--:-- --:--:-- 36089 >>> ruby-enum: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/ruby-enum-0.9.0.tar.gz >>> ruby-enum: Checking sha512sums... ruby-enum-0.9.0.tar.gz: OK skip-coverage.patch: OK >>> ruby-enum: Unpacking /var/cache/distfiles/v3.18/ruby-enum-0.9.0.tar.gz... >>> ruby-enum: skip-coverage.patch patching file spec/spec_helper.rb WARNING: open-ended dependency on i18n (>= 0) is not recommended use a bounded requirement, such as '~> x.y' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: ruby-enum Version: 0.9.0 File: ruby-enum-0.9.0.gem Ruby::Enum returns an enum value raises UninitializedConstantError on an invalid constant #each iterates over constants #map maps constants #parse parses exact value is case-insensitive returns nil for a null value returns nil for an invalid value #key? returns true for valid keys accessed directly returns true for valid keys accessed via each_keys returns false for invalid keys #value returns string values for keys returns nil for an invalid key #value? returns true for valid values accessed directly returns true for valid values accessed via each_value returns false for invalid values #key returns enum instances for values returns nil for an invalid value #keys returns keys #values returns values #to_h returns a hash of key:values on duplicate keys raises DuplicateKeyError on duplicate values raises a DuplicateValueError Given a class that has not defined any enums is expected to raise Ruby::Enum::Errors::UninitializedConstantError when a constant is redefined in a global namespace is expected to eq "red" Subclass behavior contains the enums defined in the parent class contains its own enums parent class should not have enums defined in child classes Given a 2 level depth subclass contains its own enums and all the enums defined in the parent classes #values contains the values from all of the parent classes #values contains the values from the parent class default value equals the key non constant definitions behaves like an enum Ruby::Enum has a version Finished in 0.02758 seconds (files took 0.09013 seconds to load) 34 examples, 0 failures >>> ruby-enum: Entering fakeroot... /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/CHANGELOG.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/CONTRIBUTING.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/Dangerfile /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/Gemfile /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/LICENSE.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/README.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/RELEASING.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/Rakefile /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/UPGRADING.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/lib/config/locales/en.yml /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/lib/ruby-enum.rb /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/lib/ruby-enum/enum.rb /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/lib/ruby-enum/errors/base.rb /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/lib/ruby-enum/errors/duplicate_key_error.rb /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/lib/ruby-enum/errors/duplicate_value_error.rb /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/lib/ruby-enum/errors/uninitialized_constant_error.rb /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/lib/ruby-enum/version.rb /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/lib/ruby_enum.rb /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/ruby-enum.gemspec /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/spec/ruby-enum/enum_spec.rb /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/spec/ruby-enum/version_spec.rb /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.2.0/gems/ruby-enum-0.9.0/spec/spec_helper.rb Successfully installed ruby-enum-0.9.0 1 gem installed >>> ruby-enum*: Running postcheck for ruby-enum >>> ruby-enum*: Preparing package ruby-enum... >>> ruby-enum*: Tracing dependencies... >>> ruby-enum*: Package size: 120.0 KB >>> ruby-enum*: Compressing data... >>> ruby-enum*: Create checksum... >>> ruby-enum*: Create ruby-enum-0.9.0-r3.apk >>> ruby-enum: Build complete at Thu, 27 Apr 2023 11:07:52 +0000 elapsed time 0h 0m 2s >>> ruby-enum: Cleaning up srcdir >>> ruby-enum: Cleaning up pkgdir >>> ruby-enum: Uninstalling dependencies... (1/15) Purging .makedepends-ruby-enum (20230427.110750) (2/15) Purging ruby-i18n (1.12.0-r1) (3/15) Purging ruby-concurrent-ruby (1.2.2-r0) (4/15) Purging ruby-rspec (3.12.0-r1) (5/15) Purging ruby-rspec-core (3.12.2-r0) (6/15) Purging ruby-rspec-expectations (3.12.3-r0) (7/15) Purging ruby-rspec-mocks (3.12.5-r0) (8/15) Purging ruby-diff-lcs (1.5.0-r2) (9/15) Purging ruby-rspec-support (3.12.0-r1) (10/15) Purging ruby (3.2.2-r0) (11/15) Purging ruby-libs (3.2.2-r0) (12/15) Purging yaml (0.2.5-r1) (13/15) Purging libffi (3.4.4-r2) (14/15) Purging libucontext (1.2-r2) (15/15) Purging readline (8.2.1-r1) Executing busybox-1.36.0-r8.trigger OK: 371 MiB in 98 packages >>> ruby-enum: Updating the community/s390x repository index... >>> ruby-enum: Signing the index...