[svn-upgrade] new version libpackage-deprecationmanager-perl (0.11)
Ansgar Burchardt
12 years ago
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 | |
1 | 6 | |
2 | 7 | - The test suite now uses Test::Fatal instead of Test::Exception. (Karen |
3 | 8 | Etheridge) |
4 | 9 | |
5 | 10 | |
6 | 0.09 2010-10-17 | |
11 | 0.09 2010-10-17 | |
7 | 12 | |
8 | 13 | - Added a compilation test, because otherwise all test files could not end up |
9 | 14 | doing skip_all, which may make smokers and test harnesses unhappy. |
10 | 15 | |
11 | 16 | |
12 | 0.08 2010-10-15 | |
17 | 0.08 2010-10-15 | |
13 | 18 | |
14 | 19 | - Include Test::Requires in prereq list. Reported by Todd Rinaldo. RT #62173. |
15 | 20 | |
16 | 21 | |
17 | 0.07 2010-10-15 | |
22 | 0.07 2010-10-15 | |
18 | 23 | |
19 | 24 | - The use of regular expressions in ignores didn't really work in 0.06. |
20 | 25 | |
24 | 29 | actually test what I think they should be testing. |
25 | 30 | |
26 | 31 | |
27 | 0.06 2010-10-14 | |
32 | 0.06 2010-10-14 | |
28 | 33 | |
29 | 34 | - The -ignore parameter now accepts regular expressions as well as package |
30 | 35 | names. |
31 | 36 | |
32 | 37 | |
33 | 0.05 2010-10-14 | |
38 | 0.05 2010-10-14 | |
34 | 39 | |
35 | 40 | - Fixed what looked like a bug in -ignore handling, although I couldn't seem |
36 | 41 | to write a test that triggered it. |
38 | 43 | - Removed hard dep on Test::Warn for the benefit of Moose. |
39 | 44 | |
40 | 45 | |
41 | 0.04 2010-07-14 | |
46 | 0.04 2010-07-14 | |
42 | 47 | |
43 | 48 | - A single feature will now warn more than once if each warning consists of a |
44 | 49 | different error message. |
45 | 50 | |
46 | 51 | |
47 | 0.03 2010-07-14 | |
52 | 0.03 2010-07-14 | |
48 | 53 | |
49 | 54 | - Added an -ignore parameter when importing Package::DeprecationManager. This |
50 | 55 | lets you explicitly ignore packages in the call stack when determining where |
51 | 56 | a deprecated feature was called. |
52 | 57 | |
53 | 58 | |
54 | 0.02 2010-07-12 | |
59 | 0.02 2010-07-12 | |
55 | 60 | |
56 | 61 | - Made it possible to deprecate any feature, not just a subroutine or method. |
57 | 62 | |
58 | 63 | |
59 | 0.01 2010-07-12 | |
64 | 0.01 2010-07-12 | |
60 | 65 | |
61 | 66 | - First release |
0 | This software is Copyright (c) 2010 by Dave Rolsky. | |
0 | This software is Copyright (c) 2011 by Dave Rolsky. | |
1 | 1 | |
2 | 2 | This is free software, licensed under: |
3 | 3 | |
4 | The Artistic License 2.0 | |
4 | The Artistic License 2.0 (GPL Compatible) | |
5 | 5 | |
6 | 6 | The Artistic License 2.0 |
7 | 7 |
5 | 5 | META.yml |
6 | 6 | Makefile.PL |
7 | 7 | README |
8 | SIGNATURE | |
9 | 8 | dist.ini |
10 | 9 | lib/Package/DeprecationManager.pm |
11 | 10 | t/basic.t |
12 | 11 | t/compile.t |
12 | t/release-cpan-changes.t | |
13 | 13 | t/release-eol.t |
14 | t/release-kwalitee.t | |
15 | 14 | t/release-no-tabs.t |
16 | 15 | t/release-pod-coverage.t |
17 | 16 | t/release-pod-syntax.t |
3 | 3 | "Dave Rolsky <autarch@urth.org>" |
4 | 4 | ], |
5 | 5 | "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", | |
7 | 7 | "license" : [ |
8 | 8 | "artistic_2" |
9 | 9 | ], |
15 | 15 | "prereqs" : { |
16 | 16 | "configure" : { |
17 | 17 | "requires" : { |
18 | "ExtUtils::MakeMaker" : "6.31" | |
18 | "ExtUtils::MakeMaker" : "6.30" | |
19 | 19 | } |
20 | 20 | }, |
21 | 21 | "runtime" : { |
46 | 46 | "web" : "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/Package-DeprecationManager.git;a=summary" |
47 | 47 | } |
48 | 48 | }, |
49 | "version" : "0.10" | |
49 | "version" : "0.11" | |
50 | 50 | } |
51 | 51 |
6 | 6 | Test::More: 0.88 |
7 | 7 | Test::Requires: 0 |
8 | 8 | configure_requires: |
9 | ExtUtils::MakeMaker: 6.31 | |
9 | ExtUtils::MakeMaker: 6.30 | |
10 | 10 | 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' | |
12 | 12 | license: artistic_2 |
13 | 13 | meta-spec: |
14 | 14 | url: http://module-build.sourceforge.net/META-spec-v1.4.html |
22 | 22 | resources: |
23 | 23 | bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Package-DeprecationManager |
24 | 24 | repository: git://git.moose.perl.org/Package-DeprecationManager.git |
25 | version: 0.10 | |
25 | version: 0.11 |
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | use ExtUtils::MakeMaker 6.31; | |
6 | use ExtUtils::MakeMaker 6.30; | |
7 | 7 | |
8 | 8 | |
9 | 9 | |
16 | 16 | 'Test::Requires' => '0' |
17 | 17 | }, |
18 | 18 | 'CONFIGURE_REQUIRES' => { |
19 | 'ExtUtils::MakeMaker' => '6.31' | |
19 | 'ExtUtils::MakeMaker' => '6.30' | |
20 | 20 | }, |
21 | 21 | 'DISTNAME' => 'Package-DeprecationManager', |
22 | 22 | 'EXE_FILES' => [], |
28 | 28 | 'Params::Util' => '0', |
29 | 29 | 'Sub::Install' => '0' |
30 | 30 | }, |
31 | 'VERSION' => '0.10', | |
31 | 'VERSION' => '0.11', | |
32 | 32 | 'test' => { |
33 | 33 | 'TESTS' => 't/*.t' |
34 | 34 | } |
0 | 0 | |
1 | 1 | |
2 | 2 | This archive contains the distribution Package-DeprecationManager, |
3 | version 0.10: | |
3 | version 0.11: | |
4 | 4 | |
5 | 5 | Manage deprecation warnings for your distribution |
6 | 6 | |
7 | This software is Copyright (c) 2010 by Dave Rolsky. | |
7 | This software is Copyright (c) 2011 by Dave Rolsky. | |
8 | 8 | |
9 | 9 | This is free software, licensed under: |
10 | 10 | |
11 | The Artistic License 2.0 | |
11 | The Artistic License 2.0 (GPL Compatible) | |
12 | 12 | |
13 | 13 |
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----- |
0 | 0 | name = Package-DeprecationManager |
1 | 1 | author = Dave Rolsky <autarch@urth.org> |
2 | copyright_year = 2010 | |
2 | license = Artistic_2_0 | |
3 | copyright_holder = Dave Rolsky | |
3 | 4 | |
4 | version = 0.10 | |
5 | version = 0.11 | |
6 | ||
7 | [NextRelease] | |
8 | format = %-8v %{yyyy-MM-dd}d | |
5 | 9 | |
6 | 10 | [@Basic] |
7 | 11 | |
19 | 23 | |
20 | 24 | [PkgVersion] |
21 | 25 | |
22 | [KwaliteeTests] | |
23 | [PodTests] | |
26 | [PodSyntaxTests] | |
27 | [PodCoverageTests] | |
24 | 28 | [NoTabsTests] |
25 | 29 | [EOLTests] |
26 | [Signature] | |
30 | [Test::CPAN::Changes] | |
27 | 31 | |
28 | 32 | [CheckChangeLog] |
29 | 33 |
0 | 0 | package Package::DeprecationManager; |
1 | 1 | BEGIN { |
2 | $Package::DeprecationManager::VERSION = '0.10'; | |
2 | $Package::DeprecationManager::VERSION = '0.11'; | |
3 | 3 | } |
4 | 4 | |
5 | 5 | use strict; |
7 | 7 | |
8 | 8 | use Carp qw( croak ); |
9 | 9 | use List::MoreUtils qw( any ); |
10 | use Params::Util qw( _HASH ); | |
10 | use Params::Util qw( _HASH0 ); | |
11 | 11 | use Sub::Install; |
12 | 12 | |
13 | 13 | sub import { |
16 | 16 | |
17 | 17 | croak |
18 | 18 | '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} ); | |
20 | 20 | |
21 | 21 | my %registry; |
22 | 22 | |
136 | 136 | |
137 | 137 | =head1 VERSION |
138 | 138 | |
139 | version 0.10 | |
139 | version 0.11 | |
140 | 140 | |
141 | 141 | =head1 SYNOPSIS |
142 | 142 | |
262 | 262 | |
263 | 263 | =head1 COPYRIGHT AND LICENSE |
264 | 264 | |
265 | This software is Copyright (c) 2010 by Dave Rolsky. | |
265 | This software is Copyright (c) 2011 by Dave Rolsky. | |
266 | 266 | |
267 | 267 | This is free software, licensed under: |
268 | 268 | |
269 | The Artistic License 2.0 | |
269 | The Artistic License 2.0 (GPL Compatible) | |
270 | 270 | |
271 | 271 | =cut |
272 | 272 |
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(); |