[Bps-public-commit] App-Changeloggr branch, master, updated. 594ccf25ece24252c9a72b433bf05a8ee699f10a
Alex M Vandiver
alexmv at bestpractical.com
Fri Mar 27 14:19:33 EDT 2009
The branch, master has been updated
via 594ccf25ece24252c9a72b433bf05a8ee699f10a (commit)
via 15a6d23eca5e32ac7839ae3525eac61cf9298bb2 (commit)
from 87f9444c8d4782570c5b46c59539d0b830c6d9b0 (commit)
Summary of changes:
lib/App/Changeloggr.pm | 2 +-
lib/App/Changeloggr/Model/ChangeCollection.pm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 15a6d23eca5e32ac7839ae3525eac61cf9298bb2
Author: Alex Vandiver <alexmv at mit.edu>
Date: Fri Mar 27 14:19:00 2009 -0400
We apparently need to explicitly import validate()
diff --git a/lib/App/Changeloggr/Model/ChangeCollection.pm b/lib/App/Changeloggr/Model/ChangeCollection.pm
index 7eb1d02..bb39cf6 100644
--- a/lib/App/Changeloggr/Model/ChangeCollection.pm
+++ b/lib/App/Changeloggr/Model/ChangeCollection.pm
@@ -2,7 +2,7 @@ package App::Changeloggr::Model::ChangeCollection;
use strict;
use warnings;
use base 'App::Changeloggr::Collection';
-use Params::Validate 'SCALAR';
+use Params::Validate qw(validate SCALAR);
sub create_from_text {
my $self = shift;
commit 594ccf25ece24252c9a72b433bf05a8ee699f10a
Author: Alex Vandiver <alexmv at mit.edu>
Date: Fri Mar 27 14:19:25 2009 -0400
Be more newline-permissive when detecting git
diff --git a/lib/App/Changeloggr.pm b/lib/App/Changeloggr.pm
index c0eca7f..49d2fa3 100644
--- a/lib/App/Changeloggr.pm
+++ b/lib/App/Changeloggr.pm
@@ -6,7 +6,7 @@ sub identify_format {
my $self = shift;
my $text = shift;
- if ($text =~ /^commit \w+\n/) {
+ if ($text =~ /^commit \w+\r?\n/) {
return 'git';
}
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list