Hello community, here is the log from the commit of package perl-Class-Tiny for openSUSE:Factory checked in at 2015-11-12 19:41:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Class-Tiny (Old) and /work/SRC/openSUSE:Factory/.perl-Class-Tiny.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Class-Tiny" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Class-Tiny/perl-Class-Tiny.changes 2015-02-10 20:22:42.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Class-Tiny.new/perl-Class-Tiny.changes 2015-11-12 19:41:31.000000000 +0100 @@ -1,0 +2,17 @@ +Wed Nov 11 09:49:33 UTC 2015 - [email protected] + +- updated to 1.004 + see /usr/share/doc/packages/perl-Class-Tiny/Changes + + 1.004 2015-10-30 10:33:59-04:00 America/New_York + + - No changes since 1.003 + + 1.003 2015-10-27 13:01:02-04:00 America/New_York (TRIAL RELEASE) + + [INTERNAL] + + - Refactored accessor generation to allow subclasses of Class::Tiny + to implement alternate accessors. + +------------------------------------------------------------------- Old: ---- Class-Tiny-1.001.tar.gz New: ---- Class-Tiny-1.004.tar.gz cpanspec.yml ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Class-Tiny.spec ++++++ --- /var/tmp/diff_new_pack.722J2U/_old 2015-11-12 19:41:32.000000000 +0100 +++ /var/tmp/diff_new_pack.722J2U/_new 2015-11-12 19:41:32.000000000 +0100 @@ -17,14 +17,15 @@ Name: perl-Class-Tiny -Version: 1.001 +Version: 1.004 Release: 0 %define cpan_name Class-Tiny Summary: Minimalist class construction License: Apache-2.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Class-Tiny/ -Source: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -34,7 +35,34 @@ %description This module offers a minimalist class construction kit in around 120 lines -of code. +of code. Here is a list of features: + + * defines attributes via import arguments + + * generates read-write accessors + + * supports lazy attribute defaults + + * supports custom accessors + + * superclass provides a standard 'new' constructor + + * 'new' takes a hash reference or list of key/value pairs + + * 'new' supports providing 'BUILDARGS' to customize constructor options + + * 'new' calls 'BUILD' for each class from parent to child + + * superclass provides a 'DESTROY' method + + * 'DESTROY' calls 'DEMOLISH' for each class from child to parent + +Multiple-inheritance is possible, with superclass order determined via +mro::get_linear_isa|mro/Functions. + +It uses no non-core modules for any recent Perl. On Perls older than v5.10 +it requires MRO::Compat. On Perls older than v5.14, it requires +Devel::GlobalDestruction. %prep %setup -q -n %{cpan_name}-%{version} @@ -53,6 +81,6 @@ %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes CONTRIBUTING.mkdn cpanfile LICENSE perlcritic.rc README tidyall.ini +%doc Changes CONTRIBUTING.mkdn LICENSE README %changelog ++++++ Class-Tiny-1.001.tar.gz -> Class-Tiny-1.004.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/Changes new/Class-Tiny-1.004/Changes --- old/Class-Tiny-1.001/Changes 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/Changes 2015-10-30 15:34:03.000000000 +0100 @@ -1,5 +1,16 @@ Revision history for Class-Tiny +1.004 2015-10-30 10:33:59-04:00 America/New_York + + - No changes since 1.003 + +1.003 2015-10-27 13:01:02-04:00 America/New_York (TRIAL RELEASE) + + [INTERNAL] + + - Refactored accessor generation to allow subclasses of Class::Tiny + to implement alternate accessors. + 1.001 2015-01-30 21:13:07-05:00 America/New_York [ADDED] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/MANIFEST new/Class-Tiny-1.004/MANIFEST --- old/Class-Tiny-1.001/MANIFEST 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/MANIFEST 2015-10-30 15:34:03.000000000 +0100 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.031. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.041. CONTRIBUTING.mkdn Changes LICENSE @@ -36,10 +36,10 @@ tidyall.ini xt/author/00-compile.t xt/author/critic.t +xt/author/pod-coverage.t xt/author/pod-spell.t +xt/author/pod-syntax.t +xt/author/test-version.t xt/release/distmeta.t xt/release/minimum-version.t -xt/release/pod-coverage.t -xt/release/pod-syntax.t xt/release/portability.t -xt/release/test-version.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/META.json new/Class-Tiny-1.004/META.json --- old/Class-Tiny-1.001/META.json 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/META.json 2015-10-30 15:34:03.000000000 +0100 @@ -4,7 +4,7 @@ "David Golden <[email protected]>" ], "dynamic_config" : 1, - "generated_by" : "Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240", + "generated_by" : "Dist::Zilla version 5.041, CPAN::Meta::Converter version 2.150001", "license" : [ "apache_2_0" ], @@ -15,10 +15,10 @@ "name" : "Class-Tiny", "no_index" : { "directory" : [ - "t", - "xt", + "corpus", "examples", - "corpus" + "t", + "xt" ], "package" : [ "DB" @@ -39,17 +39,21 @@ "Dist::Zilla::Plugin::Prereqs" : "0", "Dist::Zilla::Plugin::RemovePrereqs" : "0", "Dist::Zilla::PluginBundle::DAGOLDEN" : "0.072", + "English" : "0", "File::Spec" : "0", "File::Temp" : "0", "IO::Handle" : "0", "IPC::Open3" : "0", "Pod::Coverage::TrustPod" : "0", + "Pod::Wordlist" : "0", + "Software::License::Apache_2_0" : "0", "Test::CPAN::Meta" : "0", "Test::More" : "0", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08", "Test::Spelling" : "0.12", - "Test::Version" : "1" + "Test::Version" : "1", + "blib" : "1.01" } }, "runtime" : { @@ -80,11 +84,11 @@ "provides" : { "Class::Tiny" : { "file" : "lib/Class/Tiny.pm", - "version" : "1.001" + "version" : "1.004" }, "Class::Tiny::Object" : { "file" : "lib/Class/Tiny.pm", - "version" : "1.001" + "version" : "1.004" } }, "release_status" : "stable", @@ -99,13 +103,13 @@ "web" : "https://github.com/dagolden/Class-Tiny" } }, - "version" : "1.001", + "version" : "1.004", "x_authority" : "cpan:DAGOLDEN", "x_contributors" : [ "Dagfinn Ilmari Mannsåker <[email protected]>", + "David Golden <[email protected]>", "Gelu Lupas <[email protected]>", "Karen Etheridge <[email protected]>", - "Matt S Trout <[email protected]>", "Olivier Mengué <[email protected]>", "Toby Inkster <[email protected]>" ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/META.yml new/Class-Tiny-1.004/META.yml --- old/Class-Tiny-1.001/META.yml 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/META.yml 2015-10-30 15:34:03.000000000 +0100 @@ -15,7 +15,7 @@ ExtUtils::MakeMaker: '6.17' perl: '5.006' dynamic_config: 1 -generated_by: 'Dist::Zilla version 5.031, CPAN::Meta::Converter version 2.143240' +generated_by: 'Dist::Zilla version 5.041, CPAN::Meta::Converter version 2.150001' license: apache meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -23,19 +23,19 @@ name: Class-Tiny no_index: directory: + - corpus + - examples - t - xt - - examples - - corpus package: - DB provides: Class::Tiny: file: lib/Class/Tiny.pm - version: '1.001' + version: '1.004' Class::Tiny::Object: file: lib/Class/Tiny.pm - version: '1.001' + version: '1.004' requires: Carp: '0' perl: '5.006' @@ -45,12 +45,12 @@ bugtracker: https://github.com/dagolden/Class-Tiny/issues homepage: https://github.com/dagolden/Class-Tiny repository: https://github.com/dagolden/Class-Tiny.git -version: '1.001' +version: '1.004' x_authority: cpan:DAGOLDEN x_contributors: - 'Dagfinn Ilmari Mannsåker <[email protected]>' + - 'David Golden <[email protected]>' - 'Gelu Lupas <[email protected]>' - 'Karen Etheridge <[email protected]>' - - 'Matt S Trout <[email protected]>' - 'Olivier Mengué <[email protected]>' - 'Toby Inkster <[email protected]>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/Makefile.PL new/Class-Tiny-1.004/Makefile.PL --- old/Class-Tiny-1.001/Makefile.PL 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/Makefile.PL 2015-10-30 15:34:03.000000000 +0100 @@ -1,5 +1,4 @@ - -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.031. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.041. use strict; use warnings; @@ -7,8 +6,6 @@ use ExtUtils::MakeMaker 6.17; - - my %WriteMakefileArgs = ( "ABSTRACT" => "Minimalist class construction", "AUTHOR" => "David Golden <dagolden\@cpan.org>", @@ -16,7 +13,6 @@ "ExtUtils::MakeMaker" => "6.17" }, "DISTNAME" => "Class-Tiny", - "EXE_FILES" => [], "LICENSE" => "apache", "MIN_PERL_VERSION" => "5.006", "NAME" => "Class::Tiny", @@ -34,7 +30,7 @@ "lib" => 0, "subs" => 0 }, - "VERSION" => "1.001", + "VERSION" => "1.004", "test" => { "TESTS" => "t/*.t" } @@ -44,7 +40,7 @@ my %FallbackPrereqs = ( "Carp" => 0, "Exporter" => 0, - "ExtUtils::MakeMaker" => "6.17", + "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, "Test::More" => "0.96", "base" => 0, @@ -79,6 +75,3 @@ } WriteMakefile(%WriteMakefileArgs); - - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/README new/Class-Tiny-1.004/README --- old/Class-Tiny-1.001/README 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/README 2015-10-30 15:34:03.000000000 +0100 @@ -2,7 +2,7 @@ Class::Tiny - Minimalist class construction VERSION - version 1.001 + version 1.004 SYNOPSIS In Person.pm: @@ -340,12 +340,12 @@ CONTRIBUTORS * Dagfinn Ilmari Mannsåker <[email protected]> + * David Golden <[email protected]> + * Gelu Lupas <[email protected]> * Karen Etheridge <[email protected]> - * Matt S Trout <[email protected]> - * Olivier Mengué <[email protected]> * Toby Inkster <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/cpanfile new/Class-Tiny-1.004/cpanfile --- old/Class-Tiny-1.001/cpanfile 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/cpanfile 2015-10-30 15:34:03.000000000 +0100 @@ -31,15 +31,19 @@ requires "Dist::Zilla::Plugin::Prereqs" => "0"; requires "Dist::Zilla::Plugin::RemovePrereqs" => "0"; requires "Dist::Zilla::PluginBundle::DAGOLDEN" => "0.072"; + requires "English" => "0"; requires "File::Spec" => "0"; requires "File::Temp" => "0"; requires "IO::Handle" => "0"; requires "IPC::Open3" => "0"; requires "Pod::Coverage::TrustPod" => "0"; + requires "Pod::Wordlist" => "0"; + requires "Software::License::Apache_2_0" => "0"; requires "Test::CPAN::Meta" => "0"; requires "Test::More" => "0"; requires "Test::Pod" => "1.41"; requires "Test::Pod::Coverage" => "1.08"; requires "Test::Spelling" => "0.12"; requires "Test::Version" => "1"; + requires "blib" => "1.01"; }; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/lib/Class/Tiny.pm new/Class-Tiny-1.004/lib/Class/Tiny.pm --- old/Class-Tiny-1.001/lib/Class/Tiny.pm 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/lib/Class/Tiny.pm 2015-10-30 15:34:03.000000000 +0100 @@ -6,7 +6,7 @@ package Class::Tiny; # ABSTRACT: Minimalist class construction -our $VERSION = '1.001'; +our $VERSION = '1.004'; use Carp (); @@ -36,26 +36,44 @@ or Carp::croak "Invalid accessor name '$_'" } keys %defaults; $CLASS_ATTRIBUTES{$pkg}{$_} = $defaults{$_} for @attr; - _gen_accessor( $pkg, $_ ) for grep { !*{"$pkg\::$_"}{CODE} } @attr; + $class->_gen_accessor( $pkg, $_ ) for grep { !*{"$pkg\::$_"}{CODE} } @attr; Carp::croak("Failed to generate attributes for $pkg: $@\n") if $@; } sub _gen_accessor { - my ( $pkg, $name ) = @_; + my ( $class, $pkg, $name ) = @_; my $outer_default = $CLASS_ATTRIBUTES{$pkg}{$name}; + my $sub = + $class->__gen_sub_body( $name, defined($outer_default), ref($outer_default) ); + + # default = outer_default avoids "won't stay shared" bug + eval "package $pkg; my \$default=\$outer_default; $sub"; ## no critic + Carp::croak("Failed to generate attributes for $pkg: $@\n") if $@; +} + +# NOTE: overriding __gen_sub_body in a subclass of Class::Tiny is risky and +# could break if the internals of Class::Tiny need to change for any +# reason. That said, I currently see no reason why this would be likely to +# change. +# +# The generated sub body should assume that a '$default' variable will be +# in scope (i.e. when the sub is evaluated) with any default value/coderef +sub __gen_sub_body { + my ( $self, $name, $has_default, $default_type ) = @_; + my $sub = "sub $name { if (\@_ == 1) {"; - if ( defined $outer_default && ref $outer_default eq 'CODE' ) { + + if ( $has_default && $default_type eq 'CODE' ) { $sub .= "if ( !exists \$_[0]{$name} ) { \$_[0]{$name} = \$default->(\$_[0]) }"; } - elsif ( defined $outer_default ) { + elsif ($has_default) { $sub .= "if ( !exists \$_[0]{$name} ) { \$_[0]{$name} = \$default }"; } + $sub .= "return \$_[0]{$name} } else { return \$_[0]{$name}=\$_[1] } }"; - # default = outer_default avoids "won't stay shared" bug - eval "package $pkg; my \$default=\$outer_default; $sub"; ## no critic - Carp::croak("Failed to generate attributes for $pkg: $@\n") if $@; + return $sub; } sub get_all_attributes_for { @@ -80,7 +98,7 @@ package Class::Tiny::Object; # ABSTRACT: Base class for classes built with Class::Tiny -our $VERSION = '1.001'; +our $VERSION = '1.004'; my ( %HAS_BUILDARGS, %BUILD_CACHE, %DEMOLISH_CACHE, %ATTR_CACHE ); @@ -176,7 +194,7 @@ =head1 VERSION -version 1.001 +version 1.004 =head1 SYNOPSIS @@ -551,7 +569,7 @@ =head1 CONTRIBUTORS -=for stopwords Dagfinn Ilmari Mannsåker Gelu Lupas Karen Etheridge Matt S Trout Olivier Mengué Toby Inkster +=for stopwords Dagfinn Ilmari Mannsåker David Golden Gelu Lupas Karen Etheridge Olivier Mengué Toby Inkster =over 4 @@ -561,15 +579,15 @@ =item * -Gelu Lupas <[email protected]> +David Golden <[email protected]> =item * -Karen Etheridge <[email protected]> +Gelu Lupas <[email protected]> =item * -Matt S Trout <[email protected]> +Karen Etheridge <[email protected]> =item * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/t/00-report-prereqs.dd new/Class-Tiny-1.004/t/00-report-prereqs.dd --- old/Class-Tiny-1.001/t/00-report-prereqs.dd 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/t/00-report-prereqs.dd 2015-10-30 15:34:03.000000000 +0100 @@ -13,17 +13,21 @@ 'Dist::Zilla::Plugin::Prereqs' => '0', 'Dist::Zilla::Plugin::RemovePrereqs' => '0', 'Dist::Zilla::PluginBundle::DAGOLDEN' => '0.072', + 'English' => '0', 'File::Spec' => '0', 'File::Temp' => '0', 'IO::Handle' => '0', 'IPC::Open3' => '0', 'Pod::Coverage::TrustPod' => '0', + 'Pod::Wordlist' => '0', + 'Software::License::Apache_2_0' => '0', 'Test::CPAN::Meta' => '0', 'Test::More' => '0', 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08', 'Test::Spelling' => '0.12', - 'Test::Version' => '1' + 'Test::Version' => '1', + 'blib' => '1.01' } }, 'runtime' => { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/t/00-report-prereqs.t new/Class-Tiny-1.004/t/00-report-prereqs.t --- old/Class-Tiny-1.001/t/00-report-prereqs.t 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/t/00-report-prereqs.t 2015-10-30 15:34:03.000000000 +0100 @@ -3,7 +3,7 @@ use strict; use warnings; -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.020 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.021 use Test::More tests => 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/xt/author/00-compile.t new/Class-Tiny-1.004/xt/author/00-compile.t --- old/Class-Tiny-1.001/xt/author/00-compile.t 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/xt/author/00-compile.t 2015-10-30 15:34:03.000000000 +0100 @@ -2,11 +2,11 @@ use strict; use warnings; -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.051 +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.054 use Test::More; -plan tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0); +plan tests => 2; my @module_files = ( 'Class/Tiny.pm' @@ -39,6 +39,9 @@ waitpid($pid, 0); is($?, 0, "$lib loaded ok"); + shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/ + and not eval { require blib; blib->VERSION('1.01') }; + if (@_warnings) { warn @_warnings; @@ -49,6 +52,6 @@ is(scalar(@warnings), 0, 'no warnings found') - or diag 'got warnings: ', ( Test::More->can('explain') ? Test::More::explain(\@warnings) : join("\n", '', @warnings) ) if $ENV{AUTHOR_TESTING}; + or diag 'got warnings: ', ( Test::More->can('explain') ? Test::More::explain(\@warnings) : join("\n", '', @warnings) ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/xt/author/pod-coverage.t new/Class-Tiny-1.004/xt/author/pod-coverage.t --- old/Class-Tiny-1.001/xt/author/pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Class-Tiny-1.004/xt/author/pod-coverage.t 2015-10-30 15:34:03.000000000 +0100 @@ -0,0 +1,7 @@ +#!perl +# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. + +use Test::Pod::Coverage 1.08; +use Pod::Coverage::TrustPod; + +all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/xt/author/pod-spell.t new/Class-Tiny-1.004/xt/author/pod-spell.t --- old/Class-Tiny-1.001/xt/author/pod-spell.t 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/xt/author/pod-spell.t 2015-10-30 15:34:03.000000000 +0100 @@ -2,7 +2,7 @@ use warnings; use Test::More; -# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006008 +# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007000 use Test::Spelling 0.12; use Pod::Wordlist; @@ -21,15 +21,13 @@ Ilmari Mannsåker ilmari +xdg Gelu Lupas gelu Karen Etheridge ether -Matt -Trout -mstrout Olivier Mengué dolmen diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/xt/author/pod-syntax.t new/Class-Tiny-1.004/xt/author/pod-syntax.t --- old/Class-Tiny-1.001/xt/author/pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Class-Tiny-1.004/xt/author/pod-syntax.t 2015-10-30 15:34:03.000000000 +0100 @@ -0,0 +1,7 @@ +#!perl +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. +use strict; use warnings; +use Test::More; +use Test::Pod 1.41; + +all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/xt/author/test-version.t new/Class-Tiny-1.004/xt/author/test-version.t --- old/Class-Tiny-1.001/xt/author/test-version.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Class-Tiny-1.004/xt/author/test-version.t 2015-10-30 15:34:03.000000000 +0100 @@ -0,0 +1,24 @@ +use strict; +use warnings; +use Test::More; + +# generated by Dist::Zilla::Plugin::Test::Version 1.05 +use Test::Version; + +my @imports = qw( version_all_ok ); + +my $params = { + is_strict => 0, + has_version => 1, + multiple => 0, + +}; + +push @imports, $params + if version->parse( $Test::Version::VERSION ) >= version->parse('1.002'); + + +Test::Version->import(@imports); + +version_all_ok; +done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/xt/release/pod-coverage.t new/Class-Tiny-1.004/xt/release/pod-coverage.t --- old/Class-Tiny-1.001/xt/release/pod-coverage.t 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/xt/release/pod-coverage.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,7 +0,0 @@ -#!perl -# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. - -use Test::Pod::Coverage 1.08; -use Pod::Coverage::TrustPod; - -all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/xt/release/pod-syntax.t new/Class-Tiny-1.004/xt/release/pod-syntax.t --- old/Class-Tiny-1.001/xt/release/pod-syntax.t 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/xt/release/pod-syntax.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -#!perl -# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. -use Test::More; -use Test::Pod 1.41; - -all_pod_files_ok(); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Class-Tiny-1.001/xt/release/test-version.t new/Class-Tiny-1.004/xt/release/test-version.t --- old/Class-Tiny-1.001/xt/release/test-version.t 2015-01-31 03:13:12.000000000 +0100 +++ new/Class-Tiny-1.004/xt/release/test-version.t 1970-01-01 01:00:00.000000000 +0100 @@ -1,22 +0,0 @@ -use strict; -use warnings; -use Test::More; - -# generated by Dist::Zilla::Plugin::Test::Version 0.003001 -use Test::Version; - -my @imports = ( 'version_all_ok' ); - -my $params = { - is_strict => 0, - has_version => 1, -}; - -push @imports, $params - if version->parse( $Test::Version::VERSION ) >= version->parse('1.002'); - - -Test::Version->import(@imports); - -version_all_ok; -done_testing; ++++++ cpanspec.yml ++++++ --- #description_paragraphs: 3 #no_testing: broken upstream #sources: # - source1 # - source2 #patches: # foo.patch: -p1 # bar.patch: #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- # hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` # sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL #post_install: |- # sed on %{name}.files #license: SUSE-NonFree #skip_noarch: 1 #custom_build: |- #./Build build flags=%{?_smp_mflags} --myflag #custom_test: |- #startserver && make test #ignore_requires: Bizarre::Module
