pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-filesize devel/ruby-filesize: update to 0.2.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/df90d406c278
branches: trunk
changeset: 313066:df90d406c278
user: taca <taca%pkgsrc.org@localhost>
date: Sun Sep 23 14:40:00 2018 +0000
description:
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
diffstat:
devel/ruby-filesize/Makefile | 4 ++--
devel/ruby-filesize/distinfo | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (27 lines):
diff -r 8d79eebf367e -r df90d406c278 devel/ruby-filesize/Makefile
--- a/devel/ruby-filesize/Makefile Sun Sep 23 14:31:25 2018 +0000
+++ b/devel/ruby-filesize/Makefile Sun Sep 23 14:40:00 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2017/07/24 10:41:12 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2018/09/23 14:40:00 taca Exp $
-DISTNAME= filesize-0.1.1
+DISTNAME= filesize-0.2.0
CATEGORIES= devel
MAINTAINER= minskim%NetBSD.org@localhost
diff -r 8d79eebf367e -r df90d406c278 devel/ruby-filesize/distinfo
--- a/devel/ruby-filesize/distinfo Sun Sep 23 14:31:25 2018 +0000
+++ b/devel/ruby-filesize/distinfo Sun Sep 23 14:40:00 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/07/24 10:41:12 minskim Exp $
+$NetBSD: distinfo,v 1.2 2018/09/23 14:40:00 taca Exp $
-SHA1 (filesize-0.1.1.gem) = 82442e3602ad52c2f125a55771e26195f8d20fb6
-RMD160 (filesize-0.1.1.gem) = 740c65b63f5b46fe7051247fd4f2970b9c23b60d
-SHA512 (filesize-0.1.1.gem) = 2c7e94feb2433c9a1c1545e817616a7551f5d02f441b2564d96499b8fea0e47b74843b3d06d959273fc000800eea87bb7bc1c643369a4d724b8ba19b53de6283
-Size (filesize-0.1.1.gem) = 8192 bytes
+SHA1 (filesize-0.2.0.gem) = 2a88f34ce629bdcb00113a6cf4128a61e10d0814
+RMD160 (filesize-0.2.0.gem) = a9685547eacc367d6c78a1f54fc666fae1354db6
+SHA512 (filesize-0.2.0.gem) = 87d13278e62fc6ff7ef08f9a287951a1ac3f502b69e1c3b9f5579971a2ad167875f4028a1f51f24f3bb54de38f7cb0e735ab3763bf8774ceeda68c8d3f8de42a
+Size (filesize-0.2.0.gem) = 8192 bytes
Home |
Main Index |
Thread Index |
Old Index