Hello community, here is the log from the commit of package perl-Test-LongString for openSUSE:Factory checked in at 2014-09-19 22:27:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Test-LongString (Old) and /work/SRC/openSUSE:Factory/.perl-Test-LongString.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-Test-LongString" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Test-LongString/perl-Test-LongString.changes 2012-02-14 11:25:59.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Test-LongString.new/perl-Test-LongString.changes 2014-09-19 22:27:45.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Sep 19 12:15:46 UTC 2014 - coolo@suse.com + +- updated to 0.16, no changelog + +------------------------------------------------------------------- Old: ---- Test-LongString-0.15.tar.gz New: ---- Test-LongString-0.16.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Test-LongString.spec ++++++ --- /var/tmp/diff_new_pack.0ZlGIr/_old 2014-09-19 22:27:46.000000000 +0200 +++ /var/tmp/diff_new_pack.0ZlGIr/_new 2014-09-19 22:27:46.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Test-LongString # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,8 +15,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: perl-Test-LongString -Version: 0.15 +Version: 0.16 Release: 0 %define cpan_name Test-LongString Summary: Tests strings for equality, with more helpful failures @@ -29,7 +30,6 @@ BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::Builder::Tester) >= 1.04 -#BuildRequires: perl(Test::LongString) Requires: perl(Test::Builder::Tester) >= 1.04 %{perl_requires} ++++++ Test-LongString-0.15.tar.gz -> Test-LongString-0.16.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/MANIFEST new/Test-LongString-0.16/MANIFEST --- old/Test-LongString-0.15/MANIFEST 2011-02-05 14:47:10.000000000 +0100 +++ new/Test-LongString-0.16/MANIFEST 2014-09-05 10:01:11.000000000 +0200 @@ -13,3 +13,4 @@ t/pod-coverage.t Changes META.yml Module meta-data (added by MakeMaker) +META.json Module JSON meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/META.json new/Test-LongString-0.16/META.json --- old/Test-LongString-0.15/META.json 1970-01-01 01:00:00.000000000 +0100 +++ new/Test-LongString-0.16/META.json 2014-09-05 10:01:11.000000000 +0200 @@ -0,0 +1,31 @@ +{ + "abstract" : "unknown", + "author" : [ + "Rafael Garcia-Suarez <rgs@consttype.org>" + ], + "dynamic_config" : 1, + "generated_by" : "ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.140640", + "license" : [ + "perl_5" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "Test-LongString", + "no_index" : { + "directory" : [ + "t", + "inc" + ] + }, + "release_status" : "stable", + "resources" : { + "repository" : { + "type" : "git", + "url" : "https://github.com/rgs/Test-LongString.git", + "web" : "https://github.com/rgs/Test-LongString" + } + }, + "version" : "0.16" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/META.yml new/Test-LongString-0.16/META.yml --- old/Test-LongString-0.15/META.yml 2011-02-07 18:10:15.000000000 +0100 +++ new/Test-LongString-0.16/META.yml 2014-09-05 10:01:11.000000000 +0200 @@ -1,23 +1,19 @@ ---- #YAML:1.0 -name: Test-LongString -version: 0.15 -abstract: ~ +--- +abstract: unknown author: - - Rafael Garcia-Suarez <rgs@consttype.org> -license: perl -distribution_type: module -configure_requires: - ExtUtils::MakeMaker: 0 -build_requires: - ExtUtils::MakeMaker: 0 -requires: - Test::Builder: 0.12 - Test::Builder::Tester: 1.04 -no_index: - directory: - - t - - inc -generated_by: ExtUtils::MakeMaker version 6.55_02 + - 'Rafael Garcia-Suarez <rgs@consttype.org>' +build_requires: {} +dynamic_config: 1 +generated_by: 'ExtUtils::MakeMaker version 6.66, CPAN::Meta::Converter version 2.140640' +license: perl meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: '1.4' +name: Test-LongString +no_index: + directory: + - t + - inc +resources: + repository: https://github.com/rgs/Test-LongString.git +version: '0.16' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/Makefile.PL new/Test-LongString-0.16/Makefile.PL --- old/Test-LongString-0.15/Makefile.PL 2011-02-05 14:47:10.000000000 +0100 +++ new/Test-LongString-0.16/Makefile.PL 2014-09-05 09:58:56.000000000 +0200 @@ -9,4 +9,14 @@ 'Test::Builder::Tester' => 1.04, }, LICENSE => 'perl', + META_MERGE => { + 'meta-spec' => { version => 2 }, + resources => { + repository => { + type => 'git', + url => 'https://github.com/rgs/Test-LongString.git', + web => 'https://github.com/rgs/Test-LongString', + }, + }, + }, ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/README new/Test-LongString-0.16/README --- old/Test-LongString-0.15/README 2011-02-05 19:15:32.000000000 +0100 +++ new/Test-LongString-0.16/README 2014-09-05 09:58:18.000000000 +0200 @@ -1,4 +1,4 @@ -Test::LongString v0.15 +Test::LongString v0.16 ====================== A library to test long strings. @@ -22,4 +22,4 @@ This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -Copyright (c) 2002 - 2011 Rafael Garcia-Suarez +Copyright (c) 2002 - 2014 Rafael Garcia-Suarez diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/lib/Test/LongString.pm new/Test-LongString-0.16/lib/Test/LongString.pm --- old/Test-LongString-0.15/lib/Test/LongString.pm 2011-02-05 19:15:54.000000000 +0100 +++ new/Test-LongString-0.16/lib/Test/LongString.pm 2014-09-05 09:58:05.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use vars qw($VERSION @ISA @EXPORT $Max $Context $EOL $LCSS); -$VERSION = '0.15'; +$VERSION = '0.16'; use Test::Builder; my $Tester = new Test::Builder(); @@ -62,7 +62,7 @@ sub _common_prefix_length { my ($str1, $str2) = @_; - my $diff = $str1 ^ $str2; + my $diff = "$str1" ^ "$str2"; my ($pre) = $diff =~ /^(\000*)/; return length $pre; } @@ -364,7 +364,7 @@ =head2 is_string_nows( $string, $expected [, $label ] ) -Like C<is_string()>, but removes whitepace (in the C<\s> sense) from the +Like C<is_string()>, but removes whitespace (in the C<\s> sense) from the arguments before comparing them. =head2 like_string( $string, qr/regex/ [, $label ] ) @@ -443,7 +443,7 @@ where they differ, undefine C<$Test::LongString::Context>. When computing line numbers this module uses "\n" to count line endings. This -may not be appropriate for strings on your platform, and can be overriden +may not be appropriate for strings on your platform, and can be overridden by setting the C<$Test::LongString::EOL> variable to a suitable regular expression (either a reference to a regular expression or a string that can be interpolated into a regular expression.) @@ -464,6 +464,10 @@ git://github.com/rgs/Test-LongString.git +and the project page at + + http://github.com/rgs/Test-LongString + =head1 SEE ALSO L<Test::Builder>, L<Test::Builder::Tester>, L<Test::More>. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Test-LongString-0.15/t/01teststring.t new/Test-LongString-0.16/t/01teststring.t --- old/Test-LongString-0.15/t/01teststring.t 2011-02-05 14:53:31.000000000 +0100 +++ new/Test-LongString-0.16/t/01teststring.t 2014-09-05 09:56:10.000000000 +0200 @@ -2,7 +2,7 @@ use strict; -use Test::More tests => 11; +use Test::More tests => 15; use Test::Builder::Tester; use Test::Builder::Tester::Color; @@ -122,3 +122,44 @@ # strings begin to differ at char 3)); is_string_nows("a b c", "abd", "non-ws differs"); test_test("is_string_nows tests correctly"); + +test_out("not ok 1 - 123 is 124"); +test_fail(6); +test_diag(qq! got: "123" +# length: 3 +# expected: "124" +# length: 3 +# strings begin to differ at char 3 (line 1 column 3)!); +is_string("123", "124", "123 is 124"); +test_test("two short number strings differ at char 3"); + +test_out("not ok 1 - 123 is 124"); +test_fail(6); +test_diag(qq! got: "123" +# length: 3 +# expected: "124" +# length: 3 +# strings begin to differ at char 3 (line 1 column 3)!); +is_string(0+"123", 0+"124", "123 is 124"); +test_test("two small numbers compared in string context differ at char 3"); + +test_out("not ok 1 - 123 is 123xyz"); +test_fail(6); +test_diag(qq! got: "123" +# length: 3 +# expected: "123xyz" +# length: 6 +# strings begin to differ at char 4 (line 1 column 4)!); +is_string("123", "123xyz", "123 is 123xyz"); +test_test("short number string differs from short string at char 4"); + +test_out("not ok 1 - 123 is 123xyz"); +test_fail(6); +test_diag(qq! got: "123" +# length: 3 +# expected: "123xyz" +# length: 6 +# strings begin to differ at char 4 (line 1 column 4)!); +is_string(0+"123", "123xyz", "123 is 123xyz"); +test_test("small number differs from short string at char 4"); + -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org