From: Tomas Doran Date: Wed, 17 Nov 2010 13:51:14 +0000 (+0000) Subject: Remove Test::TempDir X-Git-Tag: 0.29 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=08d0f48e13425d8f0e2cb21ac2eea0d8c4cab3ca;p=gitmo%2FMooseX-Storage.git Remove Test::TempDir --- diff --git a/Changes b/Changes index 189f8a8..dddaee2 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,8 @@ Revision history for MooseX-Storage +0.29 + * Remove use of Test::TempDir in favor of File::Temp (gphat) + 0.28 * Make the engine_traits parameter be able to use a '+My::Trait::Name' prefix to specify a trait name which isn't in the diff --git a/Makefile.PL b/Makefile.PL index 43c4ac2..fb4ba24 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -44,7 +44,6 @@ author_tests 't/author'; build_requires 'Test::More' => '0.88'; build_requires 'Test::Deep' => '0'; build_requires 'Test::Exception' => '0'; -build_requires 'Test::TempDir' => '0.02'; build_requires 'Test::Requires' => '0.05'; author_requires 'Test::Pod' => '1.14'; diff --git a/README b/README index 3936d52..613f427 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -MooseX-Storage version 0.28 +MooseX-Storage version 0.29 INSTALLATION diff --git a/lib/MooseX/Storage.pm b/lib/MooseX/Storage.pm index a5b74f4..6258cea 100644 --- a/lib/MooseX/Storage.pm +++ b/lib/MooseX/Storage.pm @@ -5,7 +5,7 @@ use Moose qw(confess); use MooseX::Storage::Meta::Attribute::DoNotSerialize; use String::RewritePrefix (); -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; sub import { diff --git a/lib/MooseX/Storage/Base/WithChecksum.pm b/lib/MooseX/Storage/Base/WithChecksum.pm index 22c5593..5cd9e27 100644 --- a/lib/MooseX/Storage/Base/WithChecksum.pm +++ b/lib/MooseX/Storage/Base/WithChecksum.pm @@ -6,7 +6,7 @@ with 'MooseX::Storage::Basic'; use Digest (); use Data::Dumper (); -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; our $DIGEST_MARKER = '__DIGEST__'; diff --git a/lib/MooseX/Storage/Basic.pm b/lib/MooseX/Storage/Basic.pm index 7f56c99..b95d06f 100644 --- a/lib/MooseX/Storage/Basic.pm +++ b/lib/MooseX/Storage/Basic.pm @@ -4,7 +4,7 @@ use Moose::Role; use MooseX::Storage::Engine; use String::RewritePrefix; -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; sub pack { diff --git a/lib/MooseX/Storage/Deferred.pm b/lib/MooseX/Storage/Deferred.pm index 09be00c..776a154 100644 --- a/lib/MooseX/Storage/Deferred.pm +++ b/lib/MooseX/Storage/Deferred.pm @@ -1,7 +1,7 @@ package MooseX::Storage::Deferred; use Moose::Role; -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; with 'MooseX::Storage::Basic'; diff --git a/lib/MooseX/Storage/Engine.pm b/lib/MooseX/Storage/Engine.pm index 1b6a70b..f079b9a 100644 --- a/lib/MooseX/Storage/Engine.pm +++ b/lib/MooseX/Storage/Engine.pm @@ -3,7 +3,7 @@ package MooseX::Storage::Engine; use Moose; use Scalar::Util qw(refaddr); -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; # the class marker when diff --git a/lib/MooseX/Storage/Engine/IO/AtomicFile.pm b/lib/MooseX/Storage/Engine/IO/AtomicFile.pm index 5c5e5a7..f49b962 100644 --- a/lib/MooseX/Storage/Engine/IO/AtomicFile.pm +++ b/lib/MooseX/Storage/Engine/IO/AtomicFile.pm @@ -5,7 +5,7 @@ use Moose; use utf8 (); use IO::AtomicFile; -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; extends 'MooseX::Storage::Engine::IO::File'; diff --git a/lib/MooseX/Storage/Engine/IO/File.pm b/lib/MooseX/Storage/Engine/IO/File.pm index ddd7b9f..20ebcbc 100644 --- a/lib/MooseX/Storage/Engine/IO/File.pm +++ b/lib/MooseX/Storage/Engine/IO/File.pm @@ -5,7 +5,7 @@ use Moose; use utf8 (); use IO::File; -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; has 'file' => ( diff --git a/lib/MooseX/Storage/Format/JSON.pm b/lib/MooseX/Storage/Format/JSON.pm index 5cbf12a..7c6b6bb 100644 --- a/lib/MooseX/Storage/Format/JSON.pm +++ b/lib/MooseX/Storage/Format/JSON.pm @@ -7,7 +7,7 @@ no warnings 'once'; use JSON::Any; use utf8 (); -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; requires 'pack'; diff --git a/lib/MooseX/Storage/Format/Storable.pm b/lib/MooseX/Storage/Format/Storable.pm index 7d4a43a..09ae944 100644 --- a/lib/MooseX/Storage/Format/Storable.pm +++ b/lib/MooseX/Storage/Format/Storable.pm @@ -4,7 +4,7 @@ use Moose::Role; use Storable (); -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; requires 'pack'; diff --git a/lib/MooseX/Storage/Format/YAML.pm b/lib/MooseX/Storage/Format/YAML.pm index b66488b..3651e3e 100644 --- a/lib/MooseX/Storage/Format/YAML.pm +++ b/lib/MooseX/Storage/Format/YAML.pm @@ -7,7 +7,7 @@ use Moose::Role; use YAML::Any qw(Load Dump); -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; requires 'pack'; diff --git a/lib/MooseX/Storage/IO/AtomicFile.pm b/lib/MooseX/Storage/IO/AtomicFile.pm index b31c780..7cb8c98 100644 --- a/lib/MooseX/Storage/IO/AtomicFile.pm +++ b/lib/MooseX/Storage/IO/AtomicFile.pm @@ -3,7 +3,7 @@ use Moose::Role; use MooseX::Storage::Engine::IO::AtomicFile; -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; with 'MooseX::Storage::IO::File'; diff --git a/lib/MooseX/Storage/IO/File.pm b/lib/MooseX/Storage/IO/File.pm index cff8012..bd53ef6 100644 --- a/lib/MooseX/Storage/IO/File.pm +++ b/lib/MooseX/Storage/IO/File.pm @@ -3,7 +3,7 @@ use Moose::Role; use MooseX::Storage::Engine::IO::File; -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; requires 'thaw'; diff --git a/lib/MooseX/Storage/IO/StorableFile.pm b/lib/MooseX/Storage/IO/StorableFile.pm index b3504cb..4b555f6 100644 --- a/lib/MooseX/Storage/IO/StorableFile.pm +++ b/lib/MooseX/Storage/IO/StorableFile.pm @@ -3,7 +3,7 @@ use Moose::Role; use Storable (); -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; requires 'pack'; diff --git a/lib/MooseX/Storage/Meta/Attribute/DoNotSerialize.pm b/lib/MooseX/Storage/Meta/Attribute/DoNotSerialize.pm index b0b4c4b..333ec5b 100644 --- a/lib/MooseX/Storage/Meta/Attribute/DoNotSerialize.pm +++ b/lib/MooseX/Storage/Meta/Attribute/DoNotSerialize.pm @@ -2,7 +2,7 @@ package MooseX::Storage::Meta::Attribute::DoNotSerialize; use Moose; -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; extends 'Moose::Meta::Attribute'; @@ -11,7 +11,7 @@ extends 'Moose::Meta::Attribute'; # register this alias ... package Moose::Meta::Attribute::Custom::DoNotSerialize; -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; sub register_implementation { 'MooseX::Storage::Meta::Attribute::DoNotSerialize' } diff --git a/lib/MooseX/Storage/Meta/Attribute/Trait/DoNotSerialize.pm b/lib/MooseX/Storage/Meta/Attribute/Trait/DoNotSerialize.pm index 51bf17a..43e1cb9 100644 --- a/lib/MooseX/Storage/Meta/Attribute/Trait/DoNotSerialize.pm +++ b/lib/MooseX/Storage/Meta/Attribute/Trait/DoNotSerialize.pm @@ -2,13 +2,13 @@ package MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize; use Moose::Role; -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; # register this alias ... package Moose::Meta::Attribute::Custom::Trait::DoNotSerialize; -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; sub register_implementation { 'MooseX::Storage::Meta::Attribute::Trait::DoNotSerialize' } diff --git a/lib/MooseX/Storage/Traits/DisableCycleDetection.pm b/lib/MooseX/Storage/Traits/DisableCycleDetection.pm index 2d57f04..a1a6dfb 100644 --- a/lib/MooseX/Storage/Traits/DisableCycleDetection.pm +++ b/lib/MooseX/Storage/Traits/DisableCycleDetection.pm @@ -1,7 +1,7 @@ package MooseX::Storage::Traits::DisableCycleDetection; use Moose::Role; -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; requires 'pack'; diff --git a/lib/MooseX/Storage/Traits/OnlyWhenBuilt.pm b/lib/MooseX/Storage/Traits/OnlyWhenBuilt.pm index f918b46..9c7f8df 100644 --- a/lib/MooseX/Storage/Traits/OnlyWhenBuilt.pm +++ b/lib/MooseX/Storage/Traits/OnlyWhenBuilt.pm @@ -1,7 +1,7 @@ package MooseX::Storage::Traits::OnlyWhenBuilt; use Moose::Role; -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; requires 'pack'; diff --git a/lib/MooseX/Storage/Util.pm b/lib/MooseX/Storage/Util.pm index 2f600f3..7dfac2a 100644 --- a/lib/MooseX/Storage/Util.pm +++ b/lib/MooseX/Storage/Util.pm @@ -4,7 +4,7 @@ use Moose qw(confess blessed); use MooseX::Storage::Engine (); use utf8 (); -our $VERSION = '0.28'; +our $VERSION = '0.29'; our $AUTHORITY = 'cpan:STEVAN'; sub peek { diff --git a/t/002_basic_io.t b/t/002_basic_io.t index 538ec14..0293692 100644 --- a/t/002_basic_io.t +++ b/t/002_basic_io.t @@ -4,7 +4,7 @@ use strict; use warnings; use Test::More; -use Test::TempDir; +use File::Temp qw(tempdir); use File::Spec::Functions; diff --git a/t/061_basic_deferred_w_io.t b/t/061_basic_deferred_w_io.t index d7403a2..f66508c 100644 --- a/t/061_basic_deferred_w_io.t +++ b/t/061_basic_deferred_w_io.t @@ -4,7 +4,7 @@ use strict; use warnings; use Test::More; -use Test::TempDir; +use File::Temp qw(tempdir); use File::Spec::Functions; my $dir = tempdir; diff --git a/t/100_io.t b/t/100_io.t index 78e3dc8..610eaa9 100644 --- a/t/100_io.t +++ b/t/100_io.t @@ -4,7 +4,7 @@ use strict; use warnings; use Test::More; -use Test::TempDir; +use File::Temp qw(tempdir); use File::Spec::Functions; my $dir = tempdir; diff --git a/t/105_io_atomic_w_utf8.t b/t/105_io_atomic_w_utf8.t index fd584c2..1c88be2 100644 --- a/t/105_io_atomic_w_utf8.t +++ b/t/105_io_atomic_w_utf8.t @@ -4,7 +4,7 @@ use strict; use warnings; use Test::More; -use Test::TempDir; +use File::Temp qw(tempdir); use File::Spec::Functions; my $dir = tempdir;