requires 'Test::Memory::Cycle' => 0;
requires 'DBIx::Class' => '0.07001';
requires 'SQL::Translator' => '0.08';
-requires 'Moose' => '0.43';
+requires 'Moose' => '0.54';
requires 'aliased' => 0;
requires 'DateTime';
requires 'DateTime::Span';
has lazy_fail =>
(is => 'ro', reader => 'is_lazy_fail', required => 1, default => 0);
+around legal_options_for_inheritance => sub {
+ return (shift->(@_), qw/valid_values/);
+};
+
around _process_options => sub {
my $super = shift;
my ($class, $name, $options) = @_;
class ParameterAttribute is 'Reaction::Meta::Attribute', which {
has valid_values => (
isa => 'CodeRef',
- is => 'rw', # hack since clone_and_inherit hates me.
+ is => 'rw', # doesnt need of it anymore, maybe we should warn before change it
predicate => 'has_valid_values'
);