Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Exporter-Tiny for openSUSE:Factory checked in at 2022-10-10 18:43:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Exporter-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Exporter-Tiny.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Exporter-Tiny" Mon Oct 10 18:43:46 2022 rev:10 rq:1007970 version:1.004003 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Exporter-Tiny/perl-Exporter-Tiny.changes 2022-10-01 17:42:00.445544492 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Exporter-Tiny.new.2275/perl-Exporter-Tiny.changes 2022-10-10 18:43:57.646790940 +0200 @@ -1,0 +2,19 @@ +Sat Oct 1 03:06:08 UTC 2022 - Tina M??ller <timueller+p...@suse.de> + +- updated to 1.004003 + see /usr/share/doc/packages/perl-Exporter-Tiny/Changes + + 1.004003 2022-09-30 + + [ Bug Fixes ] + - If exporting non-CODE items which happen to have the same name as + exported CODE items, their export was being quietly blocked. These + exports should now work. + Diab Jerius++ + <https://github.com/tobyink/p5-exporter-tiny/issues/9> + - Using ! with a tag now works; it was previously documented as working + but not implemented. + Diab Jerius++ + <https://github.com/tobyink/p5-exporter-tiny/issues/8> + +------------------------------------------------------------------- Old: ---- Exporter-Tiny-1.004002.tar.gz New: ---- Exporter-Tiny-1.004003.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Exporter-Tiny.spec ++++++ --- /var/tmp/diff_new_pack.mPNQgo/_old 2022-10-10 18:43:58.038791784 +0200 +++ /var/tmp/diff_new_pack.mPNQgo/_new 2022-10-10 18:43:58.042791793 +0200 @@ -18,7 +18,7 @@ %define cpan_name Exporter-Tiny Name: perl-Exporter-Tiny -Version: 1.004002 +Version: 1.004003 Release: 0 License: Artistic-1.0 OR GPL-1.0-or-later Summary: An exporter with the features of Sub::Exporter but only core dependencies ++++++ Exporter-Tiny-1.004002.tar.gz -> Exporter-Tiny-1.004003.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Exporter-Tiny-1.004002/COPYRIGHT new/Exporter-Tiny-1.004003/COPYRIGHT --- old/Exporter-Tiny-1.004002/COPYRIGHT 2022-09-16 23:24:16.000000000 +0200 +++ new/Exporter-Tiny-1.004003/COPYRIGHT 2022-09-30 10:09:54.000000000 +0200 @@ -3,17 +3,6 @@ Upstream-Contact: Toby Inkster (TOBYINK) <toby...@cpan.org> Source: https://metacpan.org/release/Exporter-Tiny -Files: lib/Exporter/Tiny/Manual/Etc.pod - lib/Exporter/Tiny/Manual/Exporting.pod - lib/Exporter/Tiny/Manual/Importing.pod - lib/Exporter/Tiny/Manual/QuickStart.pod - t/01basic.t - t/02renaming.t - t/03generators.t - t/04into.t -Copyright: This software is copyright (c) 2013-2014, 2017 by Toby Inkster. -License: GPL-1.0+ or Artistic-1.0 - Files: NEWS TODO inc/Test/Fatal.pm @@ -25,6 +14,17 @@ Copyright: Unknown License: Unknown +Files: lib/Exporter/Tiny/Manual/Etc.pod + lib/Exporter/Tiny/Manual/Exporting.pod + lib/Exporter/Tiny/Manual/Importing.pod + lib/Exporter/Tiny/Manual/QuickStart.pod + t/01basic.t + t/02renaming.t + t/03generators.t + t/04into.t +Copyright: This software is copyright (c) 2013-2014, 2017 by Toby Inkster. +License: GPL-1.0+ or Artistic-1.0 + Files: lib/Exporter/Shiny.pm t/05shiny.t t/06notwant.t @@ -43,6 +43,13 @@ Copyright: Copyright 1970 Toby Inkster. License: GPL-1.0+ or Artistic-1.0 +Files: t/14lexical.t + t/15nonhashvalue.t + t/gh-8.t + t/gh-9.t +Copyright: This software is copyright (c) 2022 by Toby Inkster. +License: GPL-1.0+ or Artistic-1.0 + Files: Changes META.json META.yml @@ -56,16 +63,6 @@ Copyright: This software is copyright (c) 2018 by Toby Inkster. License: GPL-1.0+ or Artistic-1.0 -Files: t/14lexical.t - t/15nonhashvalue.t -Copyright: This software is copyright (c) 2022 by Toby Inkster. -License: GPL-1.0+ or Artistic-1.0 - -Files: inc/archaic/Test/More.pm - inc/archaic/Test/Simple.pm -Copyright: Copyright 2001-2008 by Michael G Schwern <schw...@pobox.com>. -License: GPL-1.0+ or Artistic-1.0 - Files: dist.ini examples/Example/Exporter.pm Copyright: Copyright 2013 Toby Inkster. @@ -76,6 +73,11 @@ Copyright: This software is copyright (c) 2013-2014, 2017, 2022 by Toby Inkster. License: GPL-1.0+ or Artistic-1.0 +Files: inc/archaic/Test/More.pm + inc/archaic/Test/Simple.pm +Copyright: Copyright 2001-2008 by Michael G Schwern <schw...@pobox.com>. +License: GPL-1.0+ or Artistic-1.0 + Files: SIGNATURE Copyright: None License: public-domain diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Exporter-Tiny-1.004002/CREDITS new/Exporter-Tiny-1.004003/CREDITS --- old/Exporter-Tiny-1.004002/CREDITS 2022-09-16 23:24:16.000000000 +0200 +++ new/Exporter-Tiny-1.004003/CREDITS 2022-09-30 10:09:54.000000000 +0200 @@ -3,6 +3,7 @@ Thanks: - CHOCOLATEBOY <chocolate...@cpan.org> +- Diab Jerius (DJERIUS) <djer...@cpan.org> - Eugen Konkov - Tomohiro Hosaka (BOKUTIN) <boku...@cpan.org> - ZHUMENGU diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Exporter-Tiny-1.004002/Changes new/Exporter-Tiny-1.004003/Changes --- old/Exporter-Tiny-1.004002/Changes 2022-09-16 23:24:16.000000000 +0200 +++ new/Exporter-Tiny-1.004003/Changes 2022-09-30 10:09:54.000000000 +0200 @@ -6,6 +6,19 @@ Bug tracker: <https://github.com/tobyink/p5-exporter-tiny/issues> Maintainer: Toby Inkster (TOBYINK) <toby...@cpan.org> +1.004003 2022-09-30 + + [ Bug Fixes ] + - If exporting non-CODE items which happen to have the same name as + exported CODE items, their export was being quietly blocked. These + exports should now work. + Diab Jerius++ + <https://github.com/tobyink/p5-exporter-tiny/issues/9> + - Using ! with a tag now works; it was previously documented as working + but not implemented. + Diab Jerius++ + <https://github.com/tobyink/p5-exporter-tiny/issues/8> + 1.004002 2022-09-16 [ Test Suite ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Exporter-Tiny-1.004002/MANIFEST new/Exporter-Tiny-1.004003/MANIFEST --- old/Exporter-Tiny-1.004002/MANIFEST 2022-09-16 23:24:16.000000000 +0200 +++ new/Exporter-Tiny-1.004003/MANIFEST 2022-09-30 10:09:54.000000000 +0200 @@ -45,3 +45,5 @@ t/13doesntexist.t t/14lexical.t t/15nonhashvalue.t +t/gh-8.t +t/gh-9.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Exporter-Tiny-1.004002/META.json new/Exporter-Tiny-1.004003/META.json --- old/Exporter-Tiny-1.004002/META.json 2022-09-16 23:24:16.000000000 +0200 +++ new/Exporter-Tiny-1.004003/META.json 2022-09-30 10:09:54.000000000 +0200 @@ -48,11 +48,11 @@ "provides" : { "Exporter::Shiny" : { "file" : "lib/Exporter/Shiny.pm", - "version" : "1.004002" + "version" : "1.004003" }, "Exporter::Tiny" : { "file" : "lib/Exporter/Tiny.pm", - "version" : "1.004002" + "version" : "1.004003" } }, "release_status" : "stable", @@ -72,6 +72,6 @@ "x_IRC" : "irc://irc.perl.org/#moops", "x_identifier" : "http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/project" }, - "version" : "1.004002", + "version" : "1.004003", "x_serialization_backend" : "JSON::PP version 4.09" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Exporter-Tiny-1.004002/META.yml new/Exporter-Tiny-1.004003/META.yml --- old/Exporter-Tiny-1.004002/META.yml 2022-09-16 23:24:16.000000000 +0200 +++ new/Exporter-Tiny-1.004003/META.yml 2022-09-30 10:09:54.000000000 +0200 @@ -25,10 +25,10 @@ provides: Exporter::Shiny: file: lib/Exporter/Shiny.pm - version: '1.004002' + version: '1.004003' Exporter::Tiny: file: lib/Exporter/Tiny.pm - version: '1.004002' + version: '1.004003' requires: perl: '5.006001' resources: @@ -38,5 +38,5 @@ homepage: https://metacpan.org/release/Exporter-Tiny license: http://dev.perl.org/licenses/ repository: git://github.com/tobyink/p5-exporter-tiny.git -version: '1.004002' +version: '1.004003' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Exporter-Tiny-1.004002/Makefile.PL new/Exporter-Tiny-1.004003/Makefile.PL --- old/Exporter-Tiny-1.004002/Makefile.PL 2022-09-16 23:24:16.000000000 +0200 +++ new/Exporter-Tiny-1.004003/Makefile.PL 2022-09-30 10:09:54.000000000 +0200 @@ -25,8 +25,8 @@ }, }, "provides" => { - "Exporter::Shiny" => { file => "lib/Exporter/Shiny.pm", version => 1.004002 }, - "Exporter::Tiny" => { file => "lib/Exporter/Tiny.pm", version => 1.004002 }, + "Exporter::Shiny" => { file => "lib/Exporter/Shiny.pm", version => 1.004003 }, + "Exporter::Tiny" => { file => "lib/Exporter/Tiny.pm", version => 1.004003 }, }, "release_status" => "stable", "resources" => { @@ -41,7 +41,7 @@ x_identifier => "http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/project", x_IRC => "irc://irc.perl.org/#moops", }, - "version" => 1.004002, + "version" => 1.004003, }; my %dynamic_config; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Exporter-Tiny-1.004002/SIGNATURE new/Exporter-Tiny-1.004003/SIGNATURE --- old/Exporter-Tiny-1.004002/SIGNATURE 2022-09-16 23:24:16.000000000 +0200 +++ new/Exporter-Tiny-1.004003/SIGNATURE 2022-09-30 10:09:54.000000000 +0200 @@ -14,20 +14,20 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 -SHA256 71e7c4c34fc6f9a6e5e81fac498e2de4b37d09434b17235994e61155dd2495a0 COPYRIGHT -SHA256 8f4f9665e7482ef4ed2d2ea4094c3aa3660ad6eb5a354e4d42be8482bccab0e4 CREDITS -SHA256 20e2d558f997a35f996b3bd0bad7f2aa4837ad1ed96bbcbfbab6f1dd49090639 Changes +SHA256 dbd2e572ee52bacdfb710e198ac625b3dfe2da6cabac752083d1234ee2d2c2c7 COPYRIGHT +SHA256 5124359bbc1eb6fbc98496e82c9ebd0db246aaa07059f4cd28bd3174f6352b6d CREDITS +SHA256 08a215a6244b875572da55707a6775da7492c440367f537501f7aae9bc388a82 Changes SHA256 2f314c303b24f03c1ffbc54001a90eb7d50ebe724a60b2fe4f2f6e42e5170c1d INSTALL SHA256 a4f85c6f4d6e8bdd37b7ab08013e3e3bee1fe8e910e20f8f54d5025ffe40f384 LICENSE -SHA256 dd356946ebbcf40867406557348e94b9edc2e90aa6007130a47d2b38c5e3a834 MANIFEST -SHA256 95906d25d37b164c51902b04753d73c13a956b29bdc5053d8b6b8314b1e2e3f0 META.json -SHA256 7a25e2ec26fe951ecf8208fa6269494b2da7d715c4da43cc9a7d9512d80e7fcb META.yml -SHA256 e378e69d438da8b27619117d46f1a68e5ccf0844e8a2899bd1442d04d000ffdc Makefile.PL +SHA256 db033ca38e844b9406a63a6c90e7e4df7c0f11fefc9fe42ff52ef5ee761eccab MANIFEST +SHA256 1a91f3dae818f0103d991363643d607556240adfed401110bd0516b0a878618a META.json +SHA256 b88952e0121e89d8177bbf47ef683a979978a3c457e2a11027c59d4511cc9204 META.yml +SHA256 cb08f990ead3af9d62651f37b3f0afd74a0175f0631e7d2394e0894d14402e34 Makefile.PL SHA256 47b10ed37d8da7c65245ffe5773cf59654f1545cc0e2fbbfa4f1e25f67bb0ff3 NEWS SHA256 0d2ea0e8456261f541cb039ee38d7994b28c989f2284a7fbb714bf7bf7952536 README SHA256 846fcc88a04c5b7cd65ec32c5f842f8b339d8fc28c1cc75f36fa10af809353e2 TODO SHA256 43562b3806635eddcf6e7ea7cf6edc690a7f52cca15e4fc76593d144fd450aa6 dist.ini -SHA256 1b53d5f256abc4b803aebf866094892975293ae09d0f344a766dc58b1a1ded3d doap.ttl +SHA256 9f05e4b20ce4e4b2cb4f9aa3c3954c39a73ad5541c58df72c19be3e8b578a52e doap.ttl SHA256 bbe194f6f9a9832847d82b7cb8b5d5f16c4af255bcef0d25f90992ff268462ea examples/Example/Exporter.pm SHA256 c361b86d13c8fdfbe75840d11dbe6af488e44af27b0edb80fd1eea28c8e935d4 inc/Test/Fatal.pm SHA256 b8b2edfbb16b30d0e3b212a413c55a8de7ce929591d0a1029b70c47c8c0be11a inc/Test/Requires.pm @@ -39,8 +39,8 @@ SHA256 ae528d9fc2962793e98af13f4d4e802fbf8d78b17b1c27a860728a16e8bf4a3a inc/archaic/Test/Builder/Tester/Color.pm SHA256 764f3ed1e0a314e7e9f8d803dff3d894e8c572e2a128d7ce14f2a80268e50543 inc/archaic/Test/More.pm SHA256 c4fd1410a9bd85a0e7700de08c1614fc5928c0d02151ba1ec7d06bd56407e0d5 inc/archaic/Test/Simple.pm -SHA256 918bb0020379ac0bceaf1b7a2fe41cce561d6cb4711cb8315834220a7aa009d6 lib/Exporter/Shiny.pm -SHA256 73fb7ca40136e828eacd54f6e9b010e5a52528a94170f7f8a169a61b1e286cc8 lib/Exporter/Tiny.pm +SHA256 8344d591a90b3edea7494a79bcac2d055d6be1123945f667677ace0ac06f342b lib/Exporter/Shiny.pm +SHA256 64d368035091f7b1ce0e60f5a1a05a698487e4eb378121f2d43d1bfd772f5e28 lib/Exporter/Tiny.pm SHA256 3e080e8653b3b717c52dad07fcfc84c31766a9034c9c3b881ff41301a19b378a lib/Exporter/Tiny/Manual/Etc.pod SHA256 293f6a8c2d4dacb49b775b24547a2f4845487bd6549b08a82f06dd89281111c8 lib/Exporter/Tiny/Manual/Exporting.pod SHA256 c187110096953b6629df1cc4aef1eae17625be5ca1dd75d388da1aea43c7fb4e lib/Exporter/Tiny/Manual/Importing.pod @@ -60,9 +60,11 @@ SHA256 47728bc580e310a5c3c3c61fb6be7a450ebdf6aa420bbf7c5b1ae514223e533f t/13doesntexist.t SHA256 82953c33b12d287478d5b5b120cdedb43b71d2eec311eef91ae0a77fc3451732 t/14lexical.t SHA256 70029832b2fbebf24679c78fd2a8be2f993ecbfa6f8f86185d1fb6d7118ff1ed t/15nonhashvalue.t +SHA256 e1a41fa7830088d375109ef40be52c3a17255f06e46e077a6c6a9276f47c6485 t/gh-8.t +SHA256 59f9182ed1b30f84045947a2713328e62275e922d083933e2c72fb381d710306 t/gh-9.t -----BEGIN PGP SIGNATURE----- -iF0EAREDAB0WIQRVJKj/4+s6z4WzNujOv4Eoaip9OQUCYyTpgAAKCRDOv4Eoaip9 -OUnvAKC0mykx6LyzJ/HEpih/m0FwvEY69wCfcmS97hwXViXbLpva5td1FheFjPs= -=x+t9 +iF0EAREDAB0WIQRVJKj/4+s6z4WzNujOv4Eoaip9OQUCYzakUgAKCRDOv4Eoaip9 +Oe+SAKCI8UngnYJxcDS0OA/ACR/oNasI0ACdHUZ857PwhJ8YGXpWAnaiXW2rEnE= +=BO0q -----END PGP SIGNATURE----- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Exporter-Tiny-1.004002/doap.ttl new/Exporter-Tiny-1.004003/doap.ttl --- old/Exporter-Tiny-1.004002/doap.ttl 2022-09-16 23:24:16.000000000 +0200 +++ new/Exporter-Tiny-1.004003/doap.ttl 2022-09-30 10:09:54.000000000 +0200 @@ -27,7 +27,7 @@ doap:maintainer <http://purl.org/NET/cpan-uri/person/tobyink>; doap:name "Exporter-Tiny"; doap:programming-language "Perl"; - doap:release <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-026>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-029_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-030>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-031_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-032>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-033_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-034>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-035_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-035_02>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-036>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-037_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-037_02>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-037_03>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-038>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-039_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-040>, <htt p://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-041_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-041_02>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-042>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-043_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-043_02>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-044>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-000000>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-001_000>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-001_001>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-002000>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-002001>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-002002>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-003_000>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-003_001>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-003_002>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-004000>, <http://pu rl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-004001>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-004002>; + doap:release <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-026>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-029_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-030>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-031_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-032>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-033_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-034>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-035_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-035_02>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-036>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-037_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-037_02>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-037_03>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-038>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-039_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-040>, <htt p://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-041_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-041_02>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-042>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-043_01>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-043_02>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_0-044>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-000000>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-001_000>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-001_001>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-002000>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-002001>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-002002>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-003_000>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-003_001>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-003_002>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-004000>, <http://pu rl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-004001>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-004002>, <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-004003>; doap:repository [ a doap:GitRepository; doap:browse <https://github.com/tobyink/p5-exporter-tiny>; @@ -562,6 +562,28 @@ doap:file-release <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Exporter-Tiny-1.004002.tar.gz>; doap:revision "1.004002"^^xsd:string. +<http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-004003> + a doap:Version; + dc:identifier "Exporter-Tiny-1.004003"^^xsd:string; + dc:issued "2022-09-30"^^xsd:date; + doap-changeset:changeset [ + doap-changeset:item [ + a doap-changeset:Bugfix; + rdfs:label "Using ! with a tag now works; it was previously documented as working but not implemented."; + doap-changeset:thanks <http://purl.org/NET/cpan-uri/person/djerius>; + rdfs:seeAlso <https://github.com/tobyink/p5-exporter-tiny/issues/8>; + ], [ + a doap-changeset:Bugfix; + rdfs:label "If exporting non-CODE items which happen to have the same name as exported CODE items, their export was being quietly blocked. These exports should now work."; + doap-changeset:thanks <http://purl.org/NET/cpan-uri/person/djerius>; + rdfs:seeAlso <https://github.com/tobyink/p5-exporter-tiny/issues/9>; + ]; + doap-changeset:versus <http://purl.org/NET/cpan-uri/dist/Exporter-Tiny/v_1-004002>; + ]; + doap-changeset:released-by <http://purl.org/NET/cpan-uri/person/tobyink>; + doap:file-release <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Exporter-Tiny-1.004003.tar.gz>; + doap:revision "1.004003"^^xsd:string. + <http://purl.org/NET/cpan-uri/dist/Type-Tiny/project> a doap:Project; dc:contributor <http://purl.org/NET/cpan-uri/person/tobyink>; @@ -589,6 +611,12 @@ foaf:nick "CHOCOLATEBOY"; foaf:page <https://metacpan.org/author/CHOCOLATEBOY>. +<http://purl.org/NET/cpan-uri/person/djerius> + a foaf:Person; + foaf:name "Diab Jerius"; + foaf:nick "DJERIUS"; + foaf:page <https://metacpan.org/author/DJERIUS>. + <http://purl.org/NET/cpan-uri/person/tobyink> a foaf:Person; foaf:mbox <mailto:toby...@cpan.org>; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Exporter-Tiny-1.004002/lib/Exporter/Shiny.pm new/Exporter-Tiny-1.004003/lib/Exporter/Shiny.pm --- old/Exporter-Tiny-1.004002/lib/Exporter/Shiny.pm 2022-09-16 23:24:16.000000000 +0200 +++ new/Exporter-Tiny-1.004003/lib/Exporter/Shiny.pm 2022-09-30 10:09:54.000000000 +0200 @@ -7,7 +7,7 @@ use Exporter::Tiny (); our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '1.004002'; +our $VERSION = '1.004003'; sub import { my $me = shift; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Exporter-Tiny-1.004002/lib/Exporter/Tiny.pm new/Exporter-Tiny-1.004003/lib/Exporter/Tiny.pm --- old/Exporter-Tiny-1.004002/lib/Exporter/Tiny.pm 2022-09-16 23:24:16.000000000 +0200 +++ new/Exporter-Tiny-1.004003/lib/Exporter/Tiny.pm 2022-09-30 10:09:54.000000000 +0200 @@ -5,7 +5,7 @@ use warnings; no warnings qw(void once uninitialized numeric redefine); our $AUTHORITY = 'cpan:TOBYINK'; -our $VERSION = '1.004002'; +our $VERSION = '1.004003'; our @EXPORT_OK = qw< mkopt mkopt_hash _croak _carp >; sub _croak ($;@) { require Carp; my $fmt = shift; @_ = sprintf($fmt, @_); goto \&Carp::croak } @@ -26,6 +26,11 @@ my @not = $class->_exporter_expand_regexp("$1", $value, $global_opts); ++$not_want->{$_->[0]} for @not; } : + ($name =~ m{\A\\z}) ? + do { + my @not = $class->_exporter_expand_tag("$1", $value, $global_opts); + ++$not_want->{$_->[0]} for @not; + } : ($name =~ m{\A\!(.+)\z}) ? (++$not_want->{$1}) : ($name =~ m{\A[:-](.+)\z}) ? @@ -227,11 +232,12 @@ my $generator = $class->can("$generatorprefix$name"); return $sigilname => $class->$generator($sigilname, $value, $globals) if $generator; - my $sub = $class->can($name); - return $sigilname => $sub if $sub; - - # Could do this more cleverly, but this works. - if ($sigil ne '&') { + if ($sigil eq '&') { + my $sub = $class->can($name); + return $sigilname => $sub if $sub; + } + else { + # Could do this more cleverly, but this works. my $evalled = eval "\\${sigil}${class}::${name}"; return $sigilname => $evalled if $evalled; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Exporter-Tiny-1.004002/t/gh-8.t new/Exporter-Tiny-1.004003/t/gh-8.t --- old/Exporter-Tiny-1.004002/t/gh-8.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Exporter-Tiny-1.004003/t/gh-8.t 2022-09-30 10:09:54.000000000 +0200 @@ -0,0 +1,83 @@ +=pod + +=encoding utf-8 + +=head1 PURPOSE + +Test for GitHub issue 8. + +=head1 SEE ALSO + +L<https://github.com/tobyink/p5-exporter-tiny/issues/8>. + +=head1 AUTHOR + +Toby Inkster E<lt>toby...@cpan.orge<gt>. + +=head1 COPYRIGHT AND LICENCE + +This software is copyright (c) 2022 by Toby Inkster. + +This is free software; you can redistribute it and/or modify it under +the same terms as the Perl 5 programming language system itself. + +=cut + +use strict; +use warnings; +use Test::More tests => 5; + +BEGIN { + package Local::Exporter; + use Exporter::Shiny; + sub chocolate { 1 } + sub vanilla { 2 } + our %EXPORT_TAGS = ( want => [ qw( chocolate vanilla ) ] ); + our @EXPORT_OK = map { @$_ } values %EXPORT_TAGS; +}; + +my %stuff; +my $dump = sub { + use Data::Dumper; + diag Dumper( \%stuff ); +}; + +%stuff = (); +Local::Exporter->import( { into => \%stuff }, qw( -all ) ); +is_deeply( + [ sort keys %stuff ], + [ 'chocolate', 'vanilla' ], + '-all', +) or &$dump; + +%stuff = (); +Local::Exporter->import( { into => \%stuff }, qw( -all !vanilla ) ); +is_deeply( + [ sort keys %stuff ], + [ 'chocolate' ], + '-all !vanilla', +) or &$dump; + +%stuff = (); +Local::Exporter->import( { into => \%stuff }, qw( -want ) ); +is_deeply( + [ sort keys %stuff ], + [ 'chocolate', 'vanilla' ], + '-want', +) or &$dump; + +%stuff = (); +Local::Exporter->import( { into => \%stuff }, qw( -all !-want ) ); +is_deeply( + [ sort keys %stuff ], + [], + '-all !-want', +) or &$dump; + +%stuff = (); +Local::Exporter->import( { into => \%stuff }, qw( -want !-want ) ); +is_deeply( + [ sort keys %stuff ], + [], + '-want !-want', +) or &$dump; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Exporter-Tiny-1.004002/t/gh-9.t new/Exporter-Tiny-1.004003/t/gh-9.t --- old/Exporter-Tiny-1.004002/t/gh-9.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Exporter-Tiny-1.004003/t/gh-9.t 2022-09-30 10:09:54.000000000 +0200 @@ -0,0 +1,43 @@ +=pod + +=encoding utf-8 + +=head1 PURPOSE + +Test for GitHub issue 9. + +=head1 SEE ALSO + +L<https://github.com/tobyink/p5-exporter-tiny/issues/9>. + +=head1 AUTHOR + +Toby Inkster E<lt>toby...@cpan.orge<gt>. + +=head1 COPYRIGHT AND LICENCE + +This software is copyright (c) 2022 by Toby Inkster. + +This is free software; you can redistribute it and/or modify it under +the same terms as the Perl 5 programming language system itself. + +=cut + +use strict; +use warnings; +use Test::More tests => 3; + +BEGIN { + package Local::Exporter; + use Exporter::Shiny qw( FLAVORS @FLAVORS %FLAVORS ); + sub FLAVORS { 'CHOCOLATE', 'VANILLA' } + our @FLAVORS = ( 'chocolate', 'vanilla' ); + our %FLAVORS = ( 1 => 'chocolate', 2 => 'vanilla' ); +}; + +our ( @FLAVORS, %FLAVORS ); +use Local::Exporter -all; + +is_deeply( [ FLAVORS() ], [ qw( CHOCOLATE VANILLA ) ] ); +is_deeply( \@FLAVORS, [ qw( chocolate vanilla ) ] ); +is_deeply( \%FLAVORS, { qw( 1 chocolate 2 vanilla ) } );