Commit Graph

56 Commits

Author SHA1 Message Date
Petr Písař
84caa45bcf cpan.org addresses moved to MetaCPAN <https://fedoraproject.org/wiki/Changes/Perl_Move_to_MetaCPAN> 2018-06-04 14:19:43 +02:00
Jitka Plesnikova
52778b9368 Do not run optional test on RHEL 2018-04-06 12:22:45 +02:00
Fedora Release Engineering
abd8ffbbe7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 00:03:06 +00:00
Petr Písař
f67bca3eb3 Enable Test::MockRandom test
This is packaged now.

It also adds a build condition to control running optional test.
2017-12-08 09:53:21 +01:00
Fedora Release Engineering
e5818e7960 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 05:42:30 +00:00
Petr Písař
412c3651f1 perl dependency renamed to perl-interpreter <https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules> 2017-07-12 14:26:48 +02:00
Jitka Plesnikova
b435a08087 Perl 5.26 rebuild 2017-06-06 02:01:11 +02:00
Paul Howarth
82be5f2e5f Update to 0.104
- New upstream release 0.104
  - The 'absolute' method now always returns an absolute path, even if a user
    provided a relative path for the base path; the old, odd behavior was
    documented, but people often don't read docs so the new behavior avoids
    surprises
  - Added 'cached_temp' method
2017-02-18 16:40:35 +00:00
Fedora Release Engineering
a95fd1a8f2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 04:49:38 +00:00
Paul Howarth
96f6b40b79 Update to 0.100
- New upstream release 0.100
  - Fixed tests for eventual removal of '.' from @INC in Perl
  - Fixed filehandle mode doc typo
  - Fixed doc typo in relative() that mentioned rel2abs instead of abs2rel
2017-01-16 14:08:07 +00:00
Paul Howarth
d8046b42af Update to 0.098
- New upstream release 0.098
  - Added 'realpath' option for 'tempfile' and 'tempdir' for situations where
    an absolute temporary path just isn't enough
2016-10-10 13:36:24 +01:00
Paul Howarth
8bb25b7dce Update to 0.096
- New upstream release 0.096
  - Improved method for hiding some modules during tests
- BR: perl-generators unconditionally
2016-07-03 12:13:54 +01:00
Paul Howarth
4cdc86024f Update to 0.094
- New upstream release 0.094
  - Path::Tiny will prefer PerlIO::utf8_strict over encoding(UTF-8) if
    available and Unicode::UTF8 is not installed
  - The 'touch' method can now set the current time on files that aren't owned,
    as long as they are writeable
  - Improved consistency of symlink support inspection; now always looks at
    $Config{d_symlink}
  - Skips impossible test on 'msys' platform.
- BR: perl-generators where possible
- Drop redundant Group: tag
2016-05-23 20:57:05 +01:00
Jitka Plesnikova
d5e39fa4a0 Perl 5.24 rebuild 2016-05-16 10:21:19 +02:00
Paul Howarth
4a9c2c9608 Update to 0.090
- New upstream release 0.090
  - Fix spew_utf8 to allow array references as input
2016-05-03 16:01:50 +01:00
Paul Howarth
0c96b35e29 Update to 0.088
- New upstream release 0.088
  - Fixed bugs in relative symlink resolution for realpath, spew and edit_lines
  - Symlink resolution will detect circular loops and throw an error
2016-04-18 12:07:20 +01:00
Paul Howarth
5e259b1a4f Update to 0.086
- New upstream release 0.086
  - Improved documentation of copy and move
- Simplify find command using -delete
2016-04-04 10:52:26 +01:00
Paul Howarth
4536339a68 Update to 0.084
- New upstream release 0.084
  - Fixed relative() for the case with regex metacharacters in the path
2016-03-04 16:01:45 +00:00
Paul Howarth
c6da6dc260 Update to 0.082
- New upstream release 0.082
  - The relative() method no longer uses File::Spec's buggy rel2abs method;
    the new Path::Tiny algorithm should be comparable and passes File::Spec
    rel2abs test cases, except that it correctly accounts for symlinks
  - Added 'edit' and 'edit_lines' plus _utf8 and _raw variants; this is
    similar to perl's -i flag (though without backups)
  - Fixed lines_utf8() with chomping for repeated empty lines
  - Fixed lines_utf8+chomp and relative() bugs on Windows
  - Documented that subclassing is not supported
