]> git.vpit.fr Git - perl/modules/rgit.git/blobdiff - lib/App/Rgit.pm
This is 0.06
[perl/modules/rgit.git] / lib / App / Rgit.pm
index 38e4c38ab289f8c7813a4c0143d03af80c10cf7d..12917269cc4f5b2b55c25ee8b52a0d634f0ff795 100644 (file)
@@ -15,11 +15,11 @@ App::Rgit - Backend that supports the rgit utility.
 
 =head1 VERSION
 
-Version 0.02
+Version 0.06
 
 =cut
 
-our $VERSION = '0.02';
+our $VERSION = '0.06';
 
 =head1 DESCRIPTION
 
@@ -38,13 +38,15 @@ Creates a new L<App::Rgit> object that's bound to execute the command C<$cmd> on
 sub new {
  my ($class, %args) = &validate;
  my $config = App::Rgit::Config->new(
-  root => $args{root},
-  git  => $args{git},
+  root  => $args{root},
+  git   => $args{git},
+  debug => $args{debug},
  );
  return unless defined $config;
  my $command = App::Rgit::Command->new(
-  cmd  => $args{cmd},
-  args => $args{args},
+  cmd    => $args{cmd},
+  args   => $args{args},
+  policy => $args{policy},
  );
  return unless defined $command;
  $class->SUPER::new(
@@ -92,7 +94,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.