Update 1.10 to 1.12

-------------------
1.12     2015-03-07
- The constructor now accepts named params. In addition to a magic_file param,
  it now accepts follow_symlinks and uncompress params. These do what you'd
  expect, tell the object to follow symlinks and/or uncompress files when
  getting info from them. The old single parameter constructor is still
  supported, but is no longer documented.

- The old APIs are now called "discouraged" rather than "deprecated" in the
  documentation. I have no plan to remove these APIs any time soon or to make
  them warn, so "deprecated" was too strong a word.

- Changed a test to hopefully skip rather than fail on OpenBSD systems.


1.11     2015-03-01
- The info_from_handle() method did not handle binary data correctly, which
  could lead to incorrect results.

- The info_from_*() methods returned a full mime type with encoding in the
  "mime_type" key rather than just the mime type alone.

- Allow File::LibMagic->new() to accept an array reference containing multiple
  magic file paths.
This commit is contained in:
mef 2015-03-15 14:08:05 +00:00
parent 4fbe8a138d
commit 7b90f103dc
2 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.14 2015/02/07 16:01:07 mef Exp $
# $NetBSD: Makefile,v 1.15 2015/03/15 14:08:05 mef Exp $
DISTNAME= File-LibMagic-1.10
DISTNAME= File-LibMagic-1.12
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=File/}

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.7 2015/02/07 16:01:07 mef Exp $
$NetBSD: distinfo,v 1.8 2015/03/15 14:08:05 mef Exp $
SHA1 (File-LibMagic-1.10.tar.gz) = 85f714c2f44163b9c3256288bcba7c5f5a3ff923
RMD160 (File-LibMagic-1.10.tar.gz) = 8dc47cf87649e79e1e3768ea0b5dd4810de66e7d
Size (File-LibMagic-1.10.tar.gz) = 107487 bytes
SHA1 (File-LibMagic-1.12.tar.gz) = d96a42a482d2685709f7ce4eaeb7280dfdc85311
RMD160 (File-LibMagic-1.12.tar.gz) = 860c83af8f3eeecfd4ca70014e5143cc8c35c7b4
Size (File-LibMagic-1.12.tar.gz) = 124210 bytes
SHA1 (patch-aa) = a10a0f04dc7b074481017f2e60dfa7f2dcebf5aa