summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2019-12-09 09:29:41 +0000
committerintrigeri <intrigeri@boum.org>2019-12-09 09:29:41 +0000
commit6faecf966e00e55d829a2f2cbfd157105c03e4a3 (patch)
treecac8f54a373f0a2b3e9e9033c421d848732d6750
parent7f56a02d591d326c10542e935e8535115a55e096 (diff)
parent28f6cb94cf77109d0b24e6d84a542339cf8fc165 (diff)
New upstream version 0.016
-rw-r--r--CONTRIBUTING83
-rw-r--r--COPYRIGHT34
-rw-r--r--Changes7
-rw-r--r--LICENSE6
-rw-r--r--MANIFEST1
-rw-r--r--META.json20
-rw-r--r--META.yml14
-rw-r--r--Makefile.PL83
-rw-r--r--README2
-rw-r--r--SIGNATURE56
-rw-r--r--doap.ttl20
-rw-r--r--lib/MooX/late.pm6
-rw-r--r--t/01basic.t2
-rw-r--r--t/02inflation.t2
-rw-r--r--t/03invalid_tc.t21
-rw-r--r--t/04arrayofattrs.t2
16 files changed, 149 insertions, 210 deletions
diff --git a/CONTRIBUTING b/CONTRIBUTING
deleted file mode 100644
index ba115b4..0000000
--- a/CONTRIBUTING
+++ /dev/null
@@ -1,83 +0,0 @@
-NAME
- CONTRIBUTING
-
-DESCRIPTION
- If you're reading this document, that means you might be thinking about
- helping me out with this project. Thanks!
-
- Here's some ways you could help out:
-
- * Bug reports
-
- Found a bug? Great! (Well, not so great I suppose.)
-
- The place to report them is <https://rt.cpan.org/>. Don't e-mail me
- about it, as your e-mail is more than likely to get lost amongst the
- spam.
-
- An example script clearly demonstrating the bug (preferably written
- using Test::More) would be greatly appreciated.
-
- * Patches
-
- If you've found a bug and written a fix for it, even better!
-
- Generally speaking you should check out the latest copy of the code
- from the source repository rather than using the CPAN distribution.
- The file META.yml should contain a link to the source repository. If
- not, then try <https://github.com/tobyink> or submit a bug report.
- (As far as I'm concerned the lack of a link is a bug.) Many of my
- distributions are also mirrored at <https://bitbucket.org/tobyink>.
-
- To submit the patch, do a pull request on GitHub or Bitbucket, or
- attach a diff file to a bug report. Unless otherwise stated, I'll
- assume that your contributions are licensed under the same terms as
- the rest of the project.
-
- (If using git, feel free to work in a branch. For Mercurial, I'd
- prefer bookmarks within the default branch.)
-
- * Documentation
-
- If there's anything unclear in the documentation, please submit this
- as a bug report or patch as above.
-
- Non-toy example scripts that I can bundle would also be appreciated.
-
- * Translation
-
- Translations of documentation would be welcome.
-
- For translations of error messages and other strings embedded in the
- code, check with me first. Sometimes the English strings may not in
- a stable state, so it would be a waste of time translating them.
-
- Coding Style
- I tend to write using something approximating the Allman style, using
- tabs for indentation and Unix-style line breaks.
-
- * <http://en.wikipedia.org/wiki/Indent_style#Allman_style>
-
- * <http://www.derkarl.org/why_to_tabs.html>
-
- I nominally encode all source files as UTF-8, though in practice most of
- them use a 7-bit-safe ASCII-compatible subset of UTF-8.
-
-AUTHOR
- Toby Inkster <tobyink@cpan.org>.
-
-COPYRIGHT AND LICENCE
- Copyright (c) 2012-2014 by Toby Inkster.
-
- CONTRIBUTING is available under three different licences permitting its
- redistribution: the CC-BY-SA_UK-2.0 licence, plus the same licences as
- Perl itself, which is distributed under the GNU General Public Licence
- version 1, and the Artistic Licence.
-
- This file is licensed under the Creative Commons Attribution-ShareAlike
- 2.0 UK: England & Wales License. To view a copy of this license, visit
- <http://creativecommons.org/licenses/by-sa/2.0/uk/>.
-
- This file is free software; you can redistribute it and/or modify it
- under the same terms as the Perl 5 programming language system itself.
-
diff --git a/COPYRIGHT b/COPYRIGHT
index a02e70d..1a5e52c 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,21 +1,15 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: MooX-late
-Upstream-Contact: and Toby Inkster (TOBYINK) <tobyink@cpan.org>
+Upstream-Contact: Toby Inkster (TOBYINK) <tobyink@cpan.org>
Source: https://metacpan.org/release/MooX-late
-Files: CONTRIBUTING
- INSTALL
- LICENSE
- TODO
- examples/simple.pl
-Copyright: Unknown
-License: Unknown
-
-Files: t/01basic.t
+Files: README
+ lib/MooX/late.pm
+ t/01basic.t
t/02inflation.t
t/03invalid_tc.t
t/04arrayofattrs.t
-Copyright: This software is copyright (c) 2012-2013 by Toby Inkster.
+Copyright: This software is copyright (c) 2012-2014, 2019 by Toby Inkster.
License: GPL-1.0+ or Artistic-1.0
Files: t/05haveimissedanytypes.t
@@ -29,9 +23,16 @@ Files: Changes
META.json
META.yml
doap.ttl
-Copyright: Copyright 2014 Toby Inkster.
+Copyright: Copyright 2019 Toby Inkster.
License: GPL-1.0+ or Artistic-1.0
+Files: INSTALL
+ LICENSE
+ TODO
+ examples/simple.pl
+Copyright: Unknown
+License: Unknown
+
Files: COPYRIGHT
CREDITS
SIGNATURE
@@ -43,20 +44,15 @@ Files: Makefile.PL
Copyright: Copyright 2013 Toby Inkster.
License: GPL-1.0+ or Artistic-1.0
-Files: README
- lib/MooX/late.pm
-Copyright: This software is copyright (c) 2012-2014 by Toby Inkster.
-License: GPL-1.0+ or Artistic-1.0
-
License: Artistic-1.0
- This software is Copyright (c) 2014 by the copyright holder(s).
+ This software is Copyright (c) 2019 by the copyright holder(s).
This is free software, licensed under:
The Artistic License 1.0
License: GPL-1.0
- This software is Copyright (c) 2014 by the copyright holder(s).
+ This software is Copyright (c) 2019 by the copyright holder(s).
This is free software, licensed under:
diff --git a/Changes b/Changes
index 806e06b..ad13038 100644
--- a/Changes
+++ b/Changes
@@ -6,7 +6,12 @@ Home page: <https://metacpan.org/release/MooX-late>
Bug tracker: <http://rt.cpan.org/Dist/Display.html?Queue=MooX-late>
Maintainer: Toby Inkster (TOBYINK) <tobyink@cpan.org>
-0.015 2013-08-18
+0.016 2019-11-18
+
+ [ Test Suite ]
+ - Get test suite passing and stuff.
+
+0.015 2014-08-18
[ Documentation ]
- Make the list of stuff this module does more concise.
diff --git a/LICENSE b/LICENSE
index 351778e..2964e18 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-This software is copyright (c) 2014 by Toby Inkster.
+This software is copyright (c) 2019 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.
@@ -12,7 +12,7 @@ b) the "Artistic License"
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2014 by Toby Inkster.
+This software is Copyright (c) 2019 by Toby Inkster.
This is free software, licensed under:
@@ -272,7 +272,7 @@ That's all there is to it!
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2014 by Toby Inkster.
+This software is Copyright (c) 2019 by Toby Inkster.
This is free software, licensed under:
diff --git a/MANIFEST b/MANIFEST
index 03a8783..3c90998 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,3 @@
-CONTRIBUTING
COPYRIGHT
CREDITS
Changes
diff --git a/META.json b/META.json
index b53522a..ff991c8 100644
--- a/META.json
+++ b/META.json
@@ -1,11 +1,10 @@
{
"abstract" : "easily translate Moose code to Moo",
"author" : [
- "Toby Inkster (TOBYINK) <tobyink@cpan.org>",
- ""
+ "Toby Inkster (TOBYINK) <tobyink@cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Inkt::Profile::TOBYINK version 0.016, CPAN::Meta::Converter version 2.140640",
+ "generated_by" : "Dist::Inkt::Profile::TOBYINK version 0.024, CPAN::Meta::Converter version 2.150010",
"keywords" : [],
"license" : [
"perl_5"
@@ -37,7 +36,8 @@
},
"requires" : {
"Moo" : "1.006000",
- "Type::Utils" : "1.000001"
+ "Type::Utils" : "1.000001",
+ "perl" : "5.008003"
},
"suggests" : {
"MooX" : "0"
@@ -54,16 +54,15 @@
"provides" : {
"MooX::late" : {
"file" : "lib/MooX/late.pm",
- "version" : "0.015"
+ "version" : "0.016"
},
"MooX::late::DefinitionContext" : {
"file" : "lib/MooX/late.pm",
- "version" : "0.015"
+ "version" : "0.016"
}
},
"release_status" : "stable",
"resources" : {
- "X_identifier" : "http://purl.org/NET/cpan-uri/dist/MooX-late/project",
"bugtracker" : {
"web" : "http://rt.cpan.org/Dist/Display.html?Queue=MooX-late"
},
@@ -75,7 +74,10 @@
"type" : "git",
"url" : "git://github.com/tobyink/p5-moox-late.git",
"web" : "https://github.com/tobyink/p5-moox-late"
- }
+ },
+ "x_identifier" : "http://purl.org/NET/cpan-uri/dist/MooX-late/project"
},
- "version" : "0.015"
+ "version" : "0.016",
+ "x_serialization_backend" : "JSON::PP version 2.27400_02",
+ "x_static_install" : 1
}
diff --git a/META.yml b/META.yml
index 852e731..fb79c0e 100644
--- a/META.yml
+++ b/META.yml
@@ -2,7 +2,6 @@
abstract: 'easily translate Moose code to Moo'
author:
- 'Toby Inkster (TOBYINK) <tobyink@cpan.org>'
- - unknown
build_requires:
Test::Fatal: '0.010'
Test::More: '0.96'
@@ -10,7 +9,7 @@ build_requires:
configure_requires:
ExtUtils::MakeMaker: '6.17'
dynamic_config: 0
-generated_by: 'Dist::Inkt::Profile::TOBYINK version 0.016, CPAN::Meta::Converter version 2.140640'
+generated_by: 'Dist::Inkt::Profile::TOBYINK version 0.024, CPAN::Meta::Converter version 2.150010'
keywords: []
license: perl
meta-spec:
@@ -28,19 +27,22 @@ optional_features: {}
provides:
MooX::late:
file: lib/MooX/late.pm
- version: '0.015'
+ version: '0.016'
MooX::late::DefinitionContext:
file: lib/MooX/late.pm
- version: '0.015'
+ version: '0.016'
recommends:
MooX::HandlesVia: '0.001004'
requires:
Moo: '1.006000'
Type::Utils: '1.000001'
+ perl: '5.008003'
resources:
- X_identifier: http://purl.org/NET/cpan-uri/dist/MooX-late/project
+ Identifier: http://purl.org/NET/cpan-uri/dist/MooX-late/project
bugtracker: http://rt.cpan.org/Dist/Display.html?Queue=MooX-late
homepage: https://metacpan.org/release/MooX-late
license: http://dev.perl.org/licenses/
repository: git://github.com/tobyink/p5-moox-late.git
-version: '0.015'
+version: '0.016'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
+x_static_install: 1
diff --git a/Makefile.PL b/Makefile.PL
index 92ed2f8..e838691 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -4,50 +4,51 @@ use ExtUtils::MakeMaker 6.17;
my $EUMM = eval( $ExtUtils::MakeMaker::VERSION );
my $meta = {
- "abstract" => "easily translate Moose code to Moo",
- "author" => ["Toby Inkster (TOBYINK) <tobyink\@cpan.org>", "unknown"],
- "dynamic_config" => 0,
- "generated_by" => "Dist::Inkt::Profile::TOBYINK version 0.016, CPAN::Meta::Converter version 2.140640",
- "keywords" => [],
- "license" => ["perl_5"],
- "meta-spec" => {
- url => "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- version => 2,
- },
- "name" => "MooX-late",
- "no_index" => { directory => ["eg", "examples", "inc", "t", "xt"] },
- "prereqs" => {
- configure => { requires => { "ExtUtils::MakeMaker" => 6.17 } },
- runtime => {
- recommends => { "MooX::HandlesVia" => 0.001004 },
- requires => { "Moo" => "1.006000", "Type::Utils" => 1.000001 },
- suggests => { MooX => 0 },
+ "abstract" => "easily translate Moose code to Moo",
+ "author" => ["Toby Inkster (TOBYINK) <tobyink\@cpan.org>"],
+ "dynamic_config" => 0,
+ "generated_by" => "Dist::Inkt::Profile::TOBYINK version 0.024, CPAN::Meta::Converter version 2.150010",
+ "keywords" => [],
+ "license" => ["perl_5"],
+ "meta-spec" => {
+ url => "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ version => 2,
},
- test => {
- requires => {
- "Test::Fatal" => "0.010",
- "Test::More" => 0.96,
- "Test::Requires" => 0.06,
+ "name" => "MooX-late",
+ "no_index" => { directory => ["eg", "examples", "inc", "t", "xt"] },
+ "prereqs" => {
+ configure => { requires => { "ExtUtils::MakeMaker" => 6.17 } },
+ runtime => {
+ recommends => { "MooX::HandlesVia" => 0.001004 },
+ requires => { "Moo" => "1.006000", "perl" => 5.008003, "Type::Utils" => 1.000001 },
+ suggests => { MooX => 0 },
},
+ test => {
+ requires => {
+ "Test::Fatal" => "0.010",
+ "Test::More" => 0.96,
+ "Test::Requires" => 0.06,
+ },
+ },
+ },
+ "provides" => {
+ "MooX::late" => { file => "lib/MooX/late.pm", version => 0.016 },
+ "MooX::late::DefinitionContext" => { file => "lib/MooX/late.pm", version => 0.016 },
+ },
+ "release_status" => "stable",
+ "resources" => {
+ bugtracker => { web => "http://rt.cpan.org/Dist/Display.html?Queue=MooX-late" },
+ homepage => "https://metacpan.org/release/MooX-late",
+ license => ["http://dev.perl.org/licenses/"],
+ repository => {
+ type => "git",
+ url => "git://github.com/tobyink/p5-moox-late.git",
+ web => "https://github.com/tobyink/p5-moox-late",
+ },
+ x_identifier => "http://purl.org/NET/cpan-uri/dist/MooX-late/project",
},
- },
- "provides" => {
- "MooX::late" => { file => "lib/MooX/late.pm", version => 0.015 },
- "MooX::late::DefinitionContext" => { file => "lib/MooX/late.pm", version => 0.015 },
- },
- "release_status" => "stable",
- "resources" => {
- bugtracker => { web => "http://rt.cpan.org/Dist/Display.html?Queue=MooX-late" },
- homepage => "https://metacpan.org/release/MooX-late",
- license => ["http://dev.perl.org/licenses/"],
- repository => {
- type => "git",
- url => "git://github.com/tobyink/p5-moox-late.git",
- web => "https://github.com/tobyink/p5-moox-late",
- },
- X_identifier => "http://purl.org/NET/cpan-uri/dist/MooX-late/project",
- },
- "version" => 0.015,
+ "version" => 0.016,
+ "x_static_install" => 1,
};
my %dynamic_config;
diff --git a/README b/README
index c93c34f..968d56c 100644
--- a/README
+++ b/README
@@ -99,7 +99,7 @@ AUTHOR
Toby Inkster <tobyink@cpan.org>.
COPYRIGHT AND LICENCE
- This software is copyright (c) 2012-2014 by Toby Inkster.
+ This software is copyright (c) 2012-2014, 2019 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.
diff --git a/SIGNATURE b/SIGNATURE
index 9e6989e..a59f40a 100644
--- a/SIGNATURE
+++ b/SIGNATURE
@@ -1,5 +1,5 @@
This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.73.
+signed via the Module::Signature module, version 0.83.
To verify the content in this distribution, first make sure you have
Module::Signature installed, then type:
@@ -14,34 +14,32 @@ not run its Makefile.PL or Build.PL.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-SHA1 33317486c4fa2cf7fec85bf92ed38ac0f64233a0 CONTRIBUTING
-SHA1 10a180a41f91e5461699b5a32d83af4eb2019063 COPYRIGHT
-SHA1 502c559978c40e9248b93b179985933644ebfca1 CREDITS
-SHA1 d540676247c6223ce63af2e24dd27ec597172804 Changes
-SHA1 4b001f59d6016da8f1dd32e32c92340d098f4e4d INSTALL
-SHA1 34f5e12514b91055de4b164a1f2327ef5c30ba53 LICENSE
-SHA1 116b15d3035daeef65599f9c3d17da12a8a16b6e MANIFEST
-SHA1 95d62b7d820562b9cab86d1ef25e85e71b481bf1 META.json
-SHA1 f1b3c39140ce0efa4863837742633fc63b563a06 META.yml
-SHA1 5f987fbb0941e6958dfe94859126be66ee4f3a5a Makefile.PL
-SHA1 848b6a996d0e479d6cc8d279214891df84843e44 README
-SHA1 82a5dbef757dbba311ab59332cd5c3092dc1dc4a TODO
-SHA1 19114c43d58f7b89287f77b0a2318ea72d7d9983 dist.ini
-SHA1 0f0783dd1b2c74f19c23c34f224ef959b45d5c4b doap.ttl
-SHA1 6c115a020133c60ececeae3b2fde21abdcb83179 examples/simple.pl
-SHA1 eb8f9f75bbec3fce01fae54dec155d3189867439 lib/MooX/late.pm
-SHA1 f8833de7f2ab9f1d40f29c32943da5d513d7e623 t/01basic.t
-SHA1 888f8a494a4d43c821e6bc581d59f577859b0c5d t/02inflation.t
-SHA1 ff6dd69d308062933193712fe88abad29490838c t/03invalid_tc.t
-SHA1 904411100b6e3c06629020bb2bc52eeca3afa802 t/04arrayofattrs.t
-SHA1 de4ffc50f992e994565223480950ced4456976e2 t/05haveimissedanytypes.t
-SHA1 7a6b642014d821f39bca5c5570b17ed8805843e1 t/06handlesvia.t
-SHA1 5367c78be6846f7f71fcdbbc77a4a9495e024451 t/07coerce1.t
-SHA1 066a4a083faf2ec211c72d346e0ab7ad6a710f95 t/08doesrole.t
+SHA256 5ed9b01ced77286884583d626c29ab47e4856b45be35ea82ade064b86a01fd3a COPYRIGHT
+SHA256 35795e85f02fc4eec1af1364cf51526995f8c5adea2d2e8ab3d611b8c70d99e6 CREDITS
+SHA256 6fba3c4d1a33c542c7d4a680bde61cef8419b6ca5428e569f81733a13ecb721b Changes
+SHA256 a98b2208794d53deb2af287f35deed21647371ae78af4cbf3f6cd945f6d90b22 INSTALL
+SHA256 5c791221f0dde289392a38a5921b66d4a1be8248cc64ee6de15f3c2426892673 LICENSE
+SHA256 e79950c0837b90af65b83fef54d7b9fb48021a7e52a31ccff04409c5b46e3da8 MANIFEST
+SHA256 8a282c2954cc834633d4c6d4c9b5de93b6e13703705ffad97e6a2d7231e3f1fd META.json
+SHA256 eadfbf93c7b70ee7a4578ff38c492f2084c27ed24c8980ae7dffa75c768b4d98 META.yml
+SHA256 471dd11b88fa726ab20bcd10dce0d4dbbc1212389eccfe08fefc514e1b5fbdff Makefile.PL
+SHA256 338b064239d561567dd44d8fa1f25479499be40e50549b75f718a508cd41de80 README
+SHA256 ff79e4feb9cfeddbc099115b77be1abf2e240dba0f4ec554460173e0210da32f TODO
+SHA256 40039583fc614bf541b8baf55486d94d0657de005e6f65eddf2380cca65d66a4 dist.ini
+SHA256 d46d43108444fc4bcbeb37e42bb59f31061e035d9673e5eda153c33edd0b8e81 doap.ttl
+SHA256 fd5a86026a4b9164df263f73105d3009c0b40a85add10dfe1758c98f64fcb0e8 examples/simple.pl
+SHA256 b0417bba758541a2fc0a91b6f8061a5fe6c05e378cc8c2c106ca5efcba079978 lib/MooX/late.pm
+SHA256 90f11804e31842863805fc0fa7269e72e35fb70f32adc02d98345354a54db4a7 t/01basic.t
+SHA256 2e70beacdcf5c0c90a79e0983a22a43ca6a0ab149f21c1b56929a175820b9abc t/02inflation.t
+SHA256 1dad209317d5c2a6b42824228e7bd1c71b88268b4a716f822ffff304e4e04186 t/03invalid_tc.t
+SHA256 230ac3a8904b187263b8f612eec014b5c36d90c7e3e4192aa1a8eda51df046d1 t/04arrayofattrs.t
+SHA256 12f16b2870e2704ea6145e8de3e9b8b9a3c795347034bae58dfbf8624bf9c132 t/05haveimissedanytypes.t
+SHA256 519537ef84d80d1642f140596313765307e9e677940e5fd0c00f0b6fa6b03bd9 t/06handlesvia.t
+SHA256 b9aa6f1471d2c26c029379d22a13f975a73551ff6efa2811894f98ebef867fdb t/07coerce1.t
+SHA256 8ccdb0f39149ba22a08198b4dfc957b5b7cad3e1fc0674b748b5babdfc90b28a t/08doesrole.t
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1
-iEYEARECAAYFAlPx7dQACgkQzr+BKGoqfTnS2gCffhbs29dRF02DkXg+eMRqw1MU
-ZhIAmwR7bblwp6hX4jU76hcv3e+MGE/5
-=kcLS
+iF0EARECAB0WIQRVJKj/4+s6z4WzNujOv4Eoaip9OQUCXdLFKQAKCRDOv4Eoaip9
+OY9qAJ9ZwUtNxzzz/C9yZeC2Kj3LPMIlnACdGYw0O6OINOI2p9jh40oN45F4Z7o=
+=6s70
-----END PGP SIGNATURE-----
diff --git a/doap.ttl b/doap.ttl
index 79b6131..4ae5fdf 100644
--- a/doap.ttl
+++ b/doap.ttl
@@ -16,7 +16,7 @@
doap-deps:runtime-recommendation [
doap-deps:on "MooX::HandlesVia 0.001004"^^doap-deps:CpanId;
];
- doap-deps:runtime-requirement [ doap-deps:on "Moo 1.006000"^^doap-deps:CpanId ], [
+ doap-deps:runtime-requirement [ doap-deps:on "perl 5.008003"^^doap-deps:CpanId ], [ doap-deps:on "Moo 1.006000"^^doap-deps:CpanId ], [
doap-deps:on "Type::Utils 1.000001"^^doap-deps:CpanId;
];
doap-deps:runtime-suggestion [ doap-deps:on "MooX"^^doap-deps:CpanId ];
@@ -32,7 +32,7 @@
doap:maintainer <http://purl.org/NET/cpan-uri/person/tobyink>;
doap:name "MooX-late";
doap:programming-language "Perl";
- doap:release <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-001>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-002>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-003>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-004>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-005>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-006>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-007>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-008>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-009>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-010>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-011>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-012>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-013>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-014>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-015>;
+ doap:release <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-001>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-002>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-003>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-004>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-005>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-006>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-007>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-008>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-009>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-010>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-011>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-012>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-013>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-014>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-015>, <http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-016>;
doap:repository [
a doap:GitRepository;
doap:browse <https://github.com/tobyink/p5-moox-late>;
@@ -269,7 +269,7 @@
<http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-015>
a doap:Version;
dc:identifier "MooX-late-0.015"^^xsd:string;
- dc:issued "2013-08-18"^^xsd:date;
+ dc:issued "2014-08-18"^^xsd:date;
doap-changeset:changeset [
doap-changeset:item [
a doap-changeset:Documentation;
@@ -292,6 +292,20 @@
doap:file-release <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/MooX-late-0.015.tar.gz>;
doap:revision "0.015"^^xsd:string.
+<http://purl.org/NET/cpan-uri/dist/MooX-late/v_0-016>
+ a doap:Version;
+ dc:identifier "MooX-late-0.016"^^xsd:string;
+ dc:issued "2019-11-18"^^xsd:date;
+ doap-changeset:changeset [
+ doap-changeset:item [
+ a doap-changeset:Tests;
+ rdfs:label "Get test suite passing and stuff.";
+ ];
+ ];
+ doap-changeset:released-by <http://purl.org/NET/cpan-uri/person/tobyink>;
+ doap:file-release <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/MooX-late-0.016.tar.gz>;
+ doap:revision "0.016"^^xsd:string.
+
<http://purl.org/NET/cpan-uri/person/shlomif>
a foaf:Person;
foaf:nick "SHLOMIF";
diff --git a/lib/MooX/late.pm b/lib/MooX/late.pm
index 856385c..d26ed13 100644
--- a/lib/MooX/late.pm
+++ b/lib/MooX/late.pm
@@ -4,7 +4,7 @@ use warnings;
package MooX::late;
our $AUTHORITY = 'cpan:TOBYINK';
-our $VERSION = '0.015';
+our $VERSION = '0.016';
use Moo qw( );
use Carp qw( carp croak );
@@ -14,7 +14,7 @@ use Module::Runtime qw( is_module_name );
BEGIN {
package MooX::late::DefinitionContext;
our $AUTHORITY = 'cpan:TOBYINK';
- our $VERSION = '0.015';
+ our $VERSION = '0.016';
use Moo;
use overload (
@@ -433,7 +433,7 @@ Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
=head1 COPYRIGHT AND LICENCE
-This software is copyright (c) 2012-2014 by Toby Inkster.
+This software is copyright (c) 2012-2014, 2019 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.
diff --git a/t/01basic.t b/t/01basic.t
index 3f1c223..e54447d 100644
--- a/t/01basic.t
+++ b/t/01basic.t
@@ -8,7 +8,7 @@ Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
=head1 COPYRIGHT AND LICENCE
-This software is copyright (c) 2012-2013 by Toby Inkster.
+This software is copyright (c) 2012-2014, 2019 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.
diff --git a/t/02inflation.t b/t/02inflation.t
index 2d4c4cb..cdb7312 100644
--- a/t/02inflation.t
+++ b/t/02inflation.t
@@ -9,7 +9,7 @@ Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
=head1 COPYRIGHT AND LICENCE
-This software is copyright (c) 2012-2013 by Toby Inkster.
+This software is copyright (c) 2012-2014, 2019 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.
diff --git a/t/03invalid_tc.t b/t/03invalid_tc.t
index e006981..40a3d6d 100644
--- a/t/03invalid_tc.t
+++ b/t/03invalid_tc.t
@@ -2,13 +2,15 @@
Check that we get error messages about unrecognisable type constraints.
+Test skipped on Perl < 5.14 because idek.
+
=head1 AUTHOR
Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
=head1 COPYRIGHT AND LICENCE
-This software is copyright (c) 2012-2013 by Toby Inkster.
+This software is copyright (c) 2012-2014, 2019 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.
@@ -17,21 +19,24 @@ the same terms as the Perl 5 programming language system itself.
use strict;
use warnings;
-
use Test::More;
+use Test::Requires '5.014000';
+use Test::Fatal;
-$@ = undef;
-ok !eval q {
-# line 1 "embedded"
+my $e;
+{
package Foo;
use Moo;
use MooX::late;
- has foo => (is => 'ro', isa => 'X Y Z', required => 0);
- 1;
+ $e = ::exception {
+ has foo => (is => 'ro', isa => 'X Y Z', required => 0);
+ };
};
+diag($e);
+
like(
- $@,
+ $e,
qr{^Unexpected tail on type expression: Y Z},
'error message looks ok',
);
diff --git a/t/04arrayofattrs.t b/t/04arrayofattrs.t
index fc664d6..ce3058e 100644
--- a/t/04arrayofattrs.t
+++ b/t/04arrayofattrs.t
@@ -13,7 +13,7 @@ Toby Inkster E<lt>tobyink@cpan.orgE<gt>.
=head1 COPYRIGHT AND LICENCE
-This software is copyright (c) 2012-2013 by Toby Inkster.
+This software is copyright (c) 2012-2014, 2019 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.