Path to this page:
Subject: CVS commit: pkgsrc/devel/ruby-filesize
From: Takahiro Kambe
Date: 2018-09-23 16:40:00
Message id: 20180923144000.CC3AAFBEE@cvs.NetBSD.org
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
Files: