Hello community,
here is the log from the commit of package perl-Mojo-Log-Colored for
openSUSE:Factory checked in at 2020-05-26 17:20:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mojo-Log-Colored (Old)
and /work/SRC/openSUSE:Factory/.perl-Mojo-Log-Colored.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Mojo-Log-Colored"
Tue May 26 17:20:02 2020 rev:2 rq:808421 version:0.03
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Mojo-Log-Colored/perl-Mojo-Log-Colored.changes
2020-05-20 18:47:29.961556898 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Mojo-Log-Colored.new.2738/perl-Mojo-Log-Colored.changes
2020-05-26 17:20:13.648091816 +0200
@@ -1,0 +2,12 @@
+Sat May 23 03:08:20 UTC 2020 - Tina Müller <[email protected]>
+
+updated to 0.03
+ see /usr/share/doc/packages/perl-Mojo-Log-Colored/Changes
+
+ 0.03 2020-05-22T12:32:37Z
+
+ - Do not color line endings (Tina Müller)
+ - POD updates (Mohammad S Anwar)
+
+
+-------------------------------------------------------------------
Old:
----
Mojo-Log-Colored-0.02.tar.gz
New:
----
Mojo-Log-Colored-0.03.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Mojo-Log-Colored.spec ++++++
--- /var/tmp/diff_new_pack.GIy13W/_old 2020-05-26 17:20:14.636093940 +0200
+++ /var/tmp/diff_new_pack.GIy13W/_new 2020-05-26 17:20:14.640093948 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Mojo-Log-Colored
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,19 +12,20 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Mojo-Log-Colored
-Version: 0.02
+Version: 0.03
Release: 0
%define cpan_name Mojo-Log-Colored
Summary: Colored Mojo logging
-License: Artistic-1.0 or GPL-1.0+
+License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Mojo-Log-Colored/
+URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/S/SI/SIMBABQUE/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -52,7 +53,7 @@
%setup -q -n %{cpan_name}-%{version}
%build
-%{__perl} Build.PL --installdirs=vendor
+perl Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
++++++ Mojo-Log-Colored-0.02.tar.gz -> Mojo-Log-Colored-0.03.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojo-Log-Colored-0.02/Changes
new/Mojo-Log-Colored-0.03/Changes
--- old/Mojo-Log-Colored-0.02/Changes 2017-07-09 13:56:50.000000000 +0200
+++ new/Mojo-Log-Colored-0.03/Changes 2020-05-22 14:32:38.000000000 +0200
@@ -1,5 +1,10 @@
Revision history for Perl extension Mojo-Log-Colored
+0.03 2020-05-22T12:32:37Z
+
+ - Do not color line endings (Tina Müller)
+ - POD updates (Mohammad S Anwar)
+
0.02 2017-07-09T11:56:49Z
- require at least Mojolicious 5.00 because the logger changed its
internals at that point
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojo-Log-Colored-0.02/META.json
new/Mojo-Log-Colored-0.03/META.json
--- old/Mojo-Log-Colored-0.02/META.json 2017-07-09 13:56:50.000000000 +0200
+++ new/Mojo-Log-Colored-0.03/META.json 2020-05-22 14:32:38.000000000 +0200
@@ -4,7 +4,7 @@
"simbabque <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Minilla/v3.0.13",
+ "generated_by" : "Minilla/v3.1.10",
"license" : [
"perl_5"
],
@@ -35,7 +35,7 @@
"requires" : {
"Test::CPAN::Meta" : "0",
"Test::MinimumVersion::Fast" : "0.04",
- "Test::PAUSE::Permissions" : "0.04",
+ "Test::PAUSE::Permissions" : "0.07",
"Test::Pod" : "1.41",
"Test::Spellunker" : "v0.2.7"
}
@@ -57,7 +57,7 @@
"provides" : {
"Mojo::Log::Colored" : {
"file" : "lib/Mojo/Log/Colored.pm",
- "version" : "0.02"
+ "version" : "0.03"
}
},
"release_status" : "stable",
@@ -71,6 +71,12 @@
"web" : "https://github.com/simbabque/Mojo-Log-Colored"
}
},
- "version" : "0.02",
- "x_serialization_backend" : "JSON::PP version 2.93"
+ "version" : "0.03",
+ "x_contributors" : [
+ "E. Choroba <[email protected]>",
+ "Mohammad S Anwar <[email protected]>",
+ "Tina Müller <[email protected]>"
+ ],
+ "x_serialization_backend" : "JSON::PP version 2.27400_02",
+ "x_static_install" : 1
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojo-Log-Colored-0.02/META.yml
new/Mojo-Log-Colored-0.03/META.yml
--- old/Mojo-Log-Colored-0.02/META.yml 2017-07-09 13:56:50.000000000 +0200
+++ new/Mojo-Log-Colored-0.03/META.yml 2020-05-22 14:32:38.000000000 +0200
@@ -8,7 +8,7 @@
configure_requires:
Module::Build::Tiny: '0.035'
dynamic_config: 0
-generated_by: 'Minilla/v3.0.13, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Minilla/v3.1.10, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -27,7 +27,7 @@
provides:
Mojo::Log::Colored:
file: lib/Mojo/Log/Colored.pm
- version: '0.02'
+ version: '0.03'
requires:
Mojolicious: '5.00'
Term::ANSIColor: '3.00'
@@ -36,5 +36,10 @@
bugtracker: https://github.com/simbabque/Mojo-Log-Colored/issues
homepage: https://github.com/simbabque/Mojo-Log-Colored
repository: git://github.com/simbabque/Mojo-Log-Colored.git
-version: '0.02'
+version: '0.03'
+x_contributors:
+ - 'E. Choroba <[email protected]>'
+ - 'Mohammad S Anwar <[email protected]>'
+ - 'Tina Müller <[email protected]>'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
+x_static_install: 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojo-Log-Colored-0.02/README.md
new/Mojo-Log-Colored-0.03/README.md
--- old/Mojo-Log-Colored-0.02/README.md 2017-07-09 13:56:50.000000000 +0200
+++ new/Mojo-Log-Colored-0.03/README.md 2020-05-22 14:32:38.000000000 +0200
@@ -85,7 +85,7 @@
# ACKNOWLEDGEMENTS
-This plugin was inspired by lanti asking about a way to easier find specific
errors
+This plugin was inspired by lanti asking about a way to find specific errors
more easily
in the Mojo log during unit test runs on [Stack
Overflow](https://stackoverflow.com/q/44965998/1331451).
# LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojo-Log-Colored-0.02/lib/Mojo/Log/Colored.pm
new/Mojo-Log-Colored-0.03/lib/Mojo/Log/Colored.pm
--- old/Mojo-Log-Colored-0.02/lib/Mojo/Log/Colored.pm 2017-07-09
13:56:50.000000000 +0200
+++ new/Mojo-Log-Colored-0.03/lib/Mojo/Log/Colored.pm 2020-05-22
14:32:38.000000000 +0200
@@ -4,7 +4,7 @@
use if $^O eq "MSWin32", "Win32::Console::ANSI";
-our $VERSION = "0.02";
+our $VERSION = "0.03";
has 'colors' => sub {
return {
@@ -27,6 +27,8 @@
return $self->_format(
sub {
+ # Prevent having the end escape sequence at the start of the line
+ local $Term::ANSIColor::EACHLINE = "\n";
# only add colors if we have a color for this level
exists $self->colors->{ $_[1] }
? colored( $format->(@_), $self->colors->{ $_[1] } )
@@ -132,7 +134,7 @@
=head1 ACKNOWLEDGEMENTS
-This plugin was inspired by lanti asking about a way to easier find specific
errors
+This plugin was inspired by lanti asking about a way to find specific errors
more easily
in the Mojo log during unit test runs on L<Stack
Overflow|https://stackoverflow.com/q/44965998/1331451>.
=head1 LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mojo-Log-Colored-0.02/t/via_mojo.t
new/Mojo-Log-Colored-0.03/t/via_mojo.t
--- old/Mojo-Log-Colored-0.02/t/via_mojo.t 2017-07-09 13:56:50.000000000
+0200
+++ new/Mojo-Log-Colored-0.03/t/via_mojo.t 2020-05-22 14:32:38.000000000
+0200
@@ -35,8 +35,8 @@
like $stderr, qr{
\Q$defaults{$level}\E # color of this level, escaped
$level
- \n
\e\[0m # end of coloring
+ \n
}x, "log contains colors for $level";
}
done_testing;
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#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_build: |-
# rm unused.files
#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