Commit Graph

18 Commits

Author SHA1 Message Date
Paul Howarth
4bce65e833 Update to 0.054
- New upstream release 0.054
  - The 'is_file' method now does -e && ! -d and not -f because -f is often
    more restrictive than people intend or expect
  - Added 'chmod' method with symbolic chmod support ("a=r,u+rx")
  - The 'basename' method now takes a list of suffixes to remove before
    returning the name
  - Added FREEZE/THAW/TO_JSON serialization helpers
  - When constructing a Path::Tiny object from another, the original is
    returned unless it's a temp dir/file, which significantly speeds up calling
    path($path) if $path is already a Path::Tiny object
  - Constructing any path - e.g. with child() - with undef or zero-length
    parts throws an error instead of constructing an invalid path
2014-05-06 14:23:18 +01:00
Paul Howarth
3487eeae74 Update to 0.052
- New upstream release 0.052
  - Backslash-to-slash conversion now only happens on Windows (since backslash
    is legal on Unix, we must allow it)
2014-01-15 12:56:07 +00:00
Paul Howarth
9ac1162e1a Update to 0.051
- New upstream release 0.051
  - Recursive iteration won't throw an exception if a directory is removed or
    unreadable during iteration
2013-12-21 16:48:55 +00:00
Paul Howarth
b00bff754c Update to 0.049
- New upstream release 0.049
  - Added 'subsumes' method
  - The 'chomp' option for 'lines' will remove any end-of-line sequences fully
    instead of just chomping the last character
  - Fixed locking test on AIX
  - Revised locking tests for portability again: locks are now tested from a
    separate process
  - The 'flock' package will no longer indexed by PAUSE
  - Hides warnings and fixes possible fatal errors from pure-perl Cwd,
    particularly on MSWin32
  - Generates filename for atomic writes independent of thread-ID, which fixes
    crashing bug on Win32 when fork() is called
2013-12-12 12:11:17 +00:00
Paul Howarth
88fced6cbb Update to 0.044
- New upstream release 0.044
  - Fixed child path construction against the root path
  - Fixed path construction when a relative volume is provided as the first
    argument on Windows; e.g. path("C:", "lib") must be like path("C:lib"),
    not path("C:/lib")
  - On AIX, shared locking is replaced by exclusive locking on a R/W
    filehandle, as locking read handles is not supported
2013-10-18 15:51:55 +01:00
Paul Howarth
83565982ec Update to 0.043
- New upstream release 0.043
  - Calling 'absolute' on Windows will add the volume if it is missing (e.g.
    "/foo" will become "C:/foo"); this matches the behavior of
    File::Spec->rel2abs
  - Fixed t/00-report-prereqs.t for use with older versions of
    CPAN::Meta::Requirements
2013-10-14 12:39:52 +01:00
Paul Howarth
b895f8d3f1 Update to 0.042
- New upstream release 0.042
  - When 'realpath' can't be resolved (because intermediate directories don't
    exist), the exception now explains the error clearly instead of complaining
    about path() needing a defined, positive-length argument
  - On Windows, fixed resolution of relative paths with a volume, e.g. "C:foo"
    is now correctly translated into getdcwd on "C:" plus "foo"
2013-10-13 17:09:53 +01:00
Paul Howarth
6f37b270fb Update to 0.041
- New upstream release 0.041
  - Remove duplicate test dependency on File::Spec that triggers a CPAN.pm bug
2013-10-11 15:00:37 +01:00
Paul Howarth
201e3e3bcb Update to 0.040
- New upstream release 0.040
  - The 'filehandle' method now offers an option to return locked handles
    based on the file mode
  - The 'filehandle' method now respects default encoding set by the caller's
    open pragma
2013-10-09 15:54:53 +01:00
Paul Howarth
803eaaa5d8 Update to 0.038
- New upstream release 0.038
  - Added 'is_rootdir' method to simplify testing if a path is the root
    directory
2013-10-02 11:41:18 +01:00
Paul Howarth
d7330cfc71 Update to 0.037
- New upstream release 0.037
  - No longer lists 'threads' as a prerequisite; if you have a threaded perl,
    you have it and if you've not, Path::Tiny doesn't care
  - Fixed for v5.8
2013-09-26 20:16:38 +01:00
Paul Howarth
f7b7c3d0d4 Update to 0.035
- New upstream release 0.035
  - Fixed flock warning on BSD that was broken with the autodie removal; now
    also applies to all BSD flavors
2013-09-24 14:25:24 +01:00
Paul Howarth
98b5658b09 Update to 0.034
- New upstream release 0.034
  - Exceptions are now Path::Tiny::Error objects, not autodie exceptions; this
    removes the last dependency on autodie, which allows us to support Perls as
    far back as v5.8.1
  - BSD/NFS flock fix was not backwards compatible before v5.14; this fixes it
    harder
  - Lowered ExtUtils::MakeMaker configure_requires version to 6.17
2013-09-24 12:26:06 +01:00
Paul Howarth
377cfde8de Update to 0.033
- New upstream release 0.033
  - Perl on BSD may not support locking on an NFS filesystem: if this is
    detected, Path::Tiny warns and continues in an unsafe mode (the 'flock'
    warning category may be fatalized to die instead)
  - Added 'iterator' example showing defaults
2013-09-12 16:18:49 +01:00
Paul Howarth
903ae30ecc Update to 0.032
- New upstream release 0.032
  - Removed several test dependencies; Path::Tiny now only needs core modules,
    though some must be upgraded on old Perls
2013-09-06 23:27:14 +01:00
Paul Howarth
672725e806 BR: perl(Config) for the test suite (#1003660) 2013-09-03 16:39:22 +01:00
Paul Howarth
8628d0c22b Initial import (perl-Path-Tiny-0.031-2)
This module attempts to provide a small, fast utility for working with file
paths. It is friendlier to use than File::Spec and provides easy access to
functions from several other core file handling modules.

It doesn't attempt to be as full-featured as IO::All or Path::Class, nor does
it try to work for anything except Unix-like and Win32 platforms. Even then, it
might break if you try something particularly obscure or tortuous.

All paths are forced to have Unix-style forward slashes. Stringifying the
object gives you back the path (after some clean up).

File input/output methods flock handles before reading or writing, as
appropriate.

The *_utf8 methods (slurp_utf8, lines_utf8, etc.) operate in raw mode without
CRLF translation.

It uses autodie internally, so most failures will be thrown as exceptions.
2013-09-03 16:36:32 +01:00
Fedora Release Engineering
49863736a5 Initial setup of the repo 2013-09-03 14:59:48 +00:00