pkgsrc/devel/ruby-filesize/Makefile
taca e8190d0564 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
2018-09-23 14:40:00 +00:00

12 lines
334 B
Makefile

# $NetBSD: Makefile,v 1.2 2018/09/23 14:40:00 taca Exp $
DISTNAME= filesize-0.2.0
CATEGORIES= devel
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= https://github.com/dominikh/filesize
COMMENT= Class for handling filesizes with both the SI and binary prefixes
LICENSE= mit
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"