This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository carton.

commit 4dcb91ed686c0139fc8e6f2f93e45c350ee91730
Author: Tatsuhiko Miyagawa <miyag...@bulknews.net>
Date:   Wed Jun 5 11:16:07 2013 +0900

    rename version as a requirement
---
 lib/Carton/Dependency.pm   | 2 +-
 lib/Carton/Requirements.pm | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/Carton/Dependency.pm b/lib/Carton/Dependency.pm
index 3c38e9a..0bd3519 100644
--- a/lib/Carton/Dependency.pm
+++ b/lib/Carton/Dependency.pm
@@ -3,7 +3,7 @@ use strict;
 use Moo;
 
 has module  => (is => 'rw');
-has version => (is => 'rw');
+has requirement => (is => 'rw');
 has dist    => (is => 'rw', handles => [ qw(prereqs) ]);
 
 sub distname {
diff --git a/lib/Carton/Requirements.pm b/lib/Carton/Requirements.pm
index 4d7b587..5264c3e 100644
--- a/lib/Carton/Requirements.pm
+++ b/lib/Carton/Requirements.pm
@@ -36,11 +36,11 @@ sub walk_down {
 sub dependency_for {
     my($self, $module, $reqs) = @_;
 
-    my $version = $reqs->requirements_for_module($module);
+    my $requirement = $reqs->requirements_for_module($module);
 
     my $dep = Carton::Dependency->new;
     $dep->module($module);
-    $dep->version($version);
+    $dep->requirement($requirement);
 
     if (my $dist = $self->lock->find($module)) {
         $dep->dist($dist);

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/carton.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to