Commit 175566ae authored by Florian Schlichting's avatar Florian Schlichting

Imported Upstream version 1.003

parent d7920f5b
Revision history for IO-TieCombine
1.003 2013-09-21 15:11:30 Asia/Tokyo
- "say" to a tied fh on 5.12, 5.14, and 5.16 is broken, too;
we'll test it, but leave the test broken, for now
1.002 2012-02-26 15:26:49 America/New_York
"say" to a tied fh on 5.10.0 is broken; we will not test it
- "say" to a tied fh on 5.10.0 is broken; we will not test it
1.001 2011-12-09 10:52:01 America/New_York
TieCombine filehandles now respect $\ so that "say $tied" will work;
- TieCombine filehandles now respect $\ so that "say $tied" will work;
this fixes [rt.cpan.org #73131]
1.000 2008-10-16
first release
- first release
This software is copyright (c) 2012 by Ricardo SIGNES.
This software is copyright (c) 2013 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......@@ -12,7 +12,7 @@ b) the "Artistic License"
--- The GNU General Public License, Version 1, February 1989 ---
This software is Copyright (c) 2012 by Ricardo SIGNES.
This software is Copyright (c) 2013 by Ricardo SIGNES.
This is free software, licensed under:
......@@ -272,7 +272,7 @@ That's all there is to it!
--- The Artistic License 1.0 ---
This software is Copyright (c) 2012 by Ricardo SIGNES.
This software is Copyright (c) 2013 by Ricardo SIGNES.
This is free software, licensed under:
......
......@@ -9,5 +9,8 @@ dist.ini
lib/IO/TieCombine.pm
lib/IO/TieCombine/Handle.pm
lib/IO/TieCombine/Scalar.pm
t/00-compile.t
t/000-report-versions-tiny.t
t/basic.t
t/release-pod-syntax.t
xt/release/changes_has_content.t
xt/release/pod-syntax.t
......@@ -4,7 +4,7 @@
"Ricardo SIGNES <rjbs@cpan.org>"
],
"dynamic_config" : 0,
"generated_by" : "Dist::Zilla version 4.300009, CPAN::Meta::Converter version 2.120351",
"generated_by" : "Dist::Zilla version 4.300030, CPAN::Meta::Converter version 2.120921",
"license" : [
"perl_5"
],
......@@ -19,6 +19,12 @@
"ExtUtils::MakeMaker" : "6.30"
}
},
"develop" : {
"requires" : {
"Test::Pod" : "1.41",
"version" : "0.9901"
}
},
"runtime" : {
"requires" : {
"Carp" : "0",
......@@ -29,136 +35,151 @@
},
"test" : {
"requires" : {
"File::Find" : "0",
"File::Temp" : "0",
"Test::More" : "0.96"
}
}
},
"release_status" : "stable",
"resources" : {
"homepage" : "https://github.com/rjbs/io-tiecombine",
"homepage" : "https://github.com/rjbs/IO-TieCombine",
"repository" : {
"type" : "git",
"url" : "https://github.com/rjbs/io-tiecombine.git",
"web" : "https://github.com/rjbs/io-tiecombine"
"url" : "https://github.com/rjbs/IO-TieCombine.git",
"web" : "https://github.com/rjbs/IO-TieCombine"
}
},
"version" : "1.002",
"version" : "1.003",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.016003"
},
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
"name" : "@RJBS/Git::GatherDir",
"version" : "2.009"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "@RJBS/CheckPrereqsIndexed",
"version" : "0.007"
"version" : "0.008"
},
{
"class" : "Dist::Zilla::Plugin::GatherDir",
"name" : "@RJBS/@Basic/GatherDir",
"version" : "4.300009"
"class" : "Dist::Zilla::Plugin::CheckExtraTests",
"name" : "@RJBS/CheckExtraTests",
"version" : "0.011"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@RJBS/@Basic/PruneCruft",
"version" : "4.300009"
"name" : "@RJBS/@Filter/PruneCruft",
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@RJBS/@Basic/ManifestSkip",
"version" : "4.300009"
"name" : "@RJBS/@Filter/ManifestSkip",
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@RJBS/@Basic/MetaYAML",
"version" : "4.300009"
"name" : "@RJBS/@Filter/MetaYAML",
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@RJBS/@Basic/License",
"version" : "4.300009"
"name" : "@RJBS/@Filter/License",
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@RJBS/@Basic/Readme",
"version" : "4.300009"
},
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
"name" : "@RJBS/@Basic/ExtraTests",
"version" : "4.300009"
"name" : "@RJBS/@Filter/Readme",
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@RJBS/@Basic/ExecDir",
"version" : "4.300009"
"name" : "@RJBS/@Filter/ExecDir",
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@RJBS/@Basic/ShareDir",
"version" : "4.300009"
"name" : "@RJBS/@Filter/ShareDir",
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
"name" : "@RJBS/@Basic/MakeMaker",
"version" : "4.300009"
"name" : "@RJBS/@Filter/MakeMaker",
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@RJBS/@Basic/Manifest",
"version" : "4.300009"
"name" : "@RJBS/@Filter/Manifest",
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@RJBS/@Basic/TestRelease",
"version" : "4.300009"
"name" : "@RJBS/@Filter/TestRelease",
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@RJBS/@Basic/ConfirmRelease",
"version" : "4.300009"
"name" : "@RJBS/@Filter/ConfirmRelease",
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@RJBS/@Basic/UploadToCPAN",
"version" : "4.300009"
"name" : "@RJBS/@Filter/UploadToCPAN",
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@RJBS/AutoPrereqs",
"version" : "4.300009"
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
"name" : "@RJBS/Git::NextVersion",
"version" : "1.120370"
"version" : "2.009"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
"version" : "4.300009"
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
"version" : "4.300009"
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
"version" : "4.300009"
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
"version" : "4.300009"
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
"name" : "@RJBS/Test::ChangesHasContent",
"version" : "0.006"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
"version" : "4.300009"
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::Test::Compile",
"name" : "@RJBS/Test::Compile",
"version" : "2.001"
},
{
"class" : "Dist::Zilla::Plugin::Repository",
"name" : "@RJBS/Repository",
"version" : "0.18"
"class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
"name" : "@RJBS/ReportVersions::Tiny",
"version" : "1.08"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
......@@ -169,7 +190,7 @@
}
},
"name" : "@RJBS/TestMoreWithSubtests",
"version" : "4.300009"
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
......@@ -184,52 +205,52 @@
{
"class" : "Dist::Zilla::Plugin::Git::Check",
"name" : "@RJBS/@Git/Check",
"version" : "1.120370"
"version" : "2.009"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"name" : "@RJBS/@Git/Commit",
"version" : "1.120370"
"version" : "2.009"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"name" : "@RJBS/@Git/Tag",
"version" : "1.120370"
"version" : "2.009"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
"name" : "@RJBS/@Git/Push",
"version" : "1.120370"
"version" : "2.009"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
"version" : "4.300009"
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
"version" : "4.300009"
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
"version" : "4.300009"
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
"version" : "4.300009"
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
"version" : "4.300009"
"version" : "4.300030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
"version" : "4.300009"
"version" : "4.300030"
}
],
"zilla" : {
......@@ -237,7 +258,7 @@
"config" : {
"is_trial" : "0"
},
"version" : "4.300009"
"version" : "4.300030"
}
}
}
......
......@@ -3,11 +3,13 @@ abstract: 'produce tied (and other) separate but combined variables'
author:
- 'Ricardo SIGNES <rjbs@cpan.org>'
build_requires:
File::Find: 0
File::Temp: 0
Test::More: 0.96
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
generated_by: 'Dist::Zilla version 4.300009, CPAN::Meta::Converter version 2.120351'
generated_by: 'Dist::Zilla version 4.300030, CPAN::Meta::Converter version 2.120921'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
......@@ -19,103 +21,113 @@ requires:
strict: 0
warnings: 0
resources:
homepage: https://github.com/rjbs/io-tiecombine
repository: https://github.com/rjbs/io-tiecombine.git
version: 1.002
homepage: https://github.com/rjbs/IO-TieCombine
repository: https://github.com/rjbs/IO-TieCombine.git
version: 1.003
x_Dist_Zilla:
perl:
version: 5.016003
plugins:
-
class: Dist::Zilla::Plugin::Git::GatherDir
name: '@RJBS/Git::GatherDir'
version: 2.009
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@RJBS/CheckPrereqsIndexed'
version: 0.007
version: 0.008
-
class: Dist::Zilla::Plugin::GatherDir
name: '@RJBS/@Basic/GatherDir'
version: 4.300009
class: Dist::Zilla::Plugin::CheckExtraTests
name: '@RJBS/CheckExtraTests'
version: 0.011
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@RJBS/@Basic/PruneCruft'
version: 4.300009
name: '@RJBS/@Filter/PruneCruft'
version: 4.300030
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@RJBS/@Basic/ManifestSkip'
version: 4.300009
name: '@RJBS/@Filter/ManifestSkip'
version: 4.300030
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@RJBS/@Basic/MetaYAML'
version: 4.300009
name: '@RJBS/@Filter/MetaYAML'
version: 4.300030
-
class: Dist::Zilla::Plugin::License
name: '@RJBS/@Basic/License'
version: 4.300009
name: '@RJBS/@Filter/License'
version: 4.300030
-
class: Dist::Zilla::Plugin::Readme
name: '@RJBS/@Basic/Readme'
version: 4.300009
-
class: Dist::Zilla::Plugin::ExtraTests
name: '@RJBS/@Basic/ExtraTests'
version: 4.300009
name: '@RJBS/@Filter/Readme'
version: 4.300030
-
class: Dist::Zilla::Plugin::ExecDir
name: '@RJBS/@Basic/ExecDir'
version: 4.300009
name: '@RJBS/@Filter/ExecDir'
version: 4.300030
-
class: Dist::Zilla::Plugin::ShareDir
name: '@RJBS/@Basic/ShareDir'
version: 4.300009
name: '@RJBS/@Filter/ShareDir'
version: 4.300030
-
class: Dist::Zilla::Plugin::MakeMaker
name: '@RJBS/@Basic/MakeMaker'
version: 4.300009
name: '@RJBS/@Filter/MakeMaker'
version: 4.300030
-
class: Dist::Zilla::Plugin::Manifest
name: '@RJBS/@Basic/Manifest'
version: 4.300009
name: '@RJBS/@Filter/Manifest'
version: 4.300030
-
class: Dist::Zilla::Plugin::TestRelease
name: '@RJBS/@Basic/TestRelease'
version: 4.300009
name: '@RJBS/@Filter/TestRelease'
version: 4.300030
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@RJBS/@Basic/ConfirmRelease'
version: 4.300009
name: '@RJBS/@Filter/ConfirmRelease'
version: 4.300030
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@RJBS/@Basic/UploadToCPAN'
version: 4.300009
name: '@RJBS/@Filter/UploadToCPAN'
version: 4.300030
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@RJBS/AutoPrereqs'
version: 4.300009
version: 4.300030
-
class: Dist::Zilla::Plugin::Git::NextVersion
name: '@RJBS/Git::NextVersion'
version: 1.120370
version: 2.009
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
version: 4.300009
version: 4.300030
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
version: 4.300009
version: 4.300030
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
version: 4.300009
version: 4.300030
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
version: 4.300009
version: 4.300030
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@RJBS/Test::ChangesHasContent'
version: 0.006
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
version: 4.300009
version: 4.300030
-
class: Dist::Zilla::Plugin::Test::Compile
name: '@RJBS/Test::Compile'
version: 2.001
-
class: Dist::Zilla::Plugin::Repository
name: '@RJBS/Repository'
version: 0.18
class: Dist::Zilla::Plugin::ReportVersions::Tiny
name: '@RJBS/ReportVersions::Tiny'
version: 1.08
-
class: Dist::Zilla::Plugin::Prereqs
config:
......@@ -123,7 +135,7 @@ x_Dist_Zilla:
phase: test
type: requires
name: '@RJBS/TestMoreWithSubtests'
version: 4.300009
version: 4.300030
-
class: Dist::Zilla::Plugin::PodWeaver
name: '@RJBS/PodWeaver'
......@@ -135,45 +147,45 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::Git::Check
name: '@RJBS/@Git/Check'
version: 1.120370
version: 2.009
-
class: Dist::Zilla::Plugin::Git::Commit
name: '@RJBS/@Git/Commit'
version: 1.120370
version: 2.009
-
class: Dist::Zilla::Plugin::Git::Tag
name: '@RJBS/@Git/Tag'
version: 1.120370
version: 2.009
-
class: Dist::Zilla::Plugin::Git::Push
name: '@RJBS/@Git/Push'
version: 1.120370
version: 2.009
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
version: 4.300009
version: 4.300030
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
version: 4.300009
version: 4.300030
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
version: 4.300009
version: 4.300030
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
version: 4.300009
version: 4.300030
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
version: 4.300009
version: 4.300030
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
version: 4.300009
version: 4.300030
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
version: 4.300009
version: 4.300030
......@@ -12,6 +12,8 @@ my %WriteMakefileArgs = (
"ABSTRACT" => "produce tied (and other) separate but combined variables",
"AUTHOR" => "Ricardo SIGNES <rjbs\@cpan.org>",
"BUILD_REQUIRES" => {
"File::Find" => 0,
"File::Temp" => 0,
"Test::More" => "0.96"
},
"CONFIGURE_REQUIRES" => {
......@@ -27,7 +29,7 @@ my %WriteMakefileArgs = (
"strict" => 0,
"warnings" => 0
},
"VERSION" => "1.002",
"VERSION" => "1.003",
"test" => {
"TESTS" => "t/*.t"
}
......
This archive contains the distribution IO-TieCombine,
version 1.002:
version 1.003:
produce tied (and other) separate but combined variables
This software is copyright (c) 2012 by Ricardo SIGNES.
This software is copyright (c) 2013 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
......
......@@ -2,7 +2,7 @@ use strict;
use warnings;
package IO::TieCombine;
{
$IO::TieCombine::VERSION = '1.002';
$IO::TieCombine::VERSION = '1.003';
}
# ABSTRACT: produce tied (and other) separate but combined variables
......@@ -122,6 +122,7 @@ sub callback {
1;
__END__
=pod
=head1 NAME
......@@ -130,7 +131,7 @@ IO::TieCombine - produce tied (and other) separate but combined variables
=head1 VERSION
version 1.002
version 1.003
=head1 SYNOPSIS
......@@ -167,6 +168,13 @@ tied filehandle using C<say> B<will not have the expected newline>. 5.10.1 or
later is needed. Since 5.10.0 is broken in so many other ways, you should
really upgrade anyway.
B<ACHTUNG!!> Because of a different problem with Perls 5.10.1 - 5.16.3, if you
send output to a tied filehandle using C<say>, and C<$\> is undefined (which is
the default), B<< C<$\> will not be restored to C<undef> after the C<say> >>!
This means that once you've used C<say> to print to I<any> tied filehandle, you
have corrupted the global state of your program. Either start your program by
setting C<$\> to an empty string, which should be safe, or upgrade to 5.18.0.
=head1 METHODS
=head2 new
......@@ -214,10 +222,9 @@ Ricardo SIGNES <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES.
This software is copyright (c) 2013 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
......@@ -2,7 +2,7 @@ use strict;
use warnings;
package IO::TieCombine::Handle;
{
$IO::TieCombine::Handle::VERSION = '1.002';
$IO::TieCombine::Handle::VERSION = '1.003';
}
# ABSTRACT: tied filehandles for IO::TieCombine
......@@ -45,6 +45,7 @@ sub FILENO { return 0 + $_[0] }
1;
__END__
=pod
=head1 NAME
......@@ -53,7 +54,7 @@ IO::TieCombine::Handle - tied filehandles for IO::TieCombine
=head1 VERSION
version 1.002
version 1.003
=head1 AUTHOR
......@@ -61,10 +62,9 @@ Ricardo SIGNES <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES.
This software is copyright (c) 2013 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
......@@ -2,7 +2,7 @@ use strict;
use warnings;
package IO::TieCombine::Scalar;
{
$IO::TieCombine::Scalar::VERSION = '1.002';
$IO::TieCombine::Scalar::VERSION = '1.003';
}
# ABSTRACT: tied scalars for IO::TieCombine
......@@ -41,6 +41,7 @@ sub STORE {
1;
__END__
=pod
=head1 NAME
......@@ -49,7 +50,7 @@ IO::TieCombine::Scalar - tied scalars for IO::TieCombine
=head1 VERSION
version 1.002
version 1.003
=head1 AUTHOR
......@@ -57,10 +58,9 @@ Ricardo SIGNES <rjbs@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Ricardo SIGNES.
This software is copyright (c) 2013 by Ricardo SIGNES.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
#!perl
use strict;
use warnings;
use Test::More;
use File::Find;
use File::Temp qw{ tempdir };
my @modules;
find(
sub {
return if $File::Find::name !~ /\.pm\z/;<