[Bps-public-commit] App-Changeloggr branch, master, updated. 947f21f7abe456f05c87425f8c28ad7b9a9cffaa

sartak at bestpractical.com sartak at bestpractical.com
Thu Mar 26 18:23:35 EDT 2009


The branch, master has been updated
       via  947f21f7abe456f05c87425f8c28ad7b9a9cffaa (commit)
      from  ac5c580937155e05b14917f88cd607eb9c951c4e (commit)

Summary of changes:
 lib/App/Changeloggr.pm |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
 create mode 100644 lib/App/Changeloggr.pm

- Log -----------------------------------------------------------------
commit 947f21f7abe456f05c87425f8c28ad7b9a9cffaa
Author: Shawn M Moore <sartak at gmail.com>
Date:   Thu Mar 26 18:23:22 2009 -0400

    identify_format (we're going to handle just git!)

diff --git a/lib/App/Changeloggr.pm b/lib/App/Changeloggr.pm
new file mode 100644
index 0000000..c0eca7f
--- /dev/null
+++ b/lib/App/Changeloggr.pm
@@ -0,0 +1,17 @@
+package App::Changeloggr;
+use strict;
+use warnings;
+
+sub identify_format {
+    my $self = shift;
+    my $text = shift;
+
+    if ($text =~ /^commit \w+\n/) {
+        return 'git';
+    }
+
+    return;
+}
+
+1;
+

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list