r75216 - in /trunk/libeval-closure-perl: Changes LICENSE META.json META.yml Makefile.PL README debian/changelog debian/source/local-options lib/Eval/Closure.pm t/00-compile.t
ansgar at users.alioth.debian.org
ansgar at users.alioth.debian.org
Mon Jun 6 20:08:10 UTC 2011
Author: ansgar
Date: Mon Jun 6 20:08:02 2011
New Revision: 75216
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=75216
Log:
* Team upload.
* New upstream release.
Added:
trunk/libeval-closure-perl/debian/source/local-options
Modified:
trunk/libeval-closure-perl/Changes
trunk/libeval-closure-perl/LICENSE
trunk/libeval-closure-perl/META.json
trunk/libeval-closure-perl/META.yml
trunk/libeval-closure-perl/Makefile.PL
trunk/libeval-closure-perl/README
trunk/libeval-closure-perl/debian/changelog
trunk/libeval-closure-perl/lib/Eval/Closure.pm
trunk/libeval-closure-perl/t/00-compile.t
Modified: trunk/libeval-closure-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libeval-closure-perl/Changes?rev=75216&op=diff
==============================================================================
--- trunk/libeval-closure-perl/Changes (original)
+++ trunk/libeval-closure-perl/Changes Mon Jun 6 20:08:02 2011
@@ -1,4 +1,8 @@
Revision history for Eval-Closure
+
+0.06 2011-06-05
+ - The dumped source from setting $ENV{EVAL_CLOSURE_PRINT_SOURCE} didn't
+ show the captured variable creation properly. (Dave Rolsky)
0.05 2011-04-25
- make sure Perl::Tidy doesn't look at @ARGV (rafl)
Modified: trunk/libeval-closure-perl/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libeval-closure-perl/LICENSE?rev=75216&op=diff
==============================================================================
--- trunk/libeval-closure-perl/LICENSE (original)
+++ trunk/libeval-closure-perl/LICENSE Mon Jun 6 20:08:02 2011
@@ -18,15 +18,16 @@
The GNU General Public License, Version 1, February 1989
- GNU GENERAL PUBLIC LICENSE
- Version 1, February 1989
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The license agreements of most software companies try to keep users
at the mercy of those companies. By contrast, our General Public
@@ -67,7 +68,7 @@
The precise terms and conditions for copying, distribution and
modification follow.
- GNU GENERAL PUBLIC LICENSE
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any program or other work which
@@ -185,7 +186,7 @@
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -207,9 +208,9 @@
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
-
- Appendix: How to Apply These Terms to Your New Programs
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
@@ -235,8 +236,9 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
Also add information on how to contact you by electronic and paper mail.
Modified: trunk/libeval-closure-perl/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libeval-closure-perl/META.json?rev=75216&op=diff
==============================================================================
--- trunk/libeval-closure-perl/META.json (original)
+++ trunk/libeval-closure-perl/META.json Mon Jun 6 20:08:02 2011
@@ -4,7 +4,7 @@
"Jesse Luehrs <doy at tozt dot net>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.200003, CPAN::Meta::Converter version 2.101670",
+ "generated_by" : "Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110440",
"license" : [
"perl_5"
],
@@ -16,7 +16,7 @@
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "6.31"
+ "ExtUtils::MakeMaker" : "6.30"
}
},
"runtime" : {
@@ -41,96 +41,103 @@
"resources" : {
"repository" : {
"type" : "git",
- "url" : "git://github.com/doy/eval-closure.git"
+ "url" : "git://github.com/doy/eval-closure.git",
+ "web" : "http://github.com/doy/eval-closure"
}
},
- "version" : "0.05",
+ "version" : "0.06",
"x_Dist_Zilla" : {
"plugins" : [
{
+ "class" : "Dist::Zilla::Plugin::Prereqs",
+ "config" : {
+ "Dist::Zilla::Plugin::Prereqs" : {
+ "phase" : "test",
+ "type" : "requires"
+ }
+ },
+ "name" : "@DOY/TestMoreDoneTesting",
+ "version" : "4.200006"
+ },
+ {
"class" : "Dist::Zilla::Plugin::GatherDir",
- "name" : "@DOY/@Basic/GatherDir",
- "version" : "4.200003"
+ "name" : "@DOY/GatherDir",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
- "name" : "@DOY/@Basic/PruneCruft",
- "version" : "4.200003"
+ "name" : "@DOY/PruneCruft",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
- "name" : "@DOY/@Basic/ManifestSkip",
- "version" : "4.200003"
+ "name" : "@DOY/ManifestSkip",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
- "name" : "@DOY/@Basic/MetaYAML",
- "version" : "4.200003"
+ "name" : "@DOY/MetaYAML",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::License",
- "name" : "@DOY/@Basic/License",
- "version" : "4.200003"
+ "name" : "@DOY/License",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
- "name" : "@DOY/@Basic/Readme",
- "version" : "4.200003"
+ "name" : "@DOY/Readme",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
- "name" : "@DOY/@Basic/ExtraTests",
- "version" : "4.200003"
+ "name" : "@DOY/ExtraTests",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
- "name" : "@DOY/@Basic/ExecDir",
- "version" : "4.200003"
+ "name" : "@DOY/ExecDir",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
- "name" : "@DOY/@Basic/ShareDir",
- "version" : "4.200003"
+ "name" : "@DOY/ShareDir",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
- "name" : "@DOY/@Basic/MakeMaker",
- "version" : "4.200003"
+ "name" : "@DOY/MakeMaker",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
- "name" : "@DOY/@Basic/Manifest",
- "version" : "4.200003"
+ "name" : "@DOY/Manifest",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
- "name" : "@DOY/@Basic/TestRelease",
- "version" : "4.200003"
+ "name" : "@DOY/TestRelease",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
- "name" : "@DOY/@Basic/ConfirmRelease",
- "version" : "4.200003"
- },
- {
- "class" : "Dist::Zilla::Plugin::UploadToCPAN",
- "name" : "@DOY/@Basic/UploadToCPAN",
- "version" : "4.200003"
+ "name" : "@DOY/ConfirmRelease",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@DOY/MetaConfig",
- "version" : "4.200003"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@DOY/MetaJSON",
- "version" : "4.200003"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@DOY/NextRelease",
- "version" : "4.200003"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::CheckChangesHasContent",
@@ -140,17 +147,17 @@
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@DOY/PkgVersion",
- "version" : "4.200003"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "@DOY/PodCoverageTests",
- "version" : "4.200003"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@DOY/PodSyntaxTests",
- "version" : "4.200003"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::NoTabsTests",
@@ -165,32 +172,37 @@
{
"class" : "Dist::Zilla::Plugin::CompileTests",
"name" : "@DOY/CompileTests",
- "version" : "1.101800"
+ "version" : "1.110930"
},
{
"class" : "Dist::Zilla::Plugin::Repository",
"name" : "@DOY/Repository",
- "version" : "0.13"
+ "version" : "0.18"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
"name" : "@DOY/Git::Check",
- "version" : "1.110330"
+ "version" : "1.110500"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"name" : "@DOY/Git::Tag",
- "version" : "1.110330"
- },
- {
- "class" : "Dist::Zilla::Plugin::BumpVersionFromGit",
- "name" : "@DOY/BumpVersionFromGit",
- "version" : "0.006"
+ "version" : "1.110500"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::NextVersion",
+ "name" : "@DOY/Git::NextVersion",
+ "version" : "1.110500"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
"name" : "@DOY/PodWeaver",
- "version" : "3.101640"
+ "version" : "3.101641"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::UploadToCPAN",
+ "name" : "@DOY/UploadToCPAN",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -201,7 +213,7 @@
}
},
"name" : "Prereqs",
- "version" : "4.200003"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -212,7 +224,7 @@
}
},
"name" : "TestRequires",
- "version" : "4.200003"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -223,27 +235,37 @@
}
},
"name" : "RuntimeRecommends",
- "version" : "4.200003"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.200003"
+ "version" : "4.200006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":IncModules",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.200003"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.200003"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.200003"
+ "version" : "4.200006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":MainModule",
+ "version" : "4.200006"
}
],
"zilla" : {
@@ -251,7 +273,7 @@
"config" : {
"is_trial" : 0
},
- "version" : "4.200003"
+ "version" : "4.200006"
}
}
}
Modified: trunk/libeval-closure-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libeval-closure-perl/META.yml?rev=75216&op=diff
==============================================================================
--- trunk/libeval-closure-perl/META.yml (original)
+++ trunk/libeval-closure-perl/META.yml Mon Jun 6 20:08:02 2011
@@ -7,9 +7,9 @@
Test::More: 0.88
Test::Requires: 0
configure_requires:
- ExtUtils::MakeMaker: 6.31
+ ExtUtils::MakeMaker: 6.30
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.200003, CPAN::Meta::Converter version 2.101670'
+generated_by: 'Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110440'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -23,77 +23,81 @@
Try::Tiny: 0
resources:
repository: git://github.com/doy/eval-closure.git
-version: 0.05
+version: 0.06
x_Dist_Zilla:
plugins:
-
+ class: Dist::Zilla::Plugin::Prereqs
+ config:
+ Dist::Zilla::Plugin::Prereqs:
+ phase: test
+ type: requires
+ name: '@DOY/TestMoreDoneTesting'
+ version: 4.200006
+ -
class: Dist::Zilla::Plugin::GatherDir
- name: '@DOY/@Basic/GatherDir'
- version: 4.200003
+ name: '@DOY/GatherDir'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::PruneCruft
- name: '@DOY/@Basic/PruneCruft'
- version: 4.200003
+ name: '@DOY/PruneCruft'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::ManifestSkip
- name: '@DOY/@Basic/ManifestSkip'
- version: 4.200003
+ name: '@DOY/ManifestSkip'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::MetaYAML
- name: '@DOY/@Basic/MetaYAML'
- version: 4.200003
+ name: '@DOY/MetaYAML'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::License
- name: '@DOY/@Basic/License'
- version: 4.200003
+ name: '@DOY/License'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::Readme
- name: '@DOY/@Basic/Readme'
- version: 4.200003
+ name: '@DOY/Readme'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::ExtraTests
- name: '@DOY/@Basic/ExtraTests'
- version: 4.200003
+ name: '@DOY/ExtraTests'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::ExecDir
- name: '@DOY/@Basic/ExecDir'
- version: 4.200003
+ name: '@DOY/ExecDir'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::ShareDir
- name: '@DOY/@Basic/ShareDir'
- version: 4.200003
+ name: '@DOY/ShareDir'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::MakeMaker
- name: '@DOY/@Basic/MakeMaker'
- version: 4.200003
+ name: '@DOY/MakeMaker'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::Manifest
- name: '@DOY/@Basic/Manifest'
- version: 4.200003
+ name: '@DOY/Manifest'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::TestRelease
- name: '@DOY/@Basic/TestRelease'
- version: 4.200003
+ name: '@DOY/TestRelease'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::ConfirmRelease
- name: '@DOY/@Basic/ConfirmRelease'
- version: 4.200003
- -
- class: Dist::Zilla::Plugin::UploadToCPAN
- name: '@DOY/@Basic/UploadToCPAN'
- version: 4.200003
+ name: '@DOY/ConfirmRelease'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@DOY/MetaConfig'
- version: 4.200003
+ version: 4.200006
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@DOY/MetaJSON'
- version: 4.200003
+ version: 4.200006
-
class: Dist::Zilla::Plugin::NextRelease
name: '@DOY/NextRelease'
- version: 4.200003
+ version: 4.200006
-
class: Dist::Zilla::Plugin::CheckChangesHasContent
name: '@DOY/CheckChangesHasContent'
@@ -101,15 +105,15 @@
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@DOY/PkgVersion'
- version: 4.200003
+ version: 4.200006
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: '@DOY/PodCoverageTests'
- version: 4.200003
+ version: 4.200006
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@DOY/PodSyntaxTests'
- version: 4.200003
+ version: 4.200006
-
class: Dist::Zilla::Plugin::NoTabsTests
name: '@DOY/NoTabsTests'
@@ -121,27 +125,31 @@
-
class: Dist::Zilla::Plugin::CompileTests
name: '@DOY/CompileTests'
- version: 1.101800
+ version: 1.110930
-
class: Dist::Zilla::Plugin::Repository
name: '@DOY/Repository'
- version: 0.13
+ version: 0.18
-
class: Dist::Zilla::Plugin::Git::Check
name: '@DOY/Git::Check'
- version: 1.110330
+ version: 1.110500
-
class: Dist::Zilla::Plugin::Git::Tag
name: '@DOY/Git::Tag'
- version: 1.110330
- -
- class: Dist::Zilla::Plugin::BumpVersionFromGit
- name: '@DOY/BumpVersionFromGit'
- version: 0.006
+ version: 1.110500
+ -
+ class: Dist::Zilla::Plugin::Git::NextVersion
+ name: '@DOY/Git::NextVersion'
+ version: 1.110500
-
class: Dist::Zilla::Plugin::PodWeaver
name: '@DOY/PodWeaver'
- version: 3.101640
+ version: 3.101641
+ -
+ class: Dist::Zilla::Plugin::UploadToCPAN
+ name: '@DOY/UploadToCPAN'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -149,7 +157,7 @@
phase: runtime
type: requires
name: Prereqs
- version: 4.200003
+ version: 4.200006
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -157,7 +165,7 @@
phase: test
type: requires
name: TestRequires
- version: 4.200003
+ version: 4.200006
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -165,25 +173,33 @@
phase: runtime
type: recommends
name: RuntimeRecommends
- version: 4.200003
+ version: 4.200006
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.200003
+ version: 4.200006
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':IncModules'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.200003
+ version: 4.200006
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.200003
+ version: 4.200006
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.200003
+ version: 4.200006
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':MainModule'
+ version: 4.200006
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.200003
+ version: 4.200006
Modified: trunk/libeval-closure-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libeval-closure-perl/Makefile.PL?rev=75216&op=diff
==============================================================================
--- trunk/libeval-closure-perl/Makefile.PL (original)
+++ trunk/libeval-closure-perl/Makefile.PL Mon Jun 6 20:08:02 2011
@@ -4,7 +4,7 @@
-use ExtUtils::MakeMaker 6.31;
+use ExtUtils::MakeMaker 6.30;
@@ -17,7 +17,7 @@
'Test::Requires' => '0'
},
'CONFIGURE_REQUIRES' => {
- 'ExtUtils::MakeMaker' => '6.31'
+ 'ExtUtils::MakeMaker' => '6.30'
},
'DISTNAME' => 'Eval-Closure',
'EXE_FILES' => [],
@@ -28,7 +28,7 @@
'Sub::Exporter' => '0',
'Try::Tiny' => '0'
},
- 'VERSION' => '0.05',
+ 'VERSION' => '0.06',
'test' => {
'TESTS' => 't/*.t'
}
Modified: trunk/libeval-closure-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libeval-closure-perl/README?rev=75216&op=diff
==============================================================================
--- trunk/libeval-closure-perl/README (original)
+++ trunk/libeval-closure-perl/README Mon Jun 6 20:08:02 2011
@@ -1,7 +1,7 @@
This archive contains the distribution Eval-Closure,
-version 0.05:
+version 0.06:
safely and cleanly create closures via string eval
Modified: trunk/libeval-closure-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libeval-closure-perl/debian/changelog?rev=75216&op=diff
==============================================================================
--- trunk/libeval-closure-perl/debian/changelog (original)
+++ trunk/libeval-closure-perl/debian/changelog Mon Jun 6 20:08:02 2011
@@ -1,3 +1,10 @@
+libeval-closure-perl (0.06-1) unstable; urgency=low
+
+ * Team upload.
+ * New upstream release.
+
+ -- Ansgar Burchardt <ansgar at debian.org> Mon, 06 Jun 2011 22:07:50 +0200
+
libeval-closure-perl (0.05-1) unstable; urgency=low
* New upstream release
Added: trunk/libeval-closure-perl/debian/source/local-options
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libeval-closure-perl/debian/source/local-options?rev=75216&op=file
==============================================================================
--- trunk/libeval-closure-perl/debian/source/local-options (added)
+++ trunk/libeval-closure-perl/debian/source/local-options Mon Jun 6 20:08:02 2011
@@ -1,0 +1,2 @@
+abort-on-upstream-changes
+unapply-patches
Modified: trunk/libeval-closure-perl/lib/Eval/Closure.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libeval-closure-perl/lib/Eval/Closure.pm?rev=75216&op=diff
==============================================================================
--- trunk/libeval-closure-perl/lib/Eval/Closure.pm (original)
+++ trunk/libeval-closure-perl/lib/Eval/Closure.pm Mon Jun 6 20:08:02 2011
@@ -1,6 +1,6 @@
package Eval::Closure;
BEGIN {
- $Eval::Closure::VERSION = '0.05';
+ $Eval::Closure::VERSION = '0.06';
}
use strict;
use warnings;
@@ -92,11 +92,12 @@
sub _clean_eval_closure {
my ($source, $captures) = @_;
+ my @capture_keys = sort keys %$captures;
+
if ($ENV{EVAL_CLOSURE_PRINT_SOURCE}) {
- _dump_source(_make_compiler_source(@_));
- }
-
- my @capture_keys = sort keys %$captures;
+ _dump_source(_make_compiler_source($source, @capture_keys));
+ }
+
my ($compiler, $e) = _make_compiler($source, @capture_keys);
my $code;
if (defined $compiler) {
@@ -173,7 +174,7 @@
=head1 VERSION
-version 0.05
+version 0.06
=head1 SYNOPSIS
Modified: trunk/libeval-closure-perl/t/00-compile.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libeval-closure-perl/t/00-compile.t?rev=75216&op=diff
==============================================================================
--- trunk/libeval-closure-perl/t/00-compile.t (original)
+++ trunk/libeval-closure-perl/t/00-compile.t Mon Jun 6 20:08:02 2011
@@ -4,6 +4,9 @@
use warnings;
use Test::More;
+
+
+
use File::Find;
use File::Temp qw{ tempdir };
@@ -21,7 +24,18 @@
'lib',
);
-my @scripts = glob "bin/*";
+my @scripts;
+if ( -d 'bin' ) {
+ find(
+ sub {
+ return unless -f;
+ my $found = $File::Find::name;
+ # nothing to skip
+ push @scripts, $found;
+ },
+ 'bin',
+ );
+}
my $plan = scalar(@modules) + scalar(@scripts);
$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run");
More information about the Pkg-perl-cvs-commits
mailing list