@@ -20,6 +20,7 @@ my $builder = Module::Build->new(
'Scalar::Util' => 0,
'IO::AtomicFile' => 0,
'Fcntl' => 0,
+ 'List::MoreUtils' => 0,
},
build_requires => {
'Test::More' => 0,
@@ -30,7 +31,6 @@ my $builder = Module::Build->new(
},
add_to_cleanup => [ 'IO-Any-*' ],
create_readme => 1,
- sign => 1,
meta_merge => {
resources => {
repository => 'git://github.com/jozef/IO-Any.git',
@@ -1,5 +1,8 @@
Revision history for IO-Any
+0.08 20 Sep 2014
+ - fix requires (thanks Przemek Wesołek)
+
0.07 23 Jan 2013
- replace smartmatches
@@ -14,4 +14,3 @@ t/pod-coverage.t
t/pod-spell.t
t/pod.t
t/stock/01.txt
-SIGNATURE Added here by Module::Build
@@ -4,7 +4,7 @@
"Jozef Kutej <jkutej@cpan.org>"
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.110440",
+ "generated_by" : "Module::Build version 0.4202",
"keywords" : [
"io",
"portable",
@@ -22,11 +22,11 @@
"prereqs" : {
"build" : {
"requires" : {
- "File::Slurp" : 0,
- "File::Temp" : 0,
- "Test::Differences" : 0,
- "Test::Exception" : 0,
- "Test::More" : 0
+ "File::Slurp" : "0",
+ "File::Temp" : "0",
+ "Test::Differences" : "0",
+ "Test::Exception" : "0",
+ "Test::More" : "0"
}
},
"configure" : {
@@ -36,20 +36,21 @@
},
"runtime" : {
"requires" : {
- "Carp" : 0,
- "Fcntl" : 0,
- "File::Spec" : 0,
- "IO::AtomicFile" : 0,
- "IO::File" : 0,
- "IO::String" : 0,
- "Scalar::Util" : 0
+ "Carp" : "0",
+ "Fcntl" : "0",
+ "File::Spec" : "0",
+ "IO::AtomicFile" : "0",
+ "IO::File" : "0",
+ "IO::String" : "0",
+ "List::MoreUtils" : "0",
+ "Scalar::Util" : "0"
}
}
},
"provides" : {
"IO::Any" : {
"file" : "lib/IO/Any.pm",
- "version" : "0.07"
+ "version" : "0.08"
}
},
"release_status" : "stable",
@@ -61,9 +62,8 @@
"http://dev.perl.org/licenses/"
],
"repository" : {
- "type" : "git",
"url" : "git://github.com/jozef/IO-Any.git"
}
},
- "version" : "0.07"
+ "version" : "0.08"
}
@@ -11,7 +11,7 @@ build_requires:
configure_requires:
Module::Build: 0.36
dynamic_config: 1
-generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110440'
+generated_by: 'Module::Build version 0.4202, CPAN::Meta::Converter version 2.132830'
keywords:
- io
- portable
@@ -25,7 +25,7 @@ name: IO-Any
provides:
IO::Any:
file: lib/IO/Any.pm
- version: 0.07
+ version: 0.08
requires:
Carp: 0
Fcntl: 0
@@ -33,9 +33,10 @@ requires:
IO::AtomicFile: 0
IO::File: 0
IO::String: 0
+ List::MoreUtils: 0
Scalar::Util: 0
resources:
bugtracker: http://github.com/jozef/IO-Any/issues
license: http://dev.perl.org/licenses/
repository: git://github.com/jozef/IO-Any.git
-version: 0.07
+version: 0.08
@@ -35,27 +35,29 @@ SYNOPSIS
DESCRIPTION
The aim is to provide read/write anything. The module tries to guess
- $what the "anything" is based on some rules. See "new" method Pod for
- examples and "new" and "_guess_what" code for the implementation.
+ `$what' the "anything" is based on some rules. See new method Pod for
+ examples and the new and _guess_what entries elsewhere in this document
+ code for the implementation.
- There are two methods "slurp" and "spew" to read/write whole $what.
+ There are two methods the slurp and spew entries elsewhere in this
+ document to read/write whole `$what'.
MOTIVATION
The purpose is to be able to use IO::Any in other modules that needs to
read or write data. The description for an argument could be - pass
anything that IO::Any accepts as argument - GLOBs, IO::File,
Path::Class::File, IO::AtomicFile, IO::String, pointers to scalar and
- pointer to array (array elements are passed to "catfile" in File::Spec
- as portable file addressing).
+ pointer to array (array elements are passed to File::Spec as portable
+ file addressing).
First time I've used IO::Any for JSON::Util where for the functions to
encode and decode needs to read/write data.
METHODS
new($what, $how, $options)
- Open $what in $how mode.
+ Open `$what' in `$how' mode.
- $what can be:
+ `$what' can be:
'filename' => [ 'file' => 'filename' ],
'folder/filename' => [ 'file' => 'folder/filename' ],
@@ -72,7 +74,7 @@ METHODS
Returns filehandle. IO::String for 'string', IO::File for 'file'. 'http'
not implemented yet.
- Here are available %$options options:
+ Here are available `%$options' options:
atomic true/false if the file operations should be done using L<IO::AtomicFile> or L<IO::File>
LOCK_SH lock file for shared access
@@ -89,21 +91,21 @@ METHODS
iostring
iofile
- $what is normalized path that can be used for IO::*.
+ `$what' is normalized path that can be used for IO::*.
read($what)
- Same as "IO::Any->new($what, '<');" or "IO::Any->new($what);".
+ Same as `IO::Any->new($what, '<');' or `IO::Any->new($what);'.
write($what)
- Same as "IO::Any->new($what, '>');"
+ Same as `IO::Any->new($what, '>');'
slurp($what)
- Returns content of $what.
+ Returns content of `$what'.
If AnyEvent is loaded then uses event loop to read the content.
spew($what, $data, $opt)
- Writes $data to $what.
+ Writes `$data' to `$what'.
If AnyEvent is loaded then uses event loop to write the content.
@@ -111,12 +113,23 @@ SEE ALSO
IO::All, File::Spec, Path::Class
AUTHOR
- Jozef Kutej, "<jkutej at cpan.org>"
+ Jozef Kutej, `<jkutej at cpan.org>'
+
+CONTRIBUTORS
+ The following people have contributed to the Sys::Path by commiting
+ their code, sending patches, reporting bugs, asking questions,
+ suggesting useful advices, nitpicking, chatting on IRC or commenting on
+ my blog (in no particular order):
+
+ SREZIC [...] cpan.org
+ Alexandr Ciornii
+ Gabor Szabo
+ Przemek Wesołek
BUGS
- Please report any bugs or feature requests to "bug-io-any at
- rt.cpan.org", or through the web interface at
- <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IO-Any>. I will be
+ Please report any bugs or feature requests to `bug-io-any at
+ rt.cpan.org', or through the web interface at
+ http://rt.cpan.org/NoAuth/ReportBug.html?Queue=IO-Any. I will be
notified, and then you'll automatically be notified of progress on your
bug as I make changes.
@@ -127,27 +140,21 @@ SUPPORT
You can also look for information at:
- * GitHub: issues
-
- <http://github.com/jozef/IO-Any/issues>
-
- * RT: CPAN's request tracker
-
- <http://rt.cpan.org/NoAuth/Bugs.html?Dist=IO-Any>
-
- * AnnoCPAN: Annotated CPAN documentation
-
- <http://annocpan.org/dist/IO-Any>
+ * GitHub: issues
+ http://github.com/jozef/IO-Any/issues
- * CPAN Ratings
+ * RT: CPAN's request tracker
+ http://rt.cpan.org/NoAuth/Bugs.html?Dist=IO-Any
- <http://cpanratings.perl.org/d/IO-Any>
+ * AnnoCPAN: Annotated CPAN documentation
+ http://annocpan.org/dist/IO-Any
- * Search CPAN
+ * CPAN Ratings
+ http://cpanratings.perl.org/d/IO-Any
- <http://search.cpan.org/dist/IO-Any>
+ * Search CPAN
+ http://search.cpan.org/dist/IO-Any
-ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2009 Jozef Kutej, all rights reserved.
@@ -1,39 +0,0 @@
-This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.68.
-
-To verify the content in this distribution, first make sure you have
-Module::Signature installed, then type:
-
- % cpansign -v
-
-It will check each file's integrity, as well as the signature's
-validity. If "==> Signature verified OK! <==" is not displayed,
-the distribution may already have been compromised, and you should
-not run its Makefile.PL or Build.PL.
-
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-SHA1 98a4861240d9c8c694248070f2013d90f8c8b2e6 Build.PL
-SHA1 d9dd24a66d48417be2234be6b76cd3b4379c33e5 Changes
-SHA1 a27a9f7fcdf160410fd43432fe99194352f9d39b MANIFEST
-SHA1 25f8e7c41af3a8383e6946d4ebb6140fa9325f2f META.json
-SHA1 e53ca721e77a260196689689ab0338d328117c38 META.yml
-SHA1 b76e7b29199764ad6441b3fd572799171117bfe6 README
-SHA1 3e3bd24bf664ed70010ed1d8420a4dfa89e0c3e0 lib/IO/Any.pm
-SHA1 6c0df714409999be16608b5614617d738d071bfd t/01_IO-Any.t
-SHA1 faf5c8daeb6e0f7fb0b5f78146513319cf11cd94 t/02_IO-Any_AnyEvent.t
-SHA1 355685e337bdb802653d1458babb5f87218b9338 t/03_DATA.t
-SHA1 41533fbd463e42d2ecf1e119eca910c16809d13e t/distribution.t
-SHA1 10c564e5ffe84748070827b350edbf3d6b832b20 t/fixme.t
-SHA1 0b1c5a2d59be6bfa7d60c64cd964fea6a0331705 t/pod-coverage.t
-SHA1 8b7fbdf52ed1298513f41eed34bcd0d4513745a7 t/pod-spell.t
-SHA1 640935336dc1123c0069bcf5432bcaedc2cf22d3 t/pod.t
-SHA1 98035ce77880d6b0f49d4739ea765d4af2a57137 t/stock/01.txt
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.12 (GNU/Linux)
-
-iEYEARECAAYFAlK4S38ACgkQC0OgUPgL2SdzZwCfWv2gxjGG0UlxZAKEjDqnHdTv
-t8oAmgPfgxVYR6F2B86ElxnvgWURimqQ
-=KI4P
------END PGP SIGNATURE-----
@@ -3,7 +3,7 @@ package IO::Any;
use warnings;
use strict;
-our $VERSION = '0.07';
+our $VERSION = '0.08';
use Carp 'confess';
use Scalar::Util 'blessed';
@@ -331,6 +331,18 @@ L<IO::All>, L<File::Spec>, L<Path::Class>
Jozef Kutej, C<< <jkutej at cpan.org> >>
+=head1 CONTRIBUTORS
+
+The following people have contributed to the Sys::Path by commiting their
+code, sending patches, reporting bugs, asking questions, suggesting useful
+advices, nitpicking, chatting on IRC or commenting on my blog (in no particular
+order):
+
+ SREZIC [...] cpan.org
+ Alexandr Ciornii
+ Gabor Szabo
+ Przemek Wesołek
+
=head1 BUGS
Please report any bugs or feature requests to C<bug-io-any at rt.cpan.org>, or through
@@ -374,9 +386,6 @@ L<http://search.cpan.org/dist/IO-Any>
=back
-=head1 ACKNOWLEDGEMENTS
-
-
=head1 COPYRIGHT & LICENSE
Copyright 2009 Jozef Kutej, all rights reserved.