]> git.vpit.fr Git - perl/modules/indirect.git/commitdiff
This is 0.27 v0.27
authorVincent Pit <vince@profvince.com>
Wed, 30 Jan 2013 18:57:44 +0000 (16:57 -0200)
committerVincent Pit <vince@profvince.com>
Wed, 30 Jan 2013 18:57:44 +0000 (16:57 -0200)
Changes
META.json
META.yml
README
lib/indirect.pm

diff --git a/Changes b/Changes
index b0727e394301191741dedee53f7ee8805c73c0a8..2d4b17f7dfa81c75083821de05b5de129024f69a 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,11 @@
 Revision history for indirect
 
 Revision history for indirect
 
+0.27    2013-01-30 19:00 UTC
+        + Fix : [RT #82562] : indirect/Devel::CallParser interaction
+                indirect has been taught to play nicely with Devel::CallParser.
+                Thanks Andrew Main for the patch.
+        + Tst : Author tests overhaul.
+
 0.26    2011-10-23 14:25 UTC
         + Add : "no indirect 'global'" enables the pragma for the whole program,
                 except for lexical scopes that "use indirect" explicitely.
 0.26    2011-10-23 14:25 UTC
         + Add : "no indirect 'global'" enables the pragma for the whole program,
                 except for lexical scopes that "use indirect" explicitely.
index dc83d09ba396f1f4f3c7e704f3ea29873b5486cd..8bdc1bce34d34cc93ca34a345e934e18d730447a 100644 (file)
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
       "Vincent Pit <perl@profvince.com>"
    ],
    "dynamic_config" : 1,
       "Vincent Pit <perl@profvince.com>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112621",
+   "generated_by" : "ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter version 2.120921",
    "license" : [
       "perl_5"
    ],
    "license" : [
       "perl_5"
    ],
    "prereqs" : {
       "build" : {
          "requires" : {
    "prereqs" : {
       "build" : {
          "requires" : {
-            "Carp" : 0,
-            "ExtUtils::MakeMaker" : 0,
-            "Test::More" : 0,
-            "XSLoader" : 0
+            "Carp" : "0",
+            "ExtUtils::MakeMaker" : "0",
+            "Test::More" : "0",
+            "XSLoader" : "0"
          }
       },
       "configure" : {
          "requires" : {
          }
       },
       "configure" : {
          "requires" : {
-            "ExtUtils::MakeMaker" : 0
+            "ExtUtils::MakeMaker" : "0"
          }
       },
       "runtime" : {
          "requires" : {
          }
       },
       "runtime" : {
          "requires" : {
-            "Carp" : 0,
-            "XSLoader" : 0,
+            "Carp" : "0",
+            "XSLoader" : "0",
             "perl" : "5.008001"
          }
       }
             "perl" : "5.008001"
          }
       }
@@ -54,5 +54,5 @@
          "url" : "http://git.profvince.com/?p=perl%2Fmodules%2Findirect.git"
       }
    },
          "url" : "http://git.profvince.com/?p=perl%2Fmodules%2Findirect.git"
       }
    },
-   "version" : "0.26"
+   "version" : "0.27"
 }
 }
index fb2456e722c62031e393d312446df696cf5046b4..6b7067d5646d4fb29e3d120c5e19dc40db458f44 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -10,7 +10,7 @@ build_requires:
 configure_requires:
   ExtUtils::MakeMaker: 0
 dynamic_config: 1
 configure_requires:
   ExtUtils::MakeMaker: 0
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.59, CPAN::Meta::Converter version 2.112621'
+generated_by: 'ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter version 2.120921'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -29,4 +29,4 @@ resources:
   homepage: http://search.cpan.org/dist/indirect/
   license: http://dev.perl.org/licenses/
   repository: http://git.profvince.com/?p=perl%2Fmodules%2Findirect.git
   homepage: http://search.cpan.org/dist/indirect/
   license: http://dev.perl.org/licenses/
   repository: http://git.profvince.com/?p=perl%2Fmodules%2Findirect.git
-version: 0.26
+version: 0.27
diff --git a/README b/README
index ab4fa5e204652fa8988e61722ca8dc0cbe088095..104c8dbe27dc338b5a5143fa06cfbafe1be86e91 100644 (file)
--- a/README
+++ b/README
@@ -2,7 +2,7 @@ NAME
     indirect - Lexically warn about using the indirect method call syntax.
 
 VERSION
     indirect - Lexically warn about using the indirect method call syntax.
 
 VERSION
-    Version 0.26
+    Version 0.27
 
 SYNOPSIS
     In a script :
 
 SYNOPSIS
     In a script :
@@ -54,7 +54,14 @@ DESCRIPTION
     This module is not a source filter.
 
 METHODS
     This module is not a source filter.
 
 METHODS
-  "unimport [ 'global', hook => $hook | 'fatal' ]"
+  "unimport"
+        no indirect;
+        no indirect 'fatal';
+        no indirect hook => sub { my ($obj, $name, $file, $line) = @_; ... };
+        no indirect 'global';
+        no indirect 'global, 'fatal';
+        no indirect 'global', hook => sub { ... };
+
     Magically called when "no indirect @opts" is encountered. Turns the
     module on. The policy to apply depends on what is first found in @opts :
 
     Magically called when "no indirect @opts" is encountered. Turns the
     module on. The policy to apply depends on what is first found in @opts :
 
@@ -101,6 +108,8 @@ METHODS
             }
 
   "import"
             }
 
   "import"
+        use indirect;
+
     Magically called at each "use indirect". Turns the module off.
 
     As explained in "unimport"'s description, an "use indirect" statement
     Magically called at each "use indirect". Turns the module off.
 
     As explained in "unimport"'s description, an "use indirect" statement
@@ -108,7 +117,9 @@ METHODS
     indirect 'global', ..." (if there's one).
 
 FUNCTIONS
     indirect 'global', ..." (if there's one).
 
 FUNCTIONS
-  "msg $object, $method, $file, $line"
+  "msg"
+        my $msg = msg($object, $method, $file, $line);
+
     Returns the default error message that "indirect" generates when an
     indirect method call is reported.
 
     Returns the default error message that "indirect" generates when an
     indirect method call is reported.
 
@@ -197,7 +208,8 @@ ACKNOWLEDGEMENTS
     reporting issues.
 
 COPYRIGHT & LICENSE
     reporting issues.
 
 COPYRIGHT & LICENSE
-    Copyright 2008,2009,2010,2011 Vincent Pit, all rights reserved.
+    Copyright 2008,2009,2010,2011,2012,2013 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.
 
     This program is free software; you can redistribute it and/or modify it
     under the same terms as Perl itself.
index 76a3ee0a47ee78ec03dcb963259608557cd47cc7..d5c6f4e1585bd37b407741ae718eaa43acc758b6 100644 (file)
@@ -11,13 +11,13 @@ indirect - Lexically warn about using the indirect method call syntax.
 
 =head1 VERSION
 
 
 =head1 VERSION
 
-Version 0.26
+Version 0.27
 
 =cut
 
 our $VERSION;
 BEGIN {
 
 =cut
 
 our $VERSION;
 BEGIN {
- $VERSION = '0.26';
+ $VERSION = '0.27';
 }
 
 =head1 SYNOPSIS
 }
 
 =head1 SYNOPSIS