Merge branch 'model-reorg' of git://github.com/bobtfish/Gitalist into model-reorg
Zachary Stevens [Wed, 11 Nov 2009 01:36:21 +0000 (01:36 +0000)]
1  2 
lib/Gitalist/Git/Repo.pm

diff --combined lib/Gitalist/Git/Repo.pm
@@@ -2,7 -2,7 +2,7 @@@ use MooseX::Declare
  
  =head1 NAME
  
- Git::Repo - Model of a repository directory
+ Gitalist::Git::Repo - Model of a repository directory
  
  =head1 SYNOPSIS
  
@@@ -55,8 -55,6 +55,6 @@@ found in repo_dir
          lazy_build => 1,
      );
  
-     method BUILD { $self->projects() }
  
  =head1 METHODS
  
@@@ -70,7 -68,10 +68,7 @@@ name
      method project (NonEmptySimpleStr $project) {
          my $path = $self->repo_dir->subdir($project);
          die "Not a valid Project" unless $self->_is_git_repo($path);
 -        return Project->new(
 -            name => $project,
 -            path => $self->repo_dir->subdir($project),
 -        );
 +        return Project->new( $self->repo_dir->subdir($project) );
      }