[libmixin-extrafields-param-perl] 08/25: rename things

Florian Schlichting fsfs at moszumanska.debian.org
Wed Jan 29 21:00:23 UTC 2014


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

fsfs pushed a commit to annotated tag 0.001
in repository libmixin-extrafields-param-perl.

commit 66ca915639ce299681ccc554133f92ce61105801
Author: Ricardo SIGNES <rjbs at codesimply.com>
Date:   Thu Dec 22 21:28:45 2005 +0000

    rename things
---
 Changes                      | 2 +-
 Makefile.PL                  | 8 ++++----
 README                       | 2 +-
 lib/{Does => Mixin}/Param.pm | 6 +++---
 t/00-load.t                  | 4 ++--
 t/basic.t                    | 2 +-
 t/gc.t                       | 6 +++---
 7 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/Changes b/Changes
index fdd3e6d..28b9fc6 100644
--- a/Changes
+++ b/Changes
@@ -1,4 +1,4 @@
-Revision history for Does-Param
+Revision history for Mixin-Param
 
 0.01    Date/time
         First version, released on an unsuspecting world.
diff --git a/Makefile.PL b/Makefile.PL
index 139f10b..a287981 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -3,10 +3,10 @@ use warnings;
 use ExtUtils::MakeMaker;
 
 WriteMakefile(
-    NAME                => 'Does::Param',
+    NAME                => 'Mixin::Param',
     AUTHOR              => 'Ricardo Signes <rjbs at cpan.org>',
-    VERSION_FROM        => 'lib/Does/Param.pm',
-    ABSTRACT_FROM       => 'lib/Does/Param.pm',
+    VERSION_FROM        => 'lib/Mixin/Param.pm',
+    ABSTRACT_FROM       => 'lib/Mixin/Param.pm',
     PL_FILES            => {},
     PREREQ_PM => {
         'Scalar::Util'      => 0,
@@ -15,5 +15,5 @@ WriteMakefile(
         'Tie::RefHash:Weak' => 0.01,
     },
     dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
-    clean               => { FILES => 'Does-Param-* cover_db' },
+    clean               => { FILES => 'Mixin-Param-* cover_db' },
 );
diff --git a/README b/README
index 80bcae3..e34653b 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-Does-Param
+Mixin-Param
 
 The README is used to introduce the module and provide instructions on
 how to install the module, any machine dependencies it may have (for
diff --git a/lib/Does/Param.pm b/lib/Mixin/Param.pm
similarity index 95%
rename from lib/Does/Param.pm
rename to lib/Mixin/Param.pm
index 76c321d..0122b0b 100644
--- a/lib/Does/Param.pm
+++ b/lib/Mixin/Param.pm
@@ -1,4 +1,4 @@
-package Does::Param;
+package Mixin::Param;
 
 use warnings;
 use strict;
@@ -11,7 +11,7 @@ use Tie::RefHash::Weak;
 
 =head1 NAME
 
-Does::Param - make your class provide a familiar "param" method
+Mixin::Param - make your class provide a familiar "param" method
 
 =head1 VERSION
 
@@ -26,7 +26,7 @@ our $VERSION = '0.01';
 =head1 SYNOPSIS
 
   package Widget::Parametric;
-  use Does::Param;
+  use Mixin::Param;
 
   ...
 
diff --git a/t/00-load.t b/t/00-load.t
index ec93633..80df1ac 100644
--- a/t/00-load.t
+++ b/t/00-load.t
@@ -1,7 +1,7 @@
 use Test::More tests => 1;
 
 BEGIN {
-  use_ok('Does::Param');
+  use_ok('Mixin::Param');
 }
 
-diag( "Testing Does::Param $Does::Param::VERSION" );
+diag( "Testing Mixin::Param $Mixin::Param::VERSION" );
diff --git a/t/basic.t b/t/basic.t
index 45601d5..b23cc96 100644
--- a/t/basic.t
+++ b/t/basic.t
@@ -6,7 +6,7 @@ use Test::More 'no_plan';
 
 {
   package Widget::Parameterized;
-  use Does::Param;
+  use Mixin::Param;
 
   sub new { bless {} => shift; }
 }
diff --git a/t/gc.t b/t/gc.t
index 50daa33..0fb798d 100644
--- a/t/gc.t
+++ b/t/gc.t
@@ -6,7 +6,7 @@ use Test::More 'no_plan';
 
 {
   package Widget::Parameterized;
-  use Does::Param;
+  use Mixin::Param;
 
   sub new { bless {} => shift; }
 }
@@ -16,10 +16,10 @@ use Test::More 'no_plan';
   $widget->param(flavor => 'teaberry');
   $widget->param(size => 'big', limits => undef);
 
-  my %guts = Does::Param->__params_storage_guts;
+  my %guts = Mixin::Param->__params_storage_guts;
   ok(scalar %guts, "there are some params being stored universally (duh)");
   ok($guts{$widget}, "the widget has some params");
 }
 
-my %guts = Does::Param->__params_storage_guts;
+my %guts = Mixin::Param->__params_storage_guts;
 ok(!(scalar %guts), "post GC, there are no params being stored universally");

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



More information about the Pkg-perl-cvs-commits mailing list