>>> ruby-enum: Building community/ruby-enum 0.9.0-r2 (using abuild 3.9.0-r0) started Sat, 16 Apr 2022 16:18:29 +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.2-r1) (2/15) Installing readline (8.1.2-r0) (3/15) Installing libucontext (1.2-r0) (4/15) Installing yaml (0.2.5-r0) (5/15) Installing ruby-libs (3.1.2-r0) (6/15) Installing ruby (3.1.2-r0) (7/15) Installing ruby-concurrent-ruby (1.1.10-r1) (8/15) Installing ruby-i18n (1.10.0-r1) (9/15) Installing ruby-rspec-support (3.11.0-r1) (10/15) Installing ruby-rspec-core (3.11.0-r1) (11/15) Installing ruby-diff-lcs (1.5.0-r1) (12/15) Installing ruby-rspec-expectations (3.11.0-r1) (13/15) Installing ruby-rspec-mocks (3.11.1-r1) (14/15) Installing ruby-rspec (3.11.0-r1) (15/15) Installing .makedepends-ruby-enum (20220416.161831) Executing busybox-1.35.0-r8.trigger OK: 271 MiB in 103 packages >>> ruby-enum: Cleaning up srcdir >>> ruby-enum: Cleaning up pkgdir >>> ruby-enum: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/ruby-enum-0.9.0.tar.gz >>> ruby-enum: Fetching https://distfiles.alpinelinux.org/distfiles/v3.16/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.16/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.04127 seconds (files took 0.14619 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.1.0/gems/ruby-enum-0.9.0/CHANGELOG.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.1.0/gems/ruby-enum-0.9.0/CONTRIBUTING.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.1.0/gems/ruby-enum-0.9.0/Dangerfile /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.1.0/gems/ruby-enum-0.9.0/Gemfile /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.1.0/gems/ruby-enum-0.9.0/LICENSE.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.1.0/gems/ruby-enum-0.9.0/README.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.1.0/gems/ruby-enum-0.9.0/RELEASING.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.1.0/gems/ruby-enum-0.9.0/Rakefile /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.1.0/gems/ruby-enum-0.9.0/UPGRADING.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.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.1.0/gems/ruby-enum-0.9.0/ruby-enum.gemspec /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.1.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.1.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.1.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-r2.apk >>> ruby-enum: Build complete at Sat, 16 Apr 2022 16:18:32 +0000 elapsed time 0h 0m 3s >>> ruby-enum: Cleaning up srcdir >>> ruby-enum: Cleaning up pkgdir >>> ruby-enum: Uninstalling dependencies... (1/15) Purging .makedepends-ruby-enum (20220416.161831) (2/15) Purging ruby-i18n (1.10.0-r1) (3/15) Purging ruby-concurrent-ruby (1.1.10-r1) (4/15) Purging ruby-rspec (3.11.0-r1) (5/15) Purging ruby-rspec-core (3.11.0-r1) (6/15) Purging ruby-rspec-expectations (3.11.0-r1) (7/15) Purging ruby-rspec-mocks (3.11.1-r1) (8/15) Purging ruby-diff-lcs (1.5.0-r1) (9/15) Purging ruby-rspec-support (3.11.0-r1) (10/15) Purging ruby (3.1.2-r0) (11/15) Purging ruby-libs (3.1.2-r0) (12/15) Purging libffi (3.4.2-r1) (13/15) Purging readline (8.1.2-r0) (14/15) Purging libucontext (1.2-r0) (15/15) Purging yaml (0.2.5-r0) Executing busybox-1.35.0-r8.trigger OK: 255 MiB in 88 packages >>> ruby-enum: Updating the community/armv7 repository index... >>> ruby-enum: Signing the index...