2016-03-02 10:37:06 +00:00
Fedora Release Engineering
67e788a766 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 15:20:57 +00:00
Paul Howarth
6e8e9c5030 Fix typo in changelog 2015-11-23 17:23:00 +00:00
Paul Howarth
bebab80e22 Update to 0.075
- New upstream release 0.075
  - Tilde expansion on Windows was resulting in backslashes; now they are
    correctly normalized to forward slashes
  - Typos fixed
  - Fixed spewing to a symlink that crosses a filesystem boundary
  - Add Test::MockRandom to META as a recommended test prerequisite
2015-11-16 16:39:32 +00:00
Paul Howarth
1a4fa64436 Update to 0.072
- New upstream release 0.072
  - Fixed incorrect error argument for File::Path functions (mkpath and
    remove_tree)
2015-07-21 11:32:32 +01:00
Paul Howarth
0b3015d089 Fix FTBFS with latest File::Path
Fixed incorrect error argument for File::Path functions (mkpath and
remove_tree) (GH#144)
2015-07-20 13:51:24 +01:00
Paul Howarth
8ae8b81207 Update to 0.070
- New upstream release 0.070
  - The 'copy' method now returns the object for the copied file
  - The 'visit' method only dereferences the callback return value for scalar
    refs, avoiding some common bugs
2015-06-29 11:15:40 +01:00
Dennis Gilmore
815ccc313f - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-18 05:27:20 +00:00
Jitka Plesnikova
b0ffdaa9d8 Perl 5.22 rebuild 2015-06-06 11:54:04 +02:00
Paul Howarth
2d698d81bb Update to 0.068
- New upstream release 0.068
  - Added exclusive locking option to filehandle opens; spew now exclusively
    locks tempfile used for atomic writes
2015-03-24 09:44:36 +00:00
Paul Howarth
dee36f85d1 Update to 0.065
- New upstream release 0.065
  - Added 'assert' method
  - Added 'visit' method
  - Added support for a negative count for 'lines' to get the last lines of a
    file
  - Fixed tilde expansion if path has spaces
  - Make realpath non-fatal if the parent path exists and only the final path
    component does not (was fatal on Windows and some Unixes)
  - Removed rendundant locking on tempfile use for spewing
  - Work around File::Temp bugs on older ActiveState Windows Perls
    https://bugs.activestate.com/show_bug.cgi?id=104767
  - Fixed SYNOPSIS example
2015-03-06 12:31:03 +00:00
Paul Howarth
c3ea76f4a6 Update to 0.061
- New upstream release 0.061
  - Fixed append_utf8 and append_raw with 'truncate' option
2014-11-14 12:09:41 +00:00
Paul Howarth
481f725d8c Update to 0.060
- New upstream release 0.060
  - Added 'truncate' option to append for in-place replacement of file contents
2014-11-06 10:41:12 +00:00
Paul Howarth
1c318234a3 Update to 0.059
- New upstream release 0.059
  - Fixed precedence bug in the check for Unicode::UTF8
2014-10-15 09:19:39 +01:00
Paul Howarth
1d73af95df Update to 0.058
- New upstream release 0.058
  - Added a 'sibling' method as a more efficient form of calling
    $path->parent->child(...).
  - Documentation for every method annotated with the version number of the
    last API change
2014-09-25 13:49:41 +01:00
Paul Howarth
360140b9fa Update to 0.057
- New upstream release 0.057
  - On AIX, reads that default to locking would fail without write permissions,
    because locking needs write permissions; the fix is only to lock reads if
    write permissions exist, otherwise locking is skipped
2014-09-23 16:03:51 +01:00
Jitka Plesnikova
e49333040b Perl 5.20 rebuild 2014-08-29 13:35:53 +02:00
Paul Howarth
a0f20952e5 Update to 0.056
- New upstream release 0.056
  - Fixed problem throwing errors from 'remove'
  - The 'digest' method now takes a 'chunk_size' option to avoid slurping files
    entirely into memory
  - The 'dirname' method is deprecated due to exposing File::Spec
    inconsistencies
- Use %license
2014-08-14 16:54:03 +01:00
Paul Howarth
5e481b526a Update to 0.055
- New upstream release 0.055
  - tempfile/tempdir won't warn if used as functions without arguments
2014-07-01 15:27:52 +01:00
Dennis Gilmore
c2ad56fb54 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 03:54:54 -05:00
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