[Bps-public-commit] App-Changeloggr branch, master, updated. 25cd76e2ec00de81beb98622436a725a9ba41a9a

sartak at bestpractical.com sartak at bestpractical.com
Thu Mar 26 17:50:45 EDT 2009


The branch, master has been updated
       via  25cd76e2ec00de81beb98622436a725a9ba41a9a (commit)
      from  d17a539511a39d4209347324faa09f0eb151adcb (commit)

Summary of changes:
 lib/App/Changeloggr/Model/Changelog.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 25cd76e2ec00de81beb98622436a725a9ba41a9a
Author: Shawn M Moore <sartak at gmail.com>
Date:   Thu Mar 26 17:49:42 2009 -0400

    More jifty-ish API

diff --git a/lib/App/Changeloggr/Model/Changelog.pm b/lib/App/Changeloggr/Model/Changelog.pm
index 14d856b..7e9e3a3 100644
--- a/lib/App/Changeloggr/Model/Changelog.pm
+++ b/lib/App/Changeloggr/Model/Changelog.pm
@@ -43,7 +43,8 @@ sub parse_and_add_changes {
     my $self = shift;
     my $text = shift;
 
-    my $changes = App::Changeloggr::Model::ChangesCollection->create_from_text(
+    my $changes = App::Changeloggr::Model::ChangesCollection->new;
+    $changes->create_from_text(
         text      => $text,
         changelog => $self,
     );

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



More information about the Bps-public-commit mailing list