]> git.vpit.fr Git - perl/modules/rgit.git/blobdiff - lib/App/Rgit/Config/Default.pm
Bump copyright year
[perl/modules/rgit.git] / lib / App / Rgit / Config / Default.pm
index 98b085f741e462e029b46dcead7b0eb1e9399082..04fe075f608f680e882e6b8a0133f53f16638d87 100644 (file)
@@ -15,11 +15,11 @@ App::Rgit::Config::Default - Default App::Rgit configuration class.
 
 =head1 VERSION
 
-Version 0.02
+Version 0.05
 
 =cut
 
-our $VERSION = '0.02';
+our $VERSION = '0.05';
 
 =head1 DESCRIPTION
 
@@ -44,14 +44,13 @@ sub repos {
  find {
   wanted => sub {
    return unless -d $_;
-   return if $_ eq '.' or $_ eq '..';
    my $r = App::Rgit::Repository->new(dir => $File::Find::name);
    $repos{$r->repo} = $r if $r 
                          and not exists $repos{$r->repo};
   },
   follow => 1
  }, $self->root;
- $self->{repos} = [ values %repos ];
+ $self->{repos} = [ sort { $a->repo cmp $b->repo } values %repos ];
 }
 
 =head1 SEE ALSO
@@ -76,7 +75,7 @@ You can find documentation for this module with the perldoc command.
 
 =head1 COPYRIGHT & LICENSE
 
-Copyright 2008 Vincent Pit, all rights reserved.
+Copyright 2008-2009 Vincent Pit, all rights reserved.
 
 This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.