diff --git a/Changes.md b/Changes.md index 55bfc93..49c1349 100644 --- a/Changes.md +++ b/Changes.md @@ -6,6 +6,12 @@ SPOPS was developed by the original author of Workflow and the two have worked in parallel for a long time. The Workflow developers have come to a crossroad and focus of resources and efforts are aimed at modernizing workflow. +## 1.59 2022-02-02 bug fix release, update required + +- Unfortunately we discovered a minor mishap, where a dependency was referenced without being properly declared as a dependency, which could result in inability for the distribution to work in a clean environment. This has not been addressed via PR [#190](https://github.com/jonasbn/perl-workflow/pull/190) + +We are sorry about any inconvenience this might have caused + ## 1.58 2022-02-02 Maintenance release, update not required - Addressed violations of [Perl::Critic](https://metacpan.org/pod/Perl::Critic) policies: diff --git a/README.md b/README.md index 08761f0..aed6358 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Workflow - Simple, flexible system to implement workflows # VERSION -This documentation describes version 1.57 of Workflow +This documentation describes version 1.59 of Workflow # SYNOPSIS @@ -769,48 +769,53 @@ The test suite can be run using, [Module::Build](https://metacpan.org/pod/Module % ./Build test Some of the tests are reserved for the developers and are only run of the -environment variable TEST\_AUTHOR is set to true. +environment variable `TEST_AUTHOR` is set to true. # TEST COVERAGE -This is the current test coverage of Workflow version 1.32, with the TEST\_AUTHOR -flag enabled. - - ---------------------------- ------ ------ ------ ------ ------ ------ ------ - File stmt bran cond sub pod time total - ---------------------------- ------ ------ ------ ------ ------ ------ ------ - blib/lib/Workflow.pm 79.8 50.0 50.0 87.5 100.0 9.9 71.6 - blib/lib/Workflow/Action.pm 90.8 66.7 n/a 88.2 100.0 4.1 89.9 - ...flow/Action/InputField.pm 97.0 92.9 87.5 100.0 100.0 5.9 95.8 - ...Workflow/Action/Mailer.pm 100.0 n/a n/a 100.0 100.0 0.1 100.0 - ...b/Workflow/Action/Null.pm 100.0 n/a n/a 100.0 100.0 0.2 100.0 - blib/lib/Workflow/Base.pm 96.6 86.4 100.0 100.0 100.0 9.6 95.0 - ...lib/Workflow/Condition.pm 100.0 n/a n/a 100.0 100.0 0.8 100.0 - ...low/Condition/Evaluate.pm 59.0 16.7 33.3 87.5 100.0 0.9 53.0 - ...flow/Condition/HasUser.pm 57.7 0.0 0.0 71.4 100.0 0.1 51.2 - blib/lib/Workflow/Config.pm 96.2 81.2 33.3 100.0 100.0 6.1 92.2 - ...b/Workflow/Config/Perl.pm 96.8 75.0 66.7 100.0 100.0 4.1 91.0 - ...ib/Workflow/Config/XML.pm 92.3 50.0 60.0 100.0 100.0 4.9 81.4 - blib/lib/Workflow/Context.pm 100.0 n/a n/a 100.0 100.0 0.4 100.0 - ...lib/Workflow/Exception.pm 89.2 50.0 n/a 91.7 100.0 3.1 89.5 - blib/lib/Workflow/Factory.pm 86.3 61.2 37.5 92.3 100.0 19.6 75.4 - blib/lib/Workflow/History.pm 100.0 87.5 n/a 100.0 100.0 1.8 98.1 - ...lib/Workflow/Persister.pm 90.5 75.0 57.1 88.9 100.0 1.9 87.5 - ...Workflow/Persister/DBI.pm 75.3 51.2 25.0 83.3 100.0 7.4 67.5 - ...er/DBI/AutoGeneratedId.pm 77.8 40.0 n/a 100.0 100.0 0.4 70.1 - ...ersister/DBI/ExtraData.pm 25.9 0.0 0.0 71.4 100.0 0.1 22.9 - ...rsister/DBI/SequenceId.pm 56.2 0.0 0.0 75.0 100.0 0.3 53.1 - ...orkflow/Persister/File.pm 94.4 48.0 33.3 100.0 100.0 2.1 83.1 - ...low/Persister/RandomId.pm 100.0 n/a 100.0 100.0 100.0 1.8 100.0 - ...rkflow/Persister/SPOPS.pm 89.6 50.0 n/a 100.0 100.0 0.3 85.0 - ...orkflow/Persister/UUID.pm 100.0 n/a n/a 100.0 100.0 0.2 100.0 - blib/lib/Workflow/State.pm 74.4 44.2 25.0 91.7 100.0 11.0 64.3 - ...lib/Workflow/Validator.pm 100.0 100.0 n/a 100.0 100.0 1.1 100.0 - ...dator/HasRequiredField.pm 90.0 50.0 n/a 100.0 100.0 0.6 86.7 - ...dator/InEnumeratedType.pm 100.0 100.0 n/a 100.0 100.0 0.4 100.0 - ...ator/MatchesDateFormat.pm 93.3 70.0 66.7 100.0 100.0 0.8 88.2 - Total 83.9 54.7 39.7 93.0 100.0 100.0 76.8 - ---------------------------- ------ ------ ------ ------ ------ ------ ------ +This is the current test coverage of Workflow version 1.58, with the `TEST_AUTHOR` +flag enabled + + TEST_AUTHOR=1 dzil cover + + ---------------------------- ------ ------ ------ ------ ------ ------ ------ + File stmt bran cond sub pod time total + ---------------------------- ------ ------ ------ ------ ------ ------ ------ + blib/lib/Workflow.pm 91.6 68.7 60.0 93.3 100.0 1.2 86.7 + blib/lib/Workflow/Action.pm 93.5 60.0 n/a 94.1 100.0 4.4 91.4 + ...b/Workflow/Action/Null.pm 100.0 n/a n/a 100.0 100.0 2.3 100.0 + blib/lib/Workflow/Base.pm 96.7 86.3 83.3 100.0 100.0 3.0 94.5 + ...lib/Workflow/Condition.pm 100.0 100.0 100.0 100.0 100.0 4.4 100.0 + .../Condition/CheckReturn.pm 71.7 35.7 n/a 100.0 100.0 0.0 67.6 + ...low/Condition/Evaluate.pm 96.7 75.0 n/a 100.0 100.0 3.4 95.4 + ...low/Condition/GreedyOR.pm 100.0 100.0 n/a 100.0 100.0 0.0 100.0 + ...flow/Condition/HasUser.pm 70.0 n/a 33.3 83.3 100.0 0.0 70.0 + ...flow/Condition/LazyAND.pm 100.0 100.0 n/a 100.0 100.0 0.0 100.0 + ...kflow/Condition/LazyOR.pm 100.0 100.0 n/a 100.0 100.0 0.0 100.0 + ...flow/Condition/Negated.pm 100.0 n/a n/a 100.0 100.0 0.0 100.0 + blib/lib/Workflow/Config.pm 96.2 81.2 33.3 100.0 100.0 3.1 92.2 + ...b/Workflow/Config/Perl.pm 96.1 83.3 66.6 92.8 100.0 0.1 92.9 + ...ib/Workflow/Config/XML.pm 94.1 62.5 50.0 100.0 100.0 4.6 90.2 + blib/lib/Workflow/Context.pm 100.0 n/a n/a 100.0 100.0 2.3 100.0 + ...lib/Workflow/Exception.pm 100.0 100.0 n/a 100.0 100.0 0.9 100.0 + blib/lib/Workflow/Factory.pm 87.4 79.3 61.5 84.6 100.0 30.9 84.3 + blib/lib/Workflow/History.pm 100.0 87.5 n/a 100.0 100.0 4.3 98.2 + ...ib/Workflow/InputField.pm 98.6 96.1 87.5 100.0 100.0 2.5 97.6 + ...lib/Workflow/Persister.pm 98.4 100.0 71.4 94.7 100.0 2.4 96.4 + ...Workflow/Persister/DBI.pm 86.7 72.0 35.2 90.6 100.0 7.7 83.0 + ...er/DBI/AutoGeneratedId.pm 91.8 75.0 83.3 100.0 100.0 0.0 88.7 + ...ersister/DBI/ExtraData.pm 29.8 0.0 0.0 60.0 100.0 0.6 29.7 + ...rsister/DBI/SequenceId.pm 100.0 n/a 50.0 100.0 100.0 0.0 98.0 + ...orkflow/Persister/File.pm 94.4 50.0 33.3 100.0 100.0 0.2 88.5 + ...low/Persister/RandomId.pm 100.0 n/a 100.0 100.0 100.0 2.3 100.0 + ...orkflow/Persister/UUID.pm 100.0 n/a n/a 100.0 100.0 2.2 100.0 + blib/lib/Workflow/State.pm 88.1 62.5 16.6 96.3 100.0 4.9 81.7 + ...lib/Workflow/Validator.pm 100.0 83.3 n/a 100.0 100.0 2.4 97.5 + ...dator/HasRequiredField.pm 90.9 50.0 n/a 100.0 100.0 2.3 87.8 + ...dator/InEnumeratedType.pm 100.0 100.0 n/a 100.0 100.0 2.3 100.0 + ...ator/MatchesDateFormat.pm 100.0 100.0 100.0 100.0 100.0 4.0 100.0 + Total 90.7 73.6 57.6 94.9 100.0 100.0 87.8 + ---------------------------- ------ ------ ------ ------ ------ ------ ------ Activities to get improved coverage are ongoing. @@ -889,7 +894,7 @@ The code is kept under revision control using Git: # COPYRIGHT Copyright (c) 2003 Chris Winters and Arvato Direct; -Copyright (c) 2004-2021 Chris Winters. All rights reserved. +Copyright (c) 2004-2022 Chris Winters. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. diff --git a/lib/Workflow.pm b/lib/Workflow.pm index f7d9b0a..795439d 100644 --- a/lib/Workflow.pm +++ b/lib/Workflow.pm @@ -16,7 +16,7 @@ my @FIELDS = qw( id type description state last_update time_zone ); my @INTERNAL = qw( _factory _observers ); __PACKAGE__->mk_accessors( @FIELDS, @INTERNAL ); -$Workflow::VERSION = '1.58'; +$Workflow::VERSION = '1.59'; use constant NO_CHANGE_VALUE => 'NOCHANGE'; @@ -377,7 +377,7 @@ Workflow - Simple, flexible system to implement workflows =head1 VERSION -This documentation describes version 1.58 of Workflow +This documentation describes version 1.59 of Workflow =head1 SYNOPSIS @@ -1263,7 +1263,7 @@ environment variable C is set to true. This is the current test coverage of Workflow version 1.58, with the C flag enabled - TEST_AUTHOR=1 dzil cover + TEST_AUTHOR=1 dzil cover ---------------------------- ------ ------ ------ ------ ------ ------ ------ File stmt bran cond sub pod time total diff --git a/lib/Workflow/Action.pm b/lib/Workflow/Action.pm index aec97c4..bfbdfdf 100644 --- a/lib/Workflow/Action.pm +++ b/lib/Workflow/Action.pm @@ -12,7 +12,7 @@ use Workflow::Validator::HasRequiredField; use Workflow::Factory qw( FACTORY ); use Carp qw(croak); -$Workflow::Action::VERSION = '1.58'; +$Workflow::Action::VERSION = '1.59'; my @PROPS = qw( name class description group ); my @INTERNAL = qw( _factory ); @@ -167,7 +167,7 @@ Workflow::Action - Base class for Workflow actions =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Action/InputField.pm b/lib/Workflow/Action/InputField.pm index d9211f9..b141bb2 100644 --- a/lib/Workflow/Action/InputField.pm +++ b/lib/Workflow/Action/InputField.pm @@ -7,7 +7,7 @@ use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( configuration_error ); use English qw( -no_match_vars ); -$Workflow::Action::InputField::VERSION = '1.58'; +$Workflow::Action::InputField::VERSION = '1.59'; my @PROPS = qw( name label description type requirement source_class source_list class ); @@ -121,7 +121,7 @@ Workflow::Action::InputField - Metadata about information required by an Action =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Action/Mailer.pm b/lib/Workflow/Action/Mailer.pm index 5a0be61..1e31bc2 100644 --- a/lib/Workflow/Action/Mailer.pm +++ b/lib/Workflow/Action/Mailer.pm @@ -4,7 +4,7 @@ use warnings; use strict; use base qw( Workflow::Action ); -$Workflow::Action::Mailer::VERSION = '1.58'; +$Workflow::Action::Mailer::VERSION = '1.59'; sub execute { my ($self) = @_; @@ -23,7 +23,7 @@ Workflow::Action::Mailer - a stub for a SMTP capable action =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Action/Null.pm b/lib/Workflow/Action/Null.pm index c2517eb..e186b21 100644 --- a/lib/Workflow/Action/Null.pm +++ b/lib/Workflow/Action/Null.pm @@ -4,7 +4,7 @@ use warnings; use strict; use base qw( Workflow::Action ); -$Workflow::Action::Null::VERSION = '1.58'; +$Workflow::Action::Null::VERSION = '1.59'; sub execute { my ($self) = @_; @@ -23,7 +23,7 @@ Workflow::Action::Null - Workflow action for the terminally lazy =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Base.pm b/lib/Workflow/Base.pm index 74d5afa..fc17857 100644 --- a/lib/Workflow/Base.pm +++ b/lib/Workflow/Base.pm @@ -4,7 +4,7 @@ use warnings; use strict; use base qw( Class::Accessor ); use Log::Log4perl; -$Workflow::Base::VERSION = '1.58'; +$Workflow::Base::VERSION = '1.59'; sub new { my ( $class, @params ) = @_; @@ -99,7 +99,7 @@ Workflow::Base - Base class with constructor =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Condition.pm b/lib/Workflow/Condition.pm index 9b46e75..fea7368 100644 --- a/lib/Workflow/Condition.pm +++ b/lib/Workflow/Condition.pm @@ -9,7 +9,7 @@ use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( workflow_error condition_error ); $Workflow::Condition::CACHE_RESULTS = 1; -$Workflow::Condition::VERSION = '1.58'; +$Workflow::Condition::VERSION = '1.59'; my $log; my @FIELDS = qw( name class ); @@ -118,7 +118,7 @@ Workflow::Condition - Evaluate a condition depending on the workflow state and e =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Condition/CheckReturn.pm b/lib/Workflow/Condition/CheckReturn.pm index cb9caa0..9e1d2ec 100644 --- a/lib/Workflow/Condition/CheckReturn.pm +++ b/lib/Workflow/Condition/CheckReturn.pm @@ -3,7 +3,7 @@ package Workflow::Condition::CheckReturn; use strict; use warnings; -our $VERSION = '1.58'; +our $VERSION = '1.59'; use base qw( Workflow::Condition::Nested ); use Workflow::Exception qw( condition_error configuration_error ); @@ -90,7 +90,7 @@ Workflow::Condition::CheckReturn =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 DESCRIPTION diff --git a/lib/Workflow/Condition/Evaluate.pm b/lib/Workflow/Condition/Evaluate.pm index 7ba8573..52a2596 100644 --- a/lib/Workflow/Condition/Evaluate.pm +++ b/lib/Workflow/Condition/Evaluate.pm @@ -8,7 +8,7 @@ use Safe; use Workflow::Exception qw( condition_error configuration_error ); use English qw( -no_match_vars ); -$Workflow::Condition::Evaluate::VERSION = '1.58'; +$Workflow::Condition::Evaluate::VERSION = '1.59'; my @FIELDS = qw( test ); __PACKAGE__->mk_accessors(@FIELDS); @@ -68,7 +68,7 @@ Workflow::Condition::Evaluate - Inline condition that evaluates perl code for tr =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Condition/GreedyOR.pm b/lib/Workflow/Condition/GreedyOR.pm index 3a6f3ec..fe51ea8 100644 --- a/lib/Workflow/Condition/GreedyOR.pm +++ b/lib/Workflow/Condition/GreedyOR.pm @@ -3,7 +3,7 @@ package Workflow::Condition::GreedyOR; use strict; use warnings; -our $VERSION = '1.58'; +our $VERSION = '1.59'; use base qw( Workflow::Condition::Nested ); use Workflow::Exception qw( condition_error configuration_error ); @@ -57,7 +57,7 @@ Workflow::Condition::GreedyOR =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 DESCRIPTION diff --git a/lib/Workflow/Condition/HasUser.pm b/lib/Workflow/Condition/HasUser.pm index e806790..82dac43 100644 --- a/lib/Workflow/Condition/HasUser.pm +++ b/lib/Workflow/Condition/HasUser.pm @@ -6,7 +6,7 @@ use base qw( Workflow::Condition ); use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( condition_error ); -$Workflow::Condition::HasUser::VERSION = '1.58'; +$Workflow::Condition::HasUser::VERSION = '1.59'; my $DEFAULT_USER_KEY = 'current_user'; @@ -41,7 +41,7 @@ Workflow::Condition::HasUser - Condition to determine if a user is available =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Condition/LazyAND.pm b/lib/Workflow/Condition/LazyAND.pm index 487eedd..57eefdd 100644 --- a/lib/Workflow/Condition/LazyAND.pm +++ b/lib/Workflow/Condition/LazyAND.pm @@ -3,7 +3,7 @@ package Workflow::Condition::LazyAND; use strict; use warnings; -our $VERSION = '1.58'; +our $VERSION = '1.59'; use base qw( Workflow::Condition::Nested ); use Workflow::Exception qw( condition_error configuration_error ); @@ -57,7 +57,7 @@ Workflow::Condition::LazyAND =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 DESCRIPTION diff --git a/lib/Workflow/Condition/LazyOR.pm b/lib/Workflow/Condition/LazyOR.pm index c23ea58..b350d0f 100644 --- a/lib/Workflow/Condition/LazyOR.pm +++ b/lib/Workflow/Condition/LazyOR.pm @@ -3,7 +3,7 @@ package Workflow::Condition::LazyOR; use strict; use warnings; -our $VERSION = '1.58'; +our $VERSION = '1.59'; use base qw( Workflow::Condition::Nested ); use Workflow::Exception qw( condition_error configuration_error ); @@ -55,7 +55,7 @@ Workflow::Condition::LazyOR =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 DESCRIPTION diff --git a/lib/Workflow/Condition/Negated.pm b/lib/Workflow/Condition/Negated.pm index aeda706..ba79dfd 100644 --- a/lib/Workflow/Condition/Negated.pm +++ b/lib/Workflow/Condition/Negated.pm @@ -3,7 +3,7 @@ package Workflow::Condition::Negated; use strict; use warnings; -our $VERSION = '1.58'; +our $VERSION = '1.59'; use base qw( Workflow::Condition ); @@ -36,7 +36,7 @@ Workflow::Condition::Negated - Negate workflow condition result =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 DESCRIPTION diff --git a/lib/Workflow/Condition/Nested.pm b/lib/Workflow/Condition/Nested.pm index bf31553..4722cca 100644 --- a/lib/Workflow/Condition/Nested.pm +++ b/lib/Workflow/Condition/Nested.pm @@ -3,7 +3,7 @@ package Workflow::Condition::Nested; use strict; use warnings; -our $VERSION = '1.58'; +our $VERSION = '1.59'; use base qw( Workflow::Condition ); @@ -19,7 +19,7 @@ Workflow::Condition::Nested - Evaluate nested workflow conditions =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 DESCRIPTION diff --git a/lib/Workflow/Config.pm b/lib/Workflow/Config.pm index b893cb6..ccf23c4 100644 --- a/lib/Workflow/Config.pm +++ b/lib/Workflow/Config.pm @@ -7,7 +7,7 @@ use Data::Dumper qw( Dumper ); use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( configuration_error ); -$Workflow::Config::VERSION = '1.58'; +$Workflow::Config::VERSION = '1.59'; # Map the valid type to the top-level XML tag or data # structure to look for. @@ -114,7 +114,7 @@ Workflow::Config - Parse configuration files for the workflow components =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Config/Perl.pm b/lib/Workflow/Config/Perl.pm index bbe74ca..4fe5e1d 100644 --- a/lib/Workflow/Config/Perl.pm +++ b/lib/Workflow/Config/Perl.pm @@ -8,7 +8,7 @@ use Workflow::Exception qw( configuration_error ); use Data::Dumper qw( Dumper ); use English qw( -no_match_vars ); -$Workflow::Config::Perl::VERSION = '1.58'; +$Workflow::Config::Perl::VERSION = '1.59'; sub parse { my ( $self, $type, @items ) = @_; @@ -104,7 +104,7 @@ Workflow::Config::Perl - Parse workflow configurations as Perl data structures =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Config/XML.pm b/lib/Workflow/Config/XML.pm index fc3c302..99bf073 100644 --- a/lib/Workflow/Config/XML.pm +++ b/lib/Workflow/Config/XML.pm @@ -8,7 +8,7 @@ use Workflow::Exception qw( configuration_error ); use Carp qw(croak); use English qw( -no_match_vars ); -$Workflow::Config::XML::VERSION = '1.58'; +$Workflow::Config::XML::VERSION = '1.59'; my ($log); @@ -107,7 +107,7 @@ Workflow::Config::XML - Parse workflow configurations from XML content =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Context.pm b/lib/Workflow/Context.pm index a440954..74568ee 100644 --- a/lib/Workflow/Context.pm +++ b/lib/Workflow/Context.pm @@ -4,7 +4,7 @@ use warnings; use strict; use base qw( Workflow::Base ); -$Workflow::Context::VERSION = '1.58'; +$Workflow::Context::VERSION = '1.59'; sub init { @@ -35,7 +35,7 @@ Workflow::Context - Data blackboard for Workflows, Actions, Conditions and Valid =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Exception.pm b/lib/Workflow/Exception.pm index ca253a6..44e93cd 100644 --- a/lib/Workflow/Exception.pm +++ b/lib/Workflow/Exception.pm @@ -44,7 +44,7 @@ my %TYPE_LOGGING = ( ); -$Workflow::Exception::VERSION = '1.58'; +$Workflow::Exception::VERSION = '1.59'; @Workflow::Exception::ISA = qw( Exporter Exception::Class::Base ); @Workflow::Exception::EXPORT_OK = keys %TYPE_CLASSES; @@ -129,7 +129,7 @@ Workflow::Exception - Base class for workflow exceptions =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Factory.pm b/lib/Workflow/Factory.pm index aea0472..7ed0ca2 100644 --- a/lib/Workflow/Factory.pm +++ b/lib/Workflow/Factory.pm @@ -8,7 +8,7 @@ use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( configuration_error workflow_error ); use Carp qw(croak); use English qw( -no_match_vars ); -$Workflow::Factory::VERSION = '1.58'; +$Workflow::Factory::VERSION = '1.59'; # Extra action attribute validation is off by default for compatibility. our $VALIDATE_ACTION_CONFIG = 0; @@ -813,7 +813,7 @@ Workflow::Factory - Generates new workflow and supporting objects =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/History.pm b/lib/Workflow/History.pm index df04311..9a7278c 100644 --- a/lib/Workflow/History.pm +++ b/lib/Workflow/History.pm @@ -5,7 +5,7 @@ use strict; use base qw( Class::Accessor ); use DateTime; -$Workflow::History::VERSION = '1.58'; +$Workflow::History::VERSION = '1.59'; my @FIELDS = qw( id workflow_id action description date user state time_zone ); @@ -66,7 +66,7 @@ Workflow::History - Recorded work on a workflow action or workflow itself =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister.pm b/lib/Workflow/Persister.pm index 832df60..dd0625c 100644 --- a/lib/Workflow/Persister.pm +++ b/lib/Workflow/Persister.pm @@ -9,7 +9,7 @@ use Workflow::Exception qw( persist_error ); use constant DEFAULT_ID_LENGTH => 8; -$Workflow::Persister::VERSION = '1.58'; +$Workflow::Persister::VERSION = '1.59'; my @FIELDS = qw( name class use_random use_uuid @@ -160,7 +160,7 @@ Workflow::Persister - Base class for workflow persistence =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/DBI.pm b/lib/Workflow/Persister/DBI.pm index 1e55f89..b36c8a6 100644 --- a/lib/Workflow/Persister/DBI.pm +++ b/lib/Workflow/Persister/DBI.pm @@ -19,7 +19,7 @@ use Readonly; Readonly::Scalar my $TRUE => 1; Readonly::Scalar my $FALSE => 0; -$Workflow::Persister::DBI::VERSION = '1.58'; +$Workflow::Persister::DBI::VERSION = '1.59'; my @FIELDS = qw( _wf_fields _hist_fields handle dsn user password driver workflow_table history_table date_format parser autocommit); @@ -463,7 +463,7 @@ Workflow::Persister::DBI - Persist workflow and history to DBI database =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/DBI/AutoGeneratedId.pm b/lib/Workflow/Persister/DBI/AutoGeneratedId.pm index 83102a8..6b53857 100644 --- a/lib/Workflow/Persister/DBI/AutoGeneratedId.pm +++ b/lib/Workflow/Persister/DBI/AutoGeneratedId.pm @@ -6,7 +6,7 @@ use base qw( Class::Accessor ); use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( configuration_error ); -$Workflow::Persister::DBI::AutoGeneratedId::VERSION = '1.58'; +$Workflow::Persister::DBI::AutoGeneratedId::VERSION = '1.59'; my @FIELDS = qw( log from_handle handle_property func_property ); __PACKAGE__->mk_accessors(@FIELDS); @@ -65,7 +65,7 @@ Workflow::Persister::DBI::AutoGeneratedId - Pull IDs from databases that autogen =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/DBI/ExtraData.pm b/lib/Workflow/Persister/DBI/ExtraData.pm index 5137767..ca668fa 100644 --- a/lib/Workflow/Persister/DBI/ExtraData.pm +++ b/lib/Workflow/Persister/DBI/ExtraData.pm @@ -7,7 +7,7 @@ use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( configuration_error persist_error ); use English qw( -no_match_vars ); -$Workflow::Persister::DBI::ExtraData::VERSION = '1.58'; +$Workflow::Persister::DBI::ExtraData::VERSION = '1.59'; my @FIELDS = qw( table data_field context_key ); __PACKAGE__->mk_accessors(@FIELDS); @@ -106,7 +106,7 @@ Workflow::Persister::DBI::ExtraData - Fetch extra data with each workflow and pu =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/DBI/SequenceId.pm b/lib/Workflow/Persister/DBI/SequenceId.pm index 3392135..c0b9a3e 100644 --- a/lib/Workflow/Persister/DBI/SequenceId.pm +++ b/lib/Workflow/Persister/DBI/SequenceId.pm @@ -8,7 +8,7 @@ use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( persist_error ); use English qw( -no_match_vars ); -$Workflow::Persister::DBI::SequenceId::VERSION = '1.58'; +$Workflow::Persister::DBI::SequenceId::VERSION = '1.59'; my @FIELDS = qw( log sequence_name sequence_select ); __PACKAGE__->mk_accessors(@FIELDS); @@ -53,7 +53,7 @@ Workflow::Persister::DBI::SequenceId - Persister to fetch ID from a sequence =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/File.pm b/lib/Workflow/Persister/File.pm index ef06fd2..9c6c9db 100644 --- a/lib/Workflow/Persister/File.pm +++ b/lib/Workflow/Persister/File.pm @@ -11,7 +11,7 @@ use Workflow::Persister::RandomId; use File::Slurp qw(slurp); use English qw( -no_match_vars ); -$Workflow::Persister::File::VERSION = '1.58'; +$Workflow::Persister::File::VERSION = '1.59'; my @FIELDS = qw( path ); __PACKAGE__->mk_accessors(@FIELDS); @@ -179,7 +179,7 @@ Workflow::Persister::File - Persist workflow and history to the filesystem =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/RandomId.pm b/lib/Workflow/Persister/RandomId.pm index ba44615..c5e855d 100644 --- a/lib/Workflow/Persister/RandomId.pm +++ b/lib/Workflow/Persister/RandomId.pm @@ -8,7 +8,7 @@ use constant DEFAULT_ID_LENGTH => 8; use constant RANDOM_SEED => 26; use constant CONSTANT_INCREMENT => 65; -$Workflow::Persister::RandomId::VERSION = '1.58'; +$Workflow::Persister::RandomId::VERSION = '1.59'; my @FIELDS = qw( id_length ); __PACKAGE__->mk_accessors(@FIELDS); @@ -42,7 +42,7 @@ Workflow::Persister::RandomId - Persister to generate random ID =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/SPOPS.pm b/lib/Workflow/Persister/SPOPS.pm index cd81e13..85c1c23 100644 --- a/lib/Workflow/Persister/SPOPS.pm +++ b/lib/Workflow/Persister/SPOPS.pm @@ -8,7 +8,7 @@ use Log::Log4perl qw( get_logger ); use Workflow::Exception qw( configuration_error persist_error ); use English qw( -no_match_vars ); -$Workflow::Persister::SPOPS::VERSION = '1.58'; +$Workflow::Persister::SPOPS::VERSION = '1.59'; my @FIELDS = qw( workflow_class history_class ); __PACKAGE__->mk_accessors(@FIELDS); @@ -143,7 +143,7 @@ Workflow::Persister::SPOPS - Persist workflows using SPOPS =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Persister/UUID.pm b/lib/Workflow/Persister/UUID.pm index 7f181ab..aa5fe29 100644 --- a/lib/Workflow/Persister/UUID.pm +++ b/lib/Workflow/Persister/UUID.pm @@ -4,7 +4,7 @@ use warnings; use strict; use Data::UUID; -$Workflow::Persister::UUID::VERSION = '1.58'; +$Workflow::Persister::UUID::VERSION = '1.59'; sub new { my ( $class, $params ) = @_; @@ -31,7 +31,7 @@ Workflow::Persister::UUID - Persister to generate Universally Unique Identifiers =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/State.pm b/lib/Workflow/State.pm index 85cac9c..6866220 100644 --- a/lib/Workflow/State.pm +++ b/lib/Workflow/State.pm @@ -11,7 +11,7 @@ use Exception::Class; use Workflow::Factory qw( FACTORY ); use English qw( -no_match_vars ); -$Workflow::State::VERSION = '1.58'; +$Workflow::State::VERSION = '1.59'; my @FIELDS = qw( state description type ); my @INTERNAL = qw( _test_condition_count _factory _actions _conditions @@ -353,7 +353,7 @@ Workflow::State - Information about an individual state in a workflow =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS @@ -503,7 +503,7 @@ Returns name of action to be used for autorunning the state. =head3 clear_condition_cache ( ) -Deprecated, kept for 1.58 compatibility. +Deprecated, kept for 1.59 compatibility. Used to empties the condition result cache for a given state. diff --git a/lib/Workflow/Validator.pm b/lib/Workflow/Validator.pm index 6dffafa..4ea7122 100644 --- a/lib/Workflow/Validator.pm +++ b/lib/Workflow/Validator.pm @@ -5,7 +5,7 @@ use strict; use base qw( Workflow::Base ); use Carp qw(croak); -$Workflow::Validator::VERSION = '1.58'; +$Workflow::Validator::VERSION = '1.59'; my @FIELDS = qw( name class ); __PACKAGE__->mk_accessors(@FIELDS); @@ -43,7 +43,7 @@ Workflow::Validator - Ensure data are valid =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Validator/HasRequiredField.pm b/lib/Workflow/Validator/HasRequiredField.pm index ce2d660..c1d3e8c 100644 --- a/lib/Workflow/Validator/HasRequiredField.pm +++ b/lib/Workflow/Validator/HasRequiredField.pm @@ -5,7 +5,7 @@ use strict; use base qw( Workflow::Validator ); use Workflow::Exception qw( validation_error ); -$Workflow::Validator::HasRequiredField::VERSION = '1.58'; +$Workflow::Validator::HasRequiredField::VERSION = '1.59'; sub validate { my ( $self, $wf, @required_fields ) = @_; @@ -34,7 +34,7 @@ Workflow::Validator::HasRequiredField - Validator to ensure certain data are in =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Validator/InEnumeratedType.pm b/lib/Workflow/Validator/InEnumeratedType.pm index c62e734..e23a8ec 100644 --- a/lib/Workflow/Validator/InEnumeratedType.pm +++ b/lib/Workflow/Validator/InEnumeratedType.pm @@ -5,7 +5,7 @@ use strict; use base qw( Workflow::Validator ); use Workflow::Exception qw( configuration_error validation_error ); -$Workflow::Validator::InEnumeratedType::VERSION = '1.58'; +$Workflow::Validator::InEnumeratedType::VERSION = '1.59'; sub _init { my ( $self, $params ) = @_; @@ -59,7 +59,7 @@ Workflow::Validator::InEnumeratedType - Ensure a value is one of a declared set =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS diff --git a/lib/Workflow/Validator/MatchesDateFormat.pm b/lib/Workflow/Validator/MatchesDateFormat.pm index d1c78ca..987f9fe 100644 --- a/lib/Workflow/Validator/MatchesDateFormat.pm +++ b/lib/Workflow/Validator/MatchesDateFormat.pm @@ -8,7 +8,7 @@ use Workflow::Exception qw( configuration_error validation_error ); use English qw( -no_match_vars ); use Carp qw(carp); -$Workflow::Validator::MatchesDateFormat::VERSION = '1.58'; +$Workflow::Validator::MatchesDateFormat::VERSION = '1.59'; __PACKAGE__->mk_accessors('formatter'); @@ -64,7 +64,7 @@ Workflow::Validator::MatchesDateFormat - Ensure a stringified date matches a giv =head1 VERSION -This documentation describes version 1.58 of this package +This documentation describes version 1.59 of this package =head1 SYNOPSIS