Hello community,

here is the log from the commit of package perl-IRI for openSUSE:Factory 
checked in at 2016-04-28 16:55:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-IRI (Old)
 and      /work/SRC/openSUSE:Factory/.perl-IRI.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-IRI"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-IRI/perl-IRI.changes        2015-03-25 
21:33:29.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-IRI.new/perl-IRI.changes   2016-04-28 
16:59:07.000000000 +0200
@@ -1,0 +2,15 @@
+Tue Apr 19 16:04:56 UTC 2016 - [email protected]
+
+- update to version 0.0005
+ - (Addition) Add ability to lazily parse IRI components.
+ - (Addition) Add cpanfile, with Module::Install deps (#5 from Alberto
+   Simões).
+ - (Addition) Added Try::Tiny to list of build requirements (github issue
+   #3).
+ - (Update) Improve performance of IRI component parsing.
+ - (Update) Update POD coverage test to ignore private attributes (#6 from
+   Alberto Simões).
+ - (Update) Updated required version of Type::Tiny to 0.008 to support use
+   of InstanceOf (#7 from Alexandr Ciornii).
+
+-------------------------------------------------------------------

Old:
----
  IRI-0.004.tar.gz

New:
----
  IRI-0.005.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-IRI.spec ++++++
--- /var/tmp/diff_new_pack.IWq6HB/_old  2016-04-28 16:59:09.000000000 +0200
+++ /var/tmp/diff_new_pack.IWq6HB/_new  2016-04-28 16:59:09.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-IRI
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           perl-IRI
-Version:        0.004
+Version:        0.005
 Release:        0
 %define cpan_name IRI
 Summary:        Internationalized Resource Identifiers
@@ -34,11 +34,11 @@
 BuildRequires:  perl(MooX::HandlesVia)
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(Try::Tiny)
-BuildRequires:  perl(Type::Tiny)
+BuildRequires:  perl(Type::Tiny) >= 0.008
 BuildRequires:  perl(URI)
 Requires:       perl(Moo)
 Requires:       perl(MooX::HandlesVia)
-Requires:       perl(Type::Tiny)
+Requires:       perl(Type::Tiny) >= 0.008
 %{perl_requires}
 
 %description

++++++ IRI-0.004.tar.gz -> IRI-0.005.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/Changes new/IRI-0.005/Changes
--- old/IRI-0.004/Changes       2014-09-25 16:30:10.000000000 +0200
+++ new/IRI-0.005/Changes       2016-04-04 17:04:06.000000000 +0200
@@ -0,0 +1,38 @@
+IRI
+===
+
+Created:      2014-07-23
+Home page:    <http://search.cpan.org/dist/IRI/>
+Bug tracker:  <http://rt.cpan.org/Dist/Display.html?Queue=IRI>
+Maintainer:   Gregory Todd Williams <mailto:[email protected]>
+
+0.005  2016-04-04
+
+ - (Addition) Add ability to lazily parse IRI components.
+ - (Addition) Add cpanfile, with Module::Install deps (#5 from Alberto
+   Simões).
+ - (Addition) Added Try::Tiny to list of build requirements (github issue
+   #3).
+ - (Update) Improve performance of IRI component parsing.
+ - (Update) Update POD coverage test to ignore private attributes (#6 from
+   Alberto Simões).
+ - (Update) Updated required version of Type::Tiny to 0.008 to support use
+   of InstanceOf (#7 from Alexandr Ciornii).
+
+0.004  2014-09-25
+
+ - (Update) Changed IRI to use old-style VERSION declaration.
+ - (Update) Moved modules from Moose to Moo.
+
+0.003  2014-08-11
+
+ - (Addition) Added coercion from Str to IRI.
+
+0.002  2014-08-09
+
+ - (Addition) Added as_string method.
+
+0.001  2014-08-02
+
+ - (Addition) First release.
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/Changes.ttl new/IRI-0.005/Changes.ttl
--- old/IRI-0.004/Changes.ttl   2014-09-25 16:29:16.000000000 +0200
+++ new/IRI-0.005/Changes.ttl   2016-04-04 06:20:44.000000000 +0200
@@ -15,6 +15,25 @@
        .
 
 
+<http://kasei.us/code/files/IRI-0.005.tar.gz>
+       dcterms:isVersionOf my:project ;
+       dcterms:replaces    <http://kasei.us/code/files/IRI-0.004.tar.gz> ;
+       
+       doap:Version [
+               doap:revision   "0.005" ;
+               doap:created    "2016-04-04" ;
+       ] ;
+       asc:changes [
+               asc:addition    "Add ability to lazily parse IRI components." ;
+               asc:addition    "Add cpanfile, with Module::Install deps (#5 
from Alberto Simões)." ;
+               asc:addition    "Added Try::Tiny to list of build requirements 
(github issue #3)." ;
+               asc:update              "Improve performance of IRI component 
parsing." ;
+               asc:update              "Updated required version of Type::Tiny 
to 0.008 to support use of InstanceOf (#7 from Alexandr Ciornii)." ;
+               asc:update              "Update POD coverage test to ignore 
private attributes (#6 from Alberto Simões)." ;
+       ] ;
+       .
+
+
 <http://kasei.us/code/files/IRI-0.004.tar.gz>
        dcterms:isVersionOf my:project ;
        dcterms:replaces    <http://kasei.us/code/files/IRI-0.003.tar.gz> ;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/Changes.xml new/IRI-0.005/Changes.xml
--- old/IRI-0.004/Changes.xml   2014-09-25 16:30:10.000000000 +0200
+++ new/IRI-0.005/Changes.xml   2016-04-04 17:04:06.000000000 +0200
@@ -1,3 +1,101 @@
 <?xml version="1.0" encoding="utf-8"?>
 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; 
xmlns:dbug="http://ontologi.es/doap-bugs#"; xmlns:dc="http://purl.org/dc/terms/"; 
xmlns:dcs="http://ontologi.es/doap-changeset#"; 
xmlns:doap="http://usefulinc.com/ns/doap#"; 
xmlns:foaf="http://xmlns.com/foaf/0.1/"; 
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";>
+<rdf:Description rdf:nodeID="r1459782246r0">
+       <doap:created>2016-04-04</doap:created>
+       <doap:revision>0.005</doap:revision>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/"; 
rdf:nodeID="r1459782246r1">
+       <ns1:addition>Add ability to lazily parse IRI components.</ns1:addition>
+       <ns1:addition>Add cpanfile, with Module::Install deps (#5 from Alberto 
Simões).</ns1:addition>
+       <ns1:addition>Added Try::Tiny to list of build requirements (github 
issue #3).</ns1:addition>
+       <ns1:update>Improve performance of IRI component parsing.</ns1:update>
+       <ns1:update>Update POD coverage test to ignore private attributes (#6 
from Alberto Simões).</ns1:update>
+       <ns1:update>Updated required version of Type::Tiny to 0.008 to support 
use of InstanceOf (#7 from Alexandr Ciornii).</ns1:update>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r1459782246r2">
+       <doap:created>2014-09-25</doap:created>
+       <doap:revision>0.004</doap:revision>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/"; 
rdf:nodeID="r1459782246r3">
+       <ns1:update>Changed IRI to use old-style VERSION 
declaration.</ns1:update>
+       <ns1:update>Moved modules from Moose to Moo.</ns1:update>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r1459782246r4">
+       <doap:created>2014-08-11</doap:created>
+       <doap:revision>0.003</doap:revision>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/"; 
rdf:nodeID="r1459782246r5">
+       <ns1:addition>Added coercion from Str to IRI.</ns1:addition>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r1459782246r6">
+       <doap:created>2014-08-09</doap:created>
+       <doap:revision>0.002</doap:revision>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/"; 
rdf:nodeID="r1459782246r7">
+       <ns1:addition>Added as_string method.</ns1:addition>
+</rdf:Description>
+<rdf:Description rdf:nodeID="r1459782246r8">
+       <doap:created>2014-08-02</doap:created>
+       <doap:revision>0.001</doap:revision>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/"; 
rdf:nodeID="r1459782246r9">
+       <ns1:addition>First release.</ns1:addition>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://purl.org/dc/elements/1.1/"; 
rdf:about="file:///Users/greg/data/prog/git/perl-iri/Changes.ttl">
+       <ns1:description>Changes for IRI</ns1:description>
+       <ns1:subject 
rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/>
+       <ns1:title>Changes</ns1:title>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://www.w3.org/2002/07/owl#"; 
rdf:about="http://kasei.us/about/foaf.xrdf#greg";>
+       <rdf:type rdf:resource="http://xmlns.com/foaf/0.1/Person"/>
+       <ns1:sameAs 
rdf:resource="http://purl.org/NET/cpan-uri/person/gwilliams"/>
+       <foaf:homepage rdf:resource="http://kasei.us/"/>
+       <foaf:mbox rdf:resource="mailto:[email protected]"/>
+       <foaf:name>Gregory Todd Williams</foaf:name>
+       <foaf:page rdf:resource="http://search.cpan.org/~gwilliams/"/>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/"; 
rdf:about="http://kasei.us/code/files/IRI-0.001.tar.gz";>
+       <ns1:changes rdf:nodeID="r1459782246r9"/>
+       <dc:isVersionOf 
rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/>
+       <doap:Version rdf:nodeID="r1459782246r8"/>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/"; 
rdf:about="http://kasei.us/code/files/IRI-0.002.tar.gz";>
+       <ns1:changes rdf:nodeID="r1459782246r7"/>
+       <dc:isVersionOf 
rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/>
+       <dc:replaces 
rdf:resource="http://kasei.us/code/files/IRI-0.001.tar.gz"/>
+       <doap:Version rdf:nodeID="r1459782246r6"/>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/"; 
rdf:about="http://kasei.us/code/files/IRI-0.003.tar.gz";>
+       <ns1:changes rdf:nodeID="r1459782246r5"/>
+       <dc:isVersionOf 
rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/>
+       <dc:replaces 
rdf:resource="http://kasei.us/code/files/IRI-0.002.tar.gz"/>
+       <doap:Version rdf:nodeID="r1459782246r4"/>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/"; 
rdf:about="http://kasei.us/code/files/IRI-0.004.tar.gz";>
+       <ns1:changes rdf:nodeID="r1459782246r3"/>
+       <dc:isVersionOf 
rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/>
+       <dc:replaces 
rdf:resource="http://kasei.us/code/files/IRI-0.003.tar.gz"/>
+       <doap:Version rdf:nodeID="r1459782246r2"/>
+</rdf:Description>
+<rdf:Description xmlns:ns1="http://aaronland.info/ns/changefile/"; 
rdf:about="http://kasei.us/code/files/IRI-0.005.tar.gz";>
+       <ns1:changes rdf:nodeID="r1459782246r1"/>
+       <dc:isVersionOf 
rdf:resource="http://purl.org/NET/cpan-uri/dist/IRI/project"/>
+       <dc:replaces 
rdf:resource="http://kasei.us/code/files/IRI-0.004.tar.gz"/>
+       <doap:Version rdf:nodeID="r1459782246r0"/>
+</rdf:Description>
+<rdf:Description rdf:about="http://purl.org/NET/cpan-uri/dist/IRI/project";>
+       <doap:bug-database 
rdf:resource="http://rt.cpan.org/Dist/Display.html?Queue=IRI"/>
+       <doap:created 
rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2014-07-23</doap:created>
+       <doap:developer rdf:resource="http://kasei.us/about/foaf.xrdf#greg"/>
+       <doap:documenter rdf:resource="http://kasei.us/about/foaf.xrdf#greg"/>
+       <doap:download-page rdf:resource="http://search.cpan.org/dist/IRI/"/>
+       <doap:homepage rdf:resource="http://search.cpan.org/dist/IRI/"/>
+       <doap:license rdf:resource="http://dev.perl.org/licenses/"/>
+       <doap:maintainer rdf:resource="http://kasei.us/about/foaf.xrdf#greg"/>
+       <doap:name>IRI</doap:name>
+       <doap:programming-language>Perl</doap:programming-language>
+       <doap:shortdesc xml:lang="en">A Perl implementation of 
Internationalized Resource Identifiers (IRIs)</doap:shortdesc>
+       <doap:tester rdf:resource="http://kasei.us/about/foaf.xrdf#greg"/>
+       <rdf:type rdf:resource="http://usefulinc.com/ns/doap#Project"/>
+</rdf:Description>
 </rdf:RDF>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/META.yml new/IRI-0.005/META.yml
--- old/IRI-0.004/META.yml      2014-09-25 16:30:10.000000000 +0200
+++ new/IRI-0.005/META.yml      2016-04-04 17:04:06.000000000 +0200
@@ -6,12 +6,13 @@
 build_requires:
   ExtUtils::MakeMaker: 6.59
   Test::More: 0.88
+  Try::Tiny: 0
   URI: 0
 configure_requires:
   ExtUtils::MakeMaker: 6.59
 distribution_type: module
 dynamic_config: 1
-generated_by: 'Module::Install version 1.12'
+generated_by: 'Module::Install version 1.16'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,11 +26,11 @@
 requires:
   Moo: 0
   MooX::HandlesVia: 0
-  Type::Tiny: 0
+  Type::Tiny: 0.008
   perl: 5.14.0
 resources:
   bugtracker: https://github.com/kasei/perl-iri/issues
   homepage: http://search.cpan.org/dist/IRI/
   license: http://dev.perl.org/licenses/
   repository: http://github.com/kasei/perl-iri/
-version: '0.004'
+version: '0.005'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/Makefile.PL new/IRI-0.005/Makefile.PL
--- old/IRI-0.004/Makefile.PL   2014-09-23 21:46:50.000000000 +0200
+++ new/IRI-0.005/Makefile.PL   2016-02-18 16:19:06.000000000 +0100
@@ -9,12 +9,13 @@
 license                                'perl';
 
 build_requires         'Test::More'                            => 0.88;
+build_requires         'Try::Tiny'                                     => 0;
 
 perl_version           '5.014';
 
 requires                       'Moo'                                           
=> 0;
 requires                       'MooX::HandlesVia'                      => 0;
-requires                       'Type::Tiny'                            => 0;
+requires                       'Type::Tiny'                            => 
0.008; #InstanceOf
 build_requires         'URI'                                           => 0;
 
 resources(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/SIGNATURE new/IRI-0.005/SIGNATURE
--- old/IRI-0.004/SIGNATURE     2014-09-25 16:30:15.000000000 +0200
+++ new/IRI-0.005/SIGNATURE     2016-04-04 17:04:19.000000000 +0200
@@ -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.79.
 
 To verify the content in this distribution, first make sure you have
 Module::Signature installed, then type:
@@ -14,34 +14,34 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 Changes
-SHA1 aeb247f65ac81fba94a9fc640e5b41c250eddbbc Changes.ttl
-SHA1 b11936d525a7da21f77f2514f47682cf4e3f4cd6 Changes.xml
+SHA1 64edbed872e77e13b9d06f4ff053419ef4920334 Changes
+SHA1 b86e5a8d6746fd60ef9b23441afb06d8aebf264d Changes.ttl
+SHA1 f4215827c228b613eff4b30de807181f3546d17f Changes.xml
 SHA1 88a9956a698251e7037d96cf9091eb61793d5ab7 MANIFEST
-SHA1 746583a33e70cf4bcb29067ccf19aa15c5375103 META.yml
-SHA1 6847860ac260501589b9bd0c4b8766c6d5da6ad1 Makefile.PL
+SHA1 3795ed4c53eff06f1dbe4758e86fec72200b3d34 META.yml
+SHA1 95d160030f82e1c3313a717eeb3b7646b86cf11f Makefile.PL
 SHA1 1b080a25d9a14cf6498ee9ee1b713a352161bb9b README
-SHA1 9b5001bfa9cf8607b3b3935284d9253e0391c9f1 inc/Module/Install.pm
+SHA1 bce3c51bb369419603298064b78e14077b93af66 inc/Module/Install.pm
 SHA1 d001b4b9a48395a8c4134b234a0e1789138427c5 inc/Module/Install/AuthorTests.pm
-SHA1 cab0e564f9bdf658535f683aa197157e06d0dcea inc/Module/Install/Base.pm
-SHA1 a1559b5b3b40f68efbbd256f4fef85970891b3ae inc/Module/Install/Can.pm
+SHA1 fe220f215f645500ce8f14ff5e19d9a28692af56 inc/Module/Install/Base.pm
+SHA1 b56ed8e42c600e08007d152cf0b1438a7c3b7f6e inc/Module/Install/Can.pm
 SHA1 470809a1dbe03e197e74dde79c6af40b5f7f9b26 
inc/Module/Install/DOAPChangeSets.pm
-SHA1 f15c1ba85f6d52e70c48c64bf0752c90a4ad66f9 inc/Module/Install/Fetch.pm
-SHA1 eb48df8bafd07c6a862126d9b274df42b4395742 inc/Module/Install/Makefile.pm
-SHA1 95c73873c6c3cb7024614c225c53863e1e90c134 inc/Module/Install/Metadata.pm
-SHA1 f8b2ae3386f6ba26c33408968a953d450842eade inc/Module/Install/Win32.pm
-SHA1 f302bc703d76299cff243e5b44cecd61aac27b76 inc/Module/Install/WriteAll.pm
-SHA1 6f94da1143822ab7f2efafd166a76a9f4680afaa lib/IRI.pm
+SHA1 99c531a17a67ce5250df2ae151cc48c80d914cde inc/Module/Install/Fetch.pm
+SHA1 76efdca3603159e0ae0e18f19fe72a0211a69529 inc/Module/Install/Makefile.pm
+SHA1 2e33e87882d60db3913da6284dd5295e5315e18a inc/Module/Install/Metadata.pm
+SHA1 c830b819e61bda5eca077c6291293bba61b3b9f2 inc/Module/Install/Win32.pm
+SHA1 cb52b9d6f88d512d448a6f35ed0af0d1201a134b inc/Module/Install/WriteAll.pm
+SHA1 b238ba4351a50ab2a5988ce2b789c328773158d7 lib/IRI.pm
 SHA1 8239904ffc3b6705243167ccb7ed4da00d5d2543 t/00-simple.t
 SHA1 eec47266aeb7f5467481218e934c40cbd87d1188 t/bugs.t
 SHA1 49bf69502718d2931ede3fa80220628841d3ab2d t/coercion.t
-SHA1 8fce98e8ce4b5ef5ea5e50e366e4014a8b659e27 xt/pod-coverage.t
+SHA1 c179a0e5169b56dd5d6c8eae04cba68383158224 xt/pod-coverage.t
 SHA1 6387af7a5fde0747be5bc9ad2ec15ca9759bd95a xt/pod.t
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 Comment: GPGTools - http://gpgtools.org
 
-iEYEARECAAYFAlQkJvUACgkQhPK6VMqoyC0LegCeMPDqBesXuE4R3t61cwP1OB5A
-yewAoLfeSdRVdAh+VQOTkpYu4W9GfBUn
-=z7Ra
+iEYEARECAAYFAlcCgnEACgkQhPK6VMqoyC1SegCeI/363DIYYdH4+P/zZ9naG9Uj
+c1wAmgOnIDcyZjhWQMCOkM3ijxq3B7Xa
+=BVRa
 -----END PGP SIGNATURE-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/inc/Module/Install/Base.pm 
new/IRI-0.005/inc/Module/Install/Base.pm
--- old/IRI-0.004/inc/Module/Install/Base.pm    2014-09-25 16:30:10.000000000 
+0200
+++ new/IRI-0.005/inc/Module/Install/Base.pm    2016-04-04 17:04:06.000000000 
+0200
@@ -4,7 +4,7 @@
 use strict 'vars';
 use vars qw{$VERSION};
 BEGIN {
-       $VERSION = '1.12';
+       $VERSION = '1.16';
 }
 
 # Suspend handler for "redefined" warnings
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/inc/Module/Install/Can.pm 
new/IRI-0.005/inc/Module/Install/Can.pm
--- old/IRI-0.004/inc/Module/Install/Can.pm     2014-09-25 16:30:10.000000000 
+0200
+++ new/IRI-0.005/inc/Module/Install/Can.pm     2016-04-04 17:04:06.000000000 
+0200
@@ -8,7 +8,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-       $VERSION = '1.12';
+       $VERSION = '1.16';
        @ISA     = 'Module::Install::Base';
        $ISCORE  = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/inc/Module/Install/Fetch.pm 
new/IRI-0.005/inc/Module/Install/Fetch.pm
--- old/IRI-0.004/inc/Module/Install/Fetch.pm   2014-09-25 16:30:10.000000000 
+0200
+++ new/IRI-0.005/inc/Module/Install/Fetch.pm   2016-04-04 17:04:06.000000000 
+0200
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-       $VERSION = '1.12';
+       $VERSION = '1.16';
        @ISA     = 'Module::Install::Base';
        $ISCORE  = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/inc/Module/Install/Makefile.pm 
new/IRI-0.005/inc/Module/Install/Makefile.pm
--- old/IRI-0.004/inc/Module/Install/Makefile.pm        2014-09-25 
16:30:10.000000000 +0200
+++ new/IRI-0.005/inc/Module/Install/Makefile.pm        2016-04-04 
17:04:06.000000000 +0200
@@ -8,7 +8,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-       $VERSION = '1.12';
+       $VERSION = '1.16';
        @ISA     = 'Module::Install::Base';
        $ISCORE  = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/inc/Module/Install/Metadata.pm 
new/IRI-0.005/inc/Module/Install/Metadata.pm
--- old/IRI-0.004/inc/Module/Install/Metadata.pm        2014-09-25 
16:30:10.000000000 +0200
+++ new/IRI-0.005/inc/Module/Install/Metadata.pm        2016-04-04 
17:04:06.000000000 +0200
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-       $VERSION = '1.12';
+       $VERSION = '1.16';
        @ISA     = 'Module::Install::Base';
        $ISCORE  = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/inc/Module/Install/Win32.pm 
new/IRI-0.005/inc/Module/Install/Win32.pm
--- old/IRI-0.004/inc/Module/Install/Win32.pm   2014-09-25 16:30:10.000000000 
+0200
+++ new/IRI-0.005/inc/Module/Install/Win32.pm   2016-04-04 17:04:06.000000000 
+0200
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-       $VERSION = '1.12';
+       $VERSION = '1.16';
        @ISA     = 'Module::Install::Base';
        $ISCORE  = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/inc/Module/Install/WriteAll.pm 
new/IRI-0.005/inc/Module/Install/WriteAll.pm
--- old/IRI-0.004/inc/Module/Install/WriteAll.pm        2014-09-25 
16:30:10.000000000 +0200
+++ new/IRI-0.005/inc/Module/Install/WriteAll.pm        2016-04-04 
17:04:06.000000000 +0200
@@ -6,7 +6,7 @@
 
 use vars qw{$VERSION @ISA $ISCORE};
 BEGIN {
-       $VERSION = '1.12';
+       $VERSION = '1.16';
        @ISA     = qw{Module::Install::Base};
        $ISCORE  = 1;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/inc/Module/Install.pm 
new/IRI-0.005/inc/Module/Install.pm
--- old/IRI-0.004/inc/Module/Install.pm 2014-09-25 16:30:09.000000000 +0200
+++ new/IRI-0.005/inc/Module/Install.pm 2016-04-04 17:04:04.000000000 +0200
@@ -31,7 +31,7 @@
        # This is not enforced yet, but will be some time in the next few
        # releases once we can make sure it won't clash with custom
        # Module::Install extensions.
-       $VERSION = '1.12';
+       $VERSION = '1.16';
 
        # Storage for the pseudo-singleton
        $MAIN    = undef;
@@ -378,6 +378,7 @@
 sub _read {
        local *FH;
        open( FH, '<', $_[0] ) or die "open($_[0]): $!";
+       binmode FH;
        my $string = do { local $/; <FH> };
        close FH or die "close($_[0]): $!";
        return $string;
@@ -386,6 +387,7 @@
 sub _read {
        local *FH;
        open( FH, "< $_[0]"  ) or die "open($_[0]): $!";
+       binmode FH;
        my $string = do { local $/; <FH> };
        close FH or die "close($_[0]): $!";
        return $string;
@@ -416,6 +418,7 @@
 sub _write {
        local *FH;
        open( FH, '>', $_[0] ) or die "open($_[0]): $!";
+       binmode FH;
        foreach ( 1 .. $#_ ) {
                print FH $_[$_] or die "print($_[0]): $!";
        }
@@ -425,6 +428,7 @@
 sub _write {
        local *FH;
        open( FH, "> $_[0]"  ) or die "open($_[0]): $!";
+       binmode FH;
        foreach ( 1 .. $#_ ) {
                print FH $_[$_] or die "print($_[0]): $!";
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/lib/IRI.pm new/IRI-0.005/lib/IRI.pm
--- old/IRI-0.004/lib/IRI.pm    2014-09-25 16:29:29.000000000 +0200
+++ new/IRI-0.005/lib/IRI.pm    2016-04-04 06:20:16.000000000 +0200
@@ -1,25 +1,29 @@
 =encoding utf8
-       
+
 =head1 NAME
 
 IRI - Internationalized Resource Identifiers
 
 =head1 VERSION
 
-This document describes IRI version 0.004
+This document describes IRI version 0.005
 
 =head1 SYNOPSIS
 
   use IRI;
   
-  my $i        = IRI->new(value => 'https://example.org:80/index#frag');
+  my $i = IRI->new(value => 'https://example.org:80/index#frag');
   say $i->scheme; # 'https'
   say $i->path; # '/index'
 
   my $base = IRI->new(value => "http://www.hestebedg\x{e5}rd.dk/";);
-  my $i        = IRI->new(value => '#frag', base => $base);
+  my $i = IRI->new(value => '#frag', base => $base);
   say $i->abs; # 'http://www.hestebedgård.dk/#frag'
 
+  # Defer parsing of the IRI until necessary
+  my $i = IRI->new(value => "http://www.hestebedg\x{e5}rd.dk/";, lazy => 1);
+  say $i->path; # path is parsed here
+
 =head1 DESCRIPTION
 
 The IRI module provides an object representation for Internationalized
@@ -27,6 +31,20 @@
 L<RFC 3987|http://www.ietf.org/rfc/rfc3987.txt> and supports their parsing,
 serializing, and base resolution.
 
+=head1 ATTRIBUTES
+
+=over 4
+
+=item C<< lazy >>
+
+A boolean value indicating whether the IRI should be parsed (and validated)
+during object construction (false), or parsed only when an IRI component is
+accessed (true). If no components are ever needed (e.g. an IRI is constructed
+with a C<< value >> and C<< value >> is the only accessor ever called), no
+parsing will take place.
+
+=back
+
 =head1 METHODS
 
 =over 4
@@ -61,16 +79,18 @@
 package IRI {
        use v5.14;
        use warnings;
-       our $VERSION    = '0.004';
+       our $VERSION    = '0.005';
        use Moo;
        use MooX::HandlesVia;
-       use Types::Standard qw(Str InstanceOf HashRef);
+       use Types::Standard qw(Str InstanceOf HashRef Bool);
        use Scalar::Util qw(blessed);
        
 #      class_type 'URI';
 #      coerce 'IRI' => from 'Str' => via { IRI->new( value => $_ ) };
 #      coerce 'IRI' => from 'URI' => via { IRI->new( value => $_->as_string ) 
};
 
+       has 'lazy' => (is => 'ro', isa => Bool, default => 0);
+       has '_initialized' => (is => 'rw', isa => Bool, default => 0, init_arg 
=> undef);
        has 'base' => (is => 'ro', isa => InstanceOf['IRI'], predicate => 
'has_base', coerce => sub {
                my $base        = shift;
                if (blessed($base)) {
@@ -115,9 +135,19 @@
        
        sub BUILD {
                my $self        = shift;
-               my $comp        = $self->_parse_components($self->value);
+               unless ($self->lazy) {
+                       my $comp        = 
$self->_parse_components($self->value);
+               }
        }
        
+       before [qw(components as_string abs resolved_components scheme host 
port user path fragment query)] => sub {
+               my $self        = shift;
+               if (not $self->_initialized) {
+#                      warn "Lazily initializing IRI";
+                       my $comp        = 
$self->_parse_components($self->value);
+               }
+       };
+
        # These regexes are (mostly) from the syntax grammar in RFC 3987
        my $HEXDIG                      = qr<[0-9A-F]>o;
        my $ALPHA                       = qr<[A-Za-z]>o;
@@ -211,7 +241,7 @@
                my $v           = shift;
                my $c;
                
-               if ($v =~ /^${IRIreference}$/) {
+               if ($v =~ /^${IRIreference}$/o) {
                        %$c = %+;
                } else {
                        use Data::Dumper;
@@ -220,6 +250,7 @@
                
                $c->{path}      //= '';
                $self->_set_components($c);
+               $self->_initialized(1);
        }
        
        sub _merge {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/IRI-0.004/xt/pod-coverage.t 
new/IRI-0.005/xt/pod-coverage.t
--- old/IRI-0.004/xt/pod-coverage.t     2014-07-01 18:30:46.000000000 +0200
+++ new/IRI-0.005/xt/pod-coverage.t     2016-02-03 06:42:54.000000000 +0100
@@ -8,10 +8,15 @@
 my @modules    = all_modules();
 foreach my $mod (@modules) {
        if (can_load( modules => { $mod => 0 } )) {
-               pod_coverage_ok($mod, { also_private => [ qr{^[A-Z][A-Z0-9_]*$} 
] });
+               pod_coverage_ok($mod, { 
+                       also_private => [ qw.base components has_base value., 
qr{^[A-Z][A-Z0-9_]*$} ] 
+               });
        } else {
                note("Ignoring $mod for POD coverage tests (failed to load)");
        }
 }
 
 done_testing();
+
+
+

++++++ fix-package.diff ++++++
--- /var/tmp/diff_new_pack.IWq6HB/_old  2016-04-28 16:59:09.000000000 +0200
+++ /var/tmp/diff_new_pack.IWq6HB/_new  2016-04-28 16:59:09.000000000 +0200
@@ -1,8 +1,8 @@
-Index: IRI-0.004/lib/IRI.pm
+Index: IRI-0.005/lib/IRI.pm
 ===================================================================
---- IRI-0.004.orig/lib/IRI.pm
-+++ IRI-0.004/lib/IRI.pm
-@@ -58,7 +58,8 @@ Returns the respective component of the
+--- IRI-0.005.orig/lib/IRI.pm
++++ IRI-0.005/lib/IRI.pm
+@@ -76,7 +76,8 @@ Returns the respective component of the
  
  =cut
  
@@ -11,4 +11,4 @@
 +{
        use v5.14;
        use warnings;
-       our $VERSION    = '0.004';
+       our $VERSION    = '0.005';


Reply via email to