>>> ruby-enum: Building community/ruby-enum 0.9.0-r1 (using abuild 3.9.0_rc2-r1) started Thu, 21 Oct 2021 04:36:39 +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 gdbm (1.20-r2) (3/15) Installing readline (8.1.1-r0) (4/15) Installing yaml (0.2.5-r0) (5/15) Installing ruby-libs (3.0.2-r0) (6/15) Installing ruby (3.0.2-r0) (7/15) Installing ruby-concurrent-ruby (1.1.9-r1) (8/15) Installing ruby-i18n (1.8.10-r1) (9/15) Installing ruby-rspec-support (3.10.2-r1) (10/15) Installing ruby-rspec-core (3.10.1-r1) (11/15) Installing ruby-diff-lcs (1.4.4-r1) (12/15) Installing ruby-rspec-expectations (3.10.1-r1) (13/15) Installing ruby-rspec-mocks (3.10.2-r1) (14/15) Installing ruby-rspec (3.10.0-r1) (15/15) Installing .makedepends-ruby-enum (20211021.043640) Executing busybox-1.34.1-r1.trigger OK: 334 MiB in 104 packages >>> ruby-enum: Cleaning up srcdir >>> ruby-enum: Cleaning up pkgdir >>> ruby-enum: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> ruby-enum: Fetching ruby-enum-0.9.0.tar.gz::https://github.com/dblock/ruby-enum/archive/v0.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 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 124 100 124 0 0 597 0 --:--:-- --:--:-- --:--:-- 596 100 12054 0 12054 0 0 26809 0 --:--:-- --:--:-- --:--:-- 26809 >>> ruby-enum: Fetching https://distfiles.alpinelinux.org/distfiles/v3.15/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.15/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.1264 seconds (files took 0.35188 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.0.0/gems/ruby-enum-0.9.0/CHANGELOG.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.0.0/gems/ruby-enum-0.9.0/CONTRIBUTING.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.0.0/gems/ruby-enum-0.9.0/Dangerfile /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.0.0/gems/ruby-enum-0.9.0/Gemfile /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.0.0/gems/ruby-enum-0.9.0/LICENSE.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.0.0/gems/ruby-enum-0.9.0/README.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.0.0/gems/ruby-enum-0.9.0/RELEASING.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.0.0/gems/ruby-enum-0.9.0/Rakefile /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.0.0/gems/ruby-enum-0.9.0/UPGRADING.md /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.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.0.0/gems/ruby-enum-0.9.0/ruby-enum.gemspec /home/buildozer/aports/community/ruby-enum/pkg/ruby-enum/usr/lib/ruby/gems/3.0.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.0.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.0.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-r1.apk >>> ruby-enum: Build complete at Thu, 21 Oct 2021 04:36:44 +0000 elapsed time 0h 0m 5s >>> ruby-enum: Cleaning up srcdir >>> ruby-enum: Cleaning up pkgdir >>> ruby-enum: Uninstalling dependencies... (1/15) Purging .makedepends-ruby-enum (20211021.043640) (2/15) Purging ruby-i18n (1.8.10-r1) (3/15) Purging ruby-concurrent-ruby (1.1.9-r1) (4/15) Purging ruby-rspec (3.10.0-r1) (5/15) Purging ruby-rspec-core (3.10.1-r1) (6/15) Purging ruby-rspec-expectations (3.10.1-r1) (7/15) Purging ruby-rspec-mocks (3.10.2-r1) (8/15) Purging ruby-diff-lcs (1.4.4-r1) (9/15) Purging ruby-rspec-support (3.10.2-r1) (10/15) Purging ruby (3.0.2-r0) (11/15) Purging ruby-libs (3.0.2-r0) (12/15) Purging libffi (3.4.2-r1) (13/15) Purging gdbm (1.20-r2) (14/15) Purging readline (8.1.1-r0) (15/15) Purging yaml (0.2.5-r0) Executing busybox-1.34.1-r1.trigger OK: 316 MiB in 89 packages >>> ruby-enum: Updating the community/x86 repository index... >>> ruby-enum: Signing the index...