Codebase list libpackage-deprecationmanager-perl / 98e9fc7
[svn-upgrade] new version libpackage-deprecationmanager-perl (0.11) Ansgar Burchardt 12 years ago
13 changed file(s) with 62 addition(s) and 94 deletion(s). Raw diff Collapse all Expand all
0 0.10 2010-10-25
0 0.11 2011-06-19
1
2 - Allow an empty hash for the -deprecations parameter.
3
4
5 0.10 2010-10-25
16
27 - The test suite now uses Test::Fatal instead of Test::Exception. (Karen
38 Etheridge)
49
510
6 0.09 2010-10-17
11 0.09 2010-10-17
712
813 - Added a compilation test, because otherwise all test files could not end up
914 doing skip_all, which may make smokers and test harnesses unhappy.
1015
1116
12 0.08 2010-10-15
17 0.08 2010-10-15
1318
1419 - Include Test::Requires in prereq list. Reported by Todd Rinaldo. RT #62173.
1520
1621
17 0.07 2010-10-15
22 0.07 2010-10-15
1823
1924 - The use of regular expressions in ignores didn't really work in 0.06.
2025
2429 actually test what I think they should be testing.
2530
2631
27 0.06 2010-10-14
32 0.06 2010-10-14
2833
2934 - The -ignore parameter now accepts regular expressions as well as package
3035 names.
3136
3237
33 0.05 2010-10-14
38 0.05 2010-10-14
3439
3540 - Fixed what looked like a bug in -ignore handling, although I couldn't seem
3641 to write a test that triggered it.
3843 - Removed hard dep on Test::Warn for the benefit of Moose.
3944
4045
41 0.04 2010-07-14
46 0.04 2010-07-14
4247
4348 - A single feature will now warn more than once if each warning consists of a
4449 different error message.
4550
4651
47 0.03 2010-07-14
52 0.03 2010-07-14
4853
4954 - Added an -ignore parameter when importing Package::DeprecationManager. This
5055 lets you explicitly ignore packages in the call stack when determining where
5156 a deprecated feature was called.
5257
5358
54 0.02 2010-07-12
59 0.02 2010-07-12
5560
5661 - Made it possible to deprecate any feature, not just a subroutine or method.
5762
5863
59 0.01 2010-07-12
64 0.01 2010-07-12
6065
6166 - First release
0 This software is Copyright (c) 2010 by Dave Rolsky.
0 This software is Copyright (c) 2011 by Dave Rolsky.
11
22 This is free software, licensed under:
33
4 The Artistic License 2.0
4 The Artistic License 2.0 (GPL Compatible)
55
66 The Artistic License 2.0
77
55 META.yml
66 Makefile.PL
77 README
8 SIGNATURE
98 dist.ini
109 lib/Package/DeprecationManager.pm
1110 t/basic.t
1211 t/compile.t
12 t/release-cpan-changes.t
1313 t/release-eol.t
14 t/release-kwalitee.t
1514 t/release-no-tabs.t
1615 t/release-pod-coverage.t
1716 t/release-pod-syntax.t
33 "Dave Rolsky <autarch@urth.org>"
44 ],
55 "dynamic_config" : 0,
6 "generated_by" : "Dist::Zilla version 4.102342, CPAN::Meta::Converter version 2.101670",
6 "generated_by" : "Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110930",
77 "license" : [
88 "artistic_2"
99 ],
1515 "prereqs" : {
1616 "configure" : {
1717 "requires" : {
18 "ExtUtils::MakeMaker" : "6.31"
18 "ExtUtils::MakeMaker" : "6.30"
1919 }
2020 },
2121 "runtime" : {
4646 "web" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Package-DeprecationManager.git;a=summary"
4747 }
4848 },
49 "version" : "0.10"
49 "version" : "0.11"
5050 }
5151
66 Test::More: 0.88
77 Test::Requires: 0
88 configure_requires:
9 ExtUtils::MakeMaker: 6.31
9 ExtUtils::MakeMaker: 6.30
1010 dynamic_config: 0
11 generated_by: 'Dist::Zilla version 4.102342, CPAN::Meta::Converter version 2.101670'
11 generated_by: 'Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110930'
1212 license: artistic_2
1313 meta-spec:
1414 url: http://module-build.sourceforge.net/META-spec-v1.4.html
2222 resources:
2323 bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Package-DeprecationManager
2424 repository: git://git.moose.perl.org/Package-DeprecationManager.git
25 version: 0.10
25 version: 0.11
33
44
55
6 use ExtUtils::MakeMaker 6.31;
6 use ExtUtils::MakeMaker 6.30;
77
88
99
1616 'Test::Requires' => '0'
1717 },
1818 'CONFIGURE_REQUIRES' => {
19 'ExtUtils::MakeMaker' => '6.31'
19 'ExtUtils::MakeMaker' => '6.30'
2020 },
2121 'DISTNAME' => 'Package-DeprecationManager',
2222 'EXE_FILES' => [],
2828 'Params::Util' => '0',
2929 'Sub::Install' => '0'
3030 },
31 'VERSION' => '0.10',
31 'VERSION' => '0.11',
3232 'test' => {
3333 'TESTS' => 't/*.t'
3434 }
00
11
22 This archive contains the distribution Package-DeprecationManager,
3 version 0.10:
3 version 0.11:
44
55 Manage deprecation warnings for your distribution
66
7 This software is Copyright (c) 2010 by Dave Rolsky.
7 This software is Copyright (c) 2011 by Dave Rolsky.
88
99 This is free software, licensed under:
1010
11 The Artistic License 2.0
11 The Artistic License 2.0 (GPL Compatible)
1212
1313
+0
-40
SIGNATURE less more
0 This file contains message digests of all files listed in MANIFEST,
1 signed via the Module::Signature module, version 0.61.
2
3 To verify the content in this distribution, first make sure you have
4 Module::Signature installed, then type:
5
6 % cpansign -v
7
8 It will check each file's integrity, as well as the signature's
9 validity. If "==> Signature verified OK! <==" is not displayed,
10 the distribution may already have been compromised, and you should
11 not run its Makefile.PL or Build.PL.
12
13 -----BEGIN PGP SIGNED MESSAGE-----
14 Hash: SHA1
15
16 SHA1 0723bd31c167ec7da3614839ff7ea1993169db5f Changes
17 SHA1 e605c1369fca70aef0107226cbf4d5250a02f18c INSTALL
18 SHA1 23c628b4a8a36738405ccdacaeb912d2e727b4c0 LICENSE
19 SHA1 a23fbff70f39433439517a4b0b94ef721e7df188 MANIFEST
20 SHA1 40034b6bddff5933751a72f2a89c21d9cf694f32 META.json
21 SHA1 c048b954736d9c08606c270179640d2adc0c4f14 META.yml
22 SHA1 f93d7060d74a3464dcfc7e6c435a7ce90ba03dcc Makefile.PL
23 SHA1 df80bdca6efa241afa0e49843b4ab147471dc008 README
24 SHA1 1a7544dd7cb78a960ad1456ba9216ad0bee9621e dist.ini
25 SHA1 fd61a0e4ea01f97422079acf69fdf8358e86225d lib/Package/DeprecationManager.pm
26 SHA1 9c9b82aa0a4080035cff331ba5167544bd6a3931 t/basic.t
27 SHA1 605e6c7b815397a7fecc536b403640f4007ab4a6 t/compile.t
28 SHA1 a032c41ef6887fab1b900669c2d304fab46680e2 t/release-eol.t
29 SHA1 961a1e2c92d836c8cad2d34b784cbc75345dec63 t/release-kwalitee.t
30 SHA1 455d1dd1867212a665ad5ea4126b572411de300c t/release-no-tabs.t
31 SHA1 9433c240fe590bc404ab68ff63984df763e347ed t/release-pod-coverage.t
32 SHA1 9775e90d40f094f3e5a23c695d6e6e436a2232c3 t/release-pod-syntax.t
33 -----BEGIN PGP SIGNATURE-----
34 Version: GnuPG v1.4.10 (GNU/Linux)
35
36 iEYEARECAAYFAkzHEUsACgkQIgMCsV8qvRIK2QCeNpmu4YkTp1SM1A71IrO2KRf9
37 g50Anid9dY7Jyc7l6/9IqH1/Tv3RVoSX
38 =4Wem
39 -----END PGP SIGNATURE-----
00 name = Package-DeprecationManager
11 author = Dave Rolsky <autarch@urth.org>
2 copyright_year = 2010
2 license = Artistic_2_0
3 copyright_holder = Dave Rolsky
34
4 version = 0.10
5 version = 0.11
6
7 [NextRelease]
8 format = %-8v %{yyyy-MM-dd}d
59
610 [@Basic]
711
1923
2024 [PkgVersion]
2125
22 [KwaliteeTests]
23 [PodTests]
26 [PodSyntaxTests]
27 [PodCoverageTests]
2428 [NoTabsTests]
2529 [EOLTests]
26 [Signature]
30 [Test::CPAN::Changes]
2731
2832 [CheckChangeLog]
2933
00 package Package::DeprecationManager;
11 BEGIN {
2 $Package::DeprecationManager::VERSION = '0.10';
2 $Package::DeprecationManager::VERSION = '0.11';
33 }
44
55 use strict;
77
88 use Carp qw( croak );
99 use List::MoreUtils qw( any );
10 use Params::Util qw( _HASH );
10 use Params::Util qw( _HASH0 );
1111 use Sub::Install;
1212
1313 sub import {
1616
1717 croak
1818 'You must provide a hash reference -deprecations parameter when importing Package::DeprecationManager'
19 unless $args{-deprecations} && _HASH( $args{-deprecations} );
19 unless $args{-deprecations} && _HASH0( $args{-deprecations} );
2020
2121 my %registry;
2222
136136
137137 =head1 VERSION
138138
139 version 0.10
139 version 0.11
140140
141141 =head1 SYNOPSIS
142142
262262
263263 =head1 COPYRIGHT AND LICENSE
264264
265 This software is Copyright (c) 2010 by Dave Rolsky.
265 This software is Copyright (c) 2011 by Dave Rolsky.
266266
267267 This is free software, licensed under:
268268
269 The Artistic License 2.0
269 The Artistic License 2.0 (GPL Compatible)
270270
271271 =cut
272272
0 #!perl
1
2 BEGIN {
3 unless ($ENV{RELEASE_TESTING}) {
4 require Test::More;
5 Test::More::plan(skip_all => 'these tests are for release candidate testing');
6 }
7 }
8
9
10 use Test::More;
11 eval 'use Test::CPAN::Changes';
12 plan skip_all => 'Test::CPAN::Changes required for this test' if $@;
13 changes_ok();
14 done_testing();
+0
-15
t/release-kwalitee.t less more
0 #!perl
1
2 BEGIN {
3 unless ($ENV{RELEASE_TESTING}) {
4 require Test::More;
5 Test::More::plan(skip_all => 'these tests are for release candidate testing');
6 }
7 }
8
9
10 use Test::More;
11
12 eval "use Test::Kwalitee";
13 plan skip_all => "Test::Kwalitee required for testing kwalitee"
14 if $@;
88
99 use Test::More;
1010
11 eval "use Test::Pod 1.00";
12 plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
11 eval "use Test::Pod 1.41";
12 plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
1313
1414 all_pod_files_ok();