Revision history for DBIx-Class-Fixtures
+1.001013
+- fixed functionality in last release by more deeply cloning parameters, which
+ prevents bad things when parameters get deleted in the wrong places. Also
+ be sure we clear state properly after a dump.
+
1.001012
- Added new method 'available_config_sets' which returns and caches a list of
all the json set configs found in the 'config_dir' directory. This was added
=head1 VERSION
-Version 1.001012
+Version 1.001013
=cut
-our $VERSION = '1.001012';
+our $VERSION = '1.001013';
=head1 NAME
$localparams->{directory} = $directory_template->($self, $localparams, $set);
$localparams->{config} = $set;
$self->dump($localparams);
+ $self->dumped_objects({}); ## Clear dumped for next go, if there is one!
}
}
=head2 dump_all_config_sets
+ my %local_params = %$params;
+ my $local_self = bless { %$self }, ref($self);
+ $local_params{directory} = $directory_template->($self, \%local_params, $set);
+ $local_params{config} = $set;
+ $self->dump(\%local_params);
+
+
Works just like L</dump> but instead of specifying a single json config set
located in L</config_dir> we dump each set in turn to the specified directory.