Path to this page:
./
devel/ruby-filesize,
Class for handling filesizes with both the SI and binary prefixes
Branch: CURRENT,
Version: 0.2.0,
Package name: ruby27-filesize-0.2.0,
Maintainer: minskimfilesize is a small class for handling filesizes with both the SI and
binary prefixes, allowing conversion from any size to any other size.
Required to run:[
lang/ruby24-base]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 8 KB
Version history: (Expand)
- (2021-10-07) Updated to version: ruby27-filesize-0.2.0
- (2018-09-23) Updated to version: ruby24-filesize-0.2.0
- (2017-11-23) Package has been reborn
- (2017-07-24) Package added to pkgsrc.se, version ruby23-filesize-0.1.1 (created)
CVS history: (Expand)
2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016) |
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Could not be committed due to merge conflict:
devel/py-traitlets/distinfo
The following distfiles were unfetchable (note: some may be only fetched
conditionally):
./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
|
2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017) |
Log message:
devel: Remove SHA1 hashes for distfiles
|
2018-09-23 16:40:00 by Takahiro Kambe | Files touched by this commit (2) | |
Log message:
devel/ruby-filesize: update to 0.2.0
0.2.0 2018/09/04
* Include offending string in error message (#14)
As an aid to debugging, including the string that filesize was unable to
parse in the error message.
* Accept unicode space characters
[[:space:]] includes unicode space characters too, so when Nokogiri
interprets "12.3 MiB" as "12.3\u00A0MiB", \
Filesize will still work.
[[:blank:]] might be even better because it doesn't include newline and
carriage returns.
* Support unit without B suffix
e.g. Kubernetes uses this format:
\
https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/#memory-units
* added precision parameter to to_s() and pretty(), fixes #21
* fixed an assignment typo
|
2017-07-24 12:41:12 by Min Sik Kim | Files touched by this commit (4) |
Log message:
Import ruby-filesize-0.1.1 as devel/ruby-filesize
filesize is a small class for handling filesizes with both the SI and
binary prefixes, allowing conversion from any size to any other size.
|