Skip to content

Rename IEC property builder#3

Merged
DeveloprOfThings merged 2 commits into
mainfrom
1-adding-iec-unit-property-builders
Mar 16, 2026
Merged

Rename IEC property builder#3
DeveloprOfThings merged 2 commits into
mainfrom
1-adding-iec-unit-property-builders

Conversation

@DeveloprOfThings
Copy link
Copy Markdown
Owner

  • Added a GitHub Actions CI workflow to run tests on macos-latest for PRs and pushes to main.
  • Renamed binary unit extension properties to follow IEC naming conventions (e.g., binaryKilobyte to kibibyte, binaryMegabyte to mebibyte, etc.) across Long, ULong, Int, Double, and Float.
  • Removed redundant binaryByte extension properties.
  • Added a kapacity extension property for java.nio.ByteBuffer in the kapacity-io Android module.
  • Refactored Kapacity.kt by adding KapacityUnit documentation and organizing builder properties into named regions.
  • Relocated and grouped kapacity extension properties for Array, ByteArray, UByteArray, and Collection for better code organization.
  • Updated KapacityTest.kt to reflect the new IEC unit naming.

…or PRs and pushes to `main`.

- Renamed binary unit extension properties to follow IEC naming conventions (e.g., `binaryKilobyte` to `kibibyte`, `binaryMegabyte` to `mebibyte`, etc.) across `Long`, `ULong`, `Int`, `Double`, and `Float`.
- Removed redundant `binaryByte` extension properties.
- Added a `kapacity` extension property for `java.nio.ByteBuffer` in the `kapacity-io` Android module.
- Refactored `Kapacity.kt` by adding `KapacityUnit` documentation and organizing builder properties into named regions.
- Relocated and grouped `kapacity` extension properties for `Array`, `ByteArray`, `UByteArray`, and `Collection` for better code organization.
- Updated `KapacityTest.kt` to reflect the new IEC unit naming.
@DeveloprOfThings DeveloprOfThings self-assigned this Mar 16, 2026
@DeveloprOfThings DeveloprOfThings linked an issue Mar 16, 2026 that may be closed by this pull request
…into `.github/workflows/ci.yml`.

- Updated `ci.yml` to include Gradle caching configuration.
- Simplified comments and refined the `Run All Tests` step to use `./gradlew check --no-configuration-cache`.
@DeveloprOfThings
Copy link
Copy Markdown
Owner Author

Addresses issue #1

@DeveloprOfThings DeveloprOfThings merged commit 7269e54 into main Mar 16, 2026
1 check passed
@DeveloprOfThings DeveloprOfThings deleted the 1-adding-iec-unit-property-builders branch March 16, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding IEC unit property builders

1 participant