of stringified object, which broke for any
overloaded objects (Thanks to Jonathan Rockway)
+ * Don't fail tests when YAML is unavailable
+
+ * Use temporary files in test suite, instead of cwd
+
0.13 Sat. May 24, 2008
* MooseX::Storage::Engine
- added find_type_handler_for($name) method
build_requires 'Test::More' => '0.42';
build_requires 'Test::Deep' => '0';
build_requires 'Test::Exception' => '0';
-build_requires 'File::Temp' => '0';
+build_requires 'Test::TempDir' => '0.02';
auto_install;
WriteAll;
use warnings;
use Test::More;
-use File::Temp qw(tempdir);
+use Test::TempDir;
+
use File::Spec::Functions;
-my $dir = tempdir( CLEANUP => 1 );
+
+my $dir = tempdir;
BEGIN {
eval "use JSON::Any";
use warnings;
use Test::More;
-use File::Temp qw(tempdir);
+use Test::TempDir;
use File::Spec::Functions;
-my $dir = tempdir( CLEANUP => 1 );
+
+my $dir = tempdir;
BEGIN {
eval "use IO::AtomicFile";
use warnings;
use Test::More;
-use File::Temp qw(tempdir);
+use Test::TempDir;
use File::Spec::Functions;
+my $dir = tempdir;
BEGIN {
eval "use JSON::Any";
has 'object' => (is => 'ro', isa => 'Object');
}
-my $dir = tempdir( CLEANUP => 1 );
my $file = catfile( $dir, 'temp.json' );
{
use warnings;
use Test::More;
-use File::Temp qw(tempdir);
+use Test::TempDir;
use File::Spec::Functions;
-my $dir = tempdir( CLEANUP => 1 );
+my $dir = tempdir;
BEGIN {
eval "use IO::AtomicFile";