summaryrefslogtreecommitdiff
path: root/lib/githubexplorer.pm
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-02-09 13:19:00 +0100
committerfranck cuny <franck@lumberjaph.net>2010-02-09 13:19:00 +0100
commit7a5f2233913b1c29a937cb7cd9e466209cd6e847 (patch)
treee92a97b29c166ad77614940a08ae4e6522028e51 /lib/githubexplorer.pm
parentadd new tables (diff)
downloadgithub-explorer-7a5f2233913b1c29a937cb7cd9e466209cd6e847.tar.gz
rename to repo
Diffstat (limited to 'lib/githubexplorer.pm')
-rw-r--r--lib/githubexplorer.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/githubexplorer.pm b/lib/githubexplorer.pm
index a3d27c9..67e9e25 100644
--- a/lib/githubexplorer.pm
+++ b/lib/githubexplorer.pm
@@ -1,13 +1,12 @@
package githubexplorer;
use 5.010;
-use lib ('/home/franck/code/git/net-github/lib');
use YAML::Syck;
use Moose;
use githubexplorer::Schema;
use githubexplorer::Gexf;
use IO::All;
-with qw/githubexplorer::Profile githubexplorer::Repositorie/;
+with qw/githubexplorer::Profile githubexplorer::Repository/;
has seed => (
isa => 'ArrayRef',
@@ -61,7 +60,7 @@ sub harvest_repo {
$self->_connect unless $self->has_schema;
my $profiles = $self->schema->resultset('Profiles')->search();
while ( my $p = $profiles->next ) {
- $self->fetch_repo($p);
+ $self->fetch_repositories($p);
}
}