openSUSE Commits
Threads by month
- ----- 2024 -----
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
January 2023
- 1 participants
- 2775 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Redis for openSUSE:Factory checked in at 2023-01-31 16:10:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Redis (Old)
and /work/SRC/openSUSE:Factory/.perl-Redis.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Redis"
Tue Jan 31 16:10:24 2023 rev:15 rq:1062265 version:2.000
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Redis/perl-Redis.changes 2022-01-21 01:26:05.306312314 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Redis.new.32243/perl-Redis.changes 2023-01-31 16:16:59.752463437 +0100
@@ -1,0 +2,14 @@
+Sat Jan 14 03:07:58 UTC 2023 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 2.000
+ see /usr/share/doc/packages/perl-Redis/Changes
+
+ 2.000 2023-01-13 22:55:51+01:00 Europe/Paris
+
+ * #166: add ssl, username and password args to redis sentinel (Merwan Ouddane)
+ * #163: Add support for username/password AUTH (Joel Chornik)
+ * #162: Retry socket connect if errno is EINTR (Michael Schout)
+ * #158: Better fix of redis version in test (Michal Josef ��pa��ek)
+ * #156: Fix of test for multiple arguments in info command (Michal Josef ��pa��ek)
+
+-------------------------------------------------------------------
Old:
----
Redis-1.999.tar.gz
New:
----
Redis-2.000.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Redis.spec ++++++
--- /var/tmp/diff_new_pack.XwWpVu/_old 2023-01-31 16:17:00.108465499 +0100
+++ /var/tmp/diff_new_pack.XwWpVu/_new 2023-01-31 16:17:00.112465523 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Redis
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%define cpan_name Redis
Name: perl-Redis
-Version: 1.999
+Version: 2.000
Release: 0
-Summary: Perl binding for Redis database
License: Artistic-2.0
+Summary: Perl binding for Redis database
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAMS/%{cpan_name}-%{version}.tar.…
Source1: cpanspec.yml
++++++ Redis-1.999.tar.gz -> Redis-2.000.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.999/Changes new/Redis-2.000/Changes
--- old/Redis-1.999/Changes 2022-01-14 21:42:37.000000000 +0100
+++ new/Redis-2.000/Changes 2023-01-13 22:55:56.000000000 +0100
@@ -1,5 +1,13 @@
Revision history for Redis
+2.000 2023-01-13 22:55:51+01:00 Europe/Paris
+
+ * #166: add ssl, username and password args to redis sentinel (Merwan Ouddane)
+ * #163: Add support for username/password AUTH (Joel Chornik)
+ * #162: Retry socket connect if errno is EINTR (Michael Schout)
+ * #158: Better fix of redis version in test (Michal Josef ��pa��ek)
+ * #156: Fix of test for multiple arguments in info command (Michal Josef ��pa��ek)
+
1.999 2022-01-14 21:42:33+01:00 Europe/Paris
* enable ssl support
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.999/META.json new/Redis-2.000/META.json
--- old/Redis-1.999/META.json 2022-01-14 21:42:37.000000000 +0100
+++ new/Redis-2.000/META.json 2023-01-13 22:55:56.000000000 +0100
@@ -65,7 +65,7 @@
"web" : "https://github.com/PerlRedis/perl-redis"
}
},
- "version" : "1.999",
+ "version" : "2.000",
"x_generated_by_perl" : "v5.32.1",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.27",
"x_spdx_expression" : "Artistic-2.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.999/META.yml new/Redis-2.000/META.yml
--- old/Redis-1.999/META.yml 2022-01-14 21:42:37.000000000 +0100
+++ new/Redis-2.000/META.yml 2023-01-13 22:55:56.000000000 +0100
@@ -35,7 +35,7 @@
bugtracker: https://github.com/PerlRedis/perl-redis/issues
homepage: https://github.com/PerlRedis/perl-redis
repository: https://github.com/PerlRedis/perl-redis.git
-version: '1.999'
+version: '2.000'
x_generated_by_perl: v5.32.1
x_serialization_backend: 'YAML::Tiny version 1.73'
x_spdx_expression: Artistic-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.999/Makefile.PL new/Redis-2.000/Makefile.PL
--- old/Redis-1.999/Makefile.PL 2022-01-14 21:42:37.000000000 +0100
+++ new/Redis-2.000/Makefile.PL 2023-01-13 22:55:56.000000000 +0100
@@ -110,7 +110,7 @@
"Test::SharedFork" => 0,
"Test::TCP" => "1.19"
},
- "VERSION" => "1.999",
+ "VERSION" => "2.000",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.999/README new/Redis-2.000/README
--- old/Redis-1.999/README 2022-01-14 21:42:37.000000000 +0100
+++ new/Redis-2.000/README 2023-01-13 22:55:56.000000000 +0100
@@ -1,5 +1,5 @@
This archive contains the distribution Redis,
-version 1.999:
+version 2.000:
Perl binding for Redis database
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.999/README.pod new/Redis-2.000/README.pod
--- old/Redis-1.999/README.pod 2022-01-14 21:42:37.000000000 +0100
+++ new/Redis-2.000/README.pod 2023-01-13 22:55:56.000000000 +0100
@@ -6,8 +6,9 @@
Redis - Perl binding for Redis database
+=head1 VERSION
-=for html <a href="https://travis-ci.org/PerlRedis/perl-redis"><img src="https://travis-ci.org/PerlRedis/perl-redis.svg?branch=master"></a>
+version 1.999
=head1 SYNOPSIS
@@ -30,6 +31,15 @@
## Use UNIX domain socket
my $redis = Redis->new(sock => '/path/to/socket');
+ ## Connect to Redis over a secure SSL/TLS channel. See
+ ## IO::Socket::SSL documentation for more information
+ ## about SSL_verify_mode parameter.
+ my $redis = Redis->new(
+ server => 'redis.tls.example.com:8080',
+ ssl => 1,
+ SSL_verify_mode => SSL_VERIFY_PEER,
+ );
+
## Enable auto-reconnect
## Try to reconnect every 1s up to 60 seconds until success
## Die if you can't after that
@@ -180,6 +190,7 @@
my $r = Redis->new( server => '192.168.0.1:6379', debug => 0 );
my $r = Redis->new( server => '192.168.0.1:6379', encoding => undef );
+ my $r = Redis->new( server => '192.168.0.1:6379', ssl => 1, SSL_verify_mode => SSL_VERIFY_PEER );
my $r = Redis->new( sock => '/path/to/sock' );
my $r = Redis->new( reconnect => 60, every => 5000 );
my $r = Redis->new( password => 'boo' );
@@ -351,6 +362,18 @@
CLIENT SETNAME >> support is not available (Redis servers 2.6.9 and above
only), the name parameter is ignored.
+=head3 C<< ssl >>
+
+You can connect to Redis over SSL/TLS by setting this flag if the target Redis
+server or cluster has been setup to support SSL/TLS. This requires IO::Socket::SSL
+to be installed on the client. It's off by default.
+
+=head3 C<< SSL_verify_mode >>
+
+This parameter will be applied when C<< ssl >> flag is set. It sets the verification
+mode for the peer certificate. It's compatible with the parameter with the same name
+in IO::Socket::SSL.
+
=head3 C<< debug >>
The C<< debug >> parameter enables debug information to STDERR, including all
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.999/lib/Redis/Hash.pm new/Redis-2.000/lib/Redis/Hash.pm
--- old/Redis-1.999/lib/Redis/Hash.pm 2022-01-14 21:42:37.000000000 +0100
+++ new/Redis-2.000/lib/Redis/Hash.pm 2023-01-13 22:55:56.000000000 +0100
@@ -8,7 +8,7 @@
# The Artistic License 2.0 (GPL Compatible)
#
package Redis::Hash;
-$Redis::Hash::VERSION = '1.999';
+$Redis::Hash::VERSION = '2.000';
# ABSTRACT: tie Perl hashes to Redis hashes
# VERSION
# AUTHORITY
@@ -86,7 +86,7 @@
=head1 VERSION
-version 1.999
+version 2.000
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.999/lib/Redis/List.pm new/Redis-2.000/lib/Redis/List.pm
--- old/Redis-1.999/lib/Redis/List.pm 2022-01-14 21:42:37.000000000 +0100
+++ new/Redis-2.000/lib/Redis/List.pm 2023-01-13 22:55:56.000000000 +0100
@@ -8,7 +8,7 @@
# The Artistic License 2.0 (GPL Compatible)
#
package Redis::List;
-$Redis::List::VERSION = '1.999';
+$Redis::List::VERSION = '2.000';
# ABSTRACT: tie Perl arrays to Redis lists
# VERSION
# AUTHORITY
@@ -106,7 +106,7 @@
=head1 VERSION
-version 1.999
+version 2.000
=head1 SYNOPSYS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.999/lib/Redis/Sentinel.pm new/Redis-2.000/lib/Redis/Sentinel.pm
--- old/Redis-1.999/lib/Redis/Sentinel.pm 2022-01-14 21:42:37.000000000 +0100
+++ new/Redis-2.000/lib/Redis/Sentinel.pm 2023-01-13 22:55:56.000000000 +0100
@@ -8,7 +8,7 @@
# The Artistic License 2.0 (GPL Compatible)
#
package Redis::Sentinel;
-$Redis::Sentinel::VERSION = '1.999';
+$Redis::Sentinel::VERSION = '2.000';
# ABSTRACT: Redis Sentinel interface
use warnings;
@@ -54,7 +54,7 @@
=head1 VERSION
-version 1.999
+version 2.000
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.999/lib/Redis.pm new/Redis-2.000/lib/Redis.pm
--- old/Redis-1.999/lib/Redis.pm 2022-01-14 21:42:37.000000000 +0100
+++ new/Redis-2.000/lib/Redis.pm 2023-01-13 22:55:56.000000000 +0100
@@ -8,7 +8,7 @@
# The Artistic License 2.0 (GPL Compatible)
#
package Redis;
-$Redis::VERSION = '1.999';
+$Redis::VERSION = '2.000';
# ABSTRACT: Perl binding for Redis database
# VERSION
# AUTHORITY
@@ -79,9 +79,9 @@
defined $args{$_}
and $self->{$_} = $args{$_} for
- qw(password on_connect name no_auto_connect_on_new cnx_timeout
- write_timeout read_timeout sentinels_cnx_timeout sentinels_write_timeout
- sentinels_read_timeout no_sentinels_list_update);
+ qw(username password on_connect name no_auto_connect_on_new cnx_timeout
+ write_timeout read_timeout sentinels_ssl sentinels_username sentinels_password
+ sentinels_cnx_timeout sentinels_write_timeout sentinels_read_timeout no_sentinels_list_update);
$self->{reconnect} = $args{reconnect} || 0;
$self->{conservative_reconnect} = $args{conservative_reconnect} || 0;
@@ -114,13 +114,17 @@
foreach my $sentinel_address (@{$self->{sentinels}}) {
my $sentinel = eval {
Redis::Sentinel->new(
- server => $sentinel_address,
+ server => $sentinel_address,
+ username => $self->{sentinels_username},
+ password => $self->{sentinels_password},
cnx_timeout => ( defined $self->{sentinels_cnx_timeout}
- ? $self->{sentinels_cnx_timeout} : 0.1),
+ ? $self->{sentinels_cnx_timeout} : 0.1 ),
read_timeout => ( defined $self->{sentinels_read_timeout}
- ? $self->{sentinels_read_timeout} : 1 ),
+ ? $self->{sentinels_read_timeout} : 1 ),
write_timeout => ( defined $self->{sentinels_write_timeout}
- ? $self->{sentinels_write_timeout} : 1 ),
+ ? $self->{sentinels_write_timeout} : 1 ),
+ ssl => ( defined $self->{sentinels_ssl}
+ ? $self->{sentinels_ssl} : 0 ),
)
} or next;
my $server_address = $sentinel->get_service_address($self->{service});
@@ -159,7 +163,13 @@
);
if (exists $args{ssl} and $args{ssl}) {
- croak("Redis client does not support SSL with Redis Sentinel yet");
+ if ( ! SSL_AVAILABLE ) {
+ croak("IO::Socket::SSL is required for connecting to Redis using SSL");
+ }
+
+ $self->{ssl} = 1;
+ $socket_class = 'IO::Socket::SSL';
+ $socket_args{SSL_verify_mode} = $args{SSL_verify_mode} // 1;
}
else {
$self->{ssl} = 0;
@@ -670,12 +680,24 @@
sub __build_sock {
my ($self) = @_;
- $self->{sock} = $self->{builder}->($self)
- || croak("Could not connect to Redis server at $self->{server}: $!");
+ do {
+ $self->{sock} = $self->{builder}->($self);
+ } while (!$self->{sock} && $! == Errno::EINTR);
+
+ unless ($self->{sock}) {
+ croak("Could not connect to Redis server at $self->{server}: $!");
+ }
$self->{__buf} = '';
- if (defined $self->{password}) {
+ if (defined $self->{username} && defined $self->{password}) {
+ try { $self->auth($self->{username}, $self->{password}) }
+ catch {
+ my $error = $_;
+ $self->{reconnect} = 0;
+ croak('Redis server authentication error: ' . $error);
+ };
+ } elsif (defined $self->{password}) {
try { $self->auth($self->{password}) }
catch {
my $error = $_;
@@ -986,7 +1008,7 @@
=head1 VERSION
-version 1.999
+version 2.000
=head1 SYNOPSIS
@@ -2255,6 +2277,10 @@
Authenticate to the server (see L<https://redis.io/commands/auth>)
+ $r->auth(username, password)
+
+Authenticate to the server using Redis 6.0+ ACL System (see L<https://redis.io/commands/auth>)
+
=head2 echo
$r->echo(message)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Redis-1.999/t/04-pipeline.t new/Redis-2.000/t/04-pipeline.t
--- old/Redis-1.999/t/04-pipeline.t 2022-01-14 21:42:37.000000000 +0100
+++ new/Redis-2.000/t/04-pipeline.t 2023-01-13 22:55:56.000000000 +0100
@@ -63,10 +63,16 @@
pipeline_ok 'info in pipelined mode',
(
[info => [], code(sub { ref $_[0] eq 'HASH' && keys %{ $_[0] } })],
- [ info => [qw<oops oops>],
- undef,
- re(qr{^ERR (?:syntax error|wrong number of arguments for 'info' command)$})
- ],
+ $r->info->{redis_version} ge '7.0.0' ? (
+ [ info => [qw<oops oops>],
+ {},
+ ],
+ ) : (
+ [ info => [qw<oops oops>],
+ undef,
+ re(qr{^ERR (?:syntax error|wrong number of arguments for 'info' command)$})
+ ],
+ )
);
pipeline_ok 'pipeline with multi-bulk reply',
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-PDF-Builder for openSUSE:Factory checked in at 2023-01-31 16:10:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-PDF-Builder (Old)
and /work/SRC/openSUSE:Factory/.perl-PDF-Builder.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-PDF-Builder"
Tue Jan 31 16:10:00 2023 rev:5 rq:1062199 version:3.025
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-PDF-Builder/perl-PDF-Builder.changes 2022-09-27 20:14:52.677951429 +0200
+++ /work/SRC/openSUSE:Factory/.perl-PDF-Builder.new.32243/perl-PDF-Builder.changes 2023-01-31 16:16:54.800434746 +0100
@@ -1,0 +2,6 @@
+Sun Jan 22 03:08:24 UTC 2023 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 3.025
+ see /usr/share/doc/packages/perl-PDF-Builder/Changes
+
+-------------------------------------------------------------------
Old:
----
PDF-Builder-3.024.tar.gz
New:
----
PDF-Builder-3.025.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-PDF-Builder.spec ++++++
--- /var/tmp/diff_new_pack.wiFkfo/_old 2023-01-31 16:16:55.228437225 +0100
+++ /var/tmp/diff_new_pack.wiFkfo/_new 2023-01-31 16:16:55.232437249 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-PDF-Builder
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define cpan_name PDF-Builder
Name: perl-PDF-Builder
-Version: 3.024
+Version: 3.025
Release: 0
License: LGPL-2.1-or-later
Summary: Facilitates the creation and modification of PDF files
@@ -42,6 +42,7 @@
%prep
%autosetup -n %{cpan_name}-%{version}
+
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
@@ -57,7 +58,7 @@
%perl_gen_filelist
%files -f %{name}.files
-%doc Changes CONTRIBUTING docs examples README.md
+%doc Changes CONTRIBUTING.md docs examples README.md
%license LICENSE
%changelog
++++++ PDF-Builder-3.024.tar.gz -> PDF-Builder-3.025.tar.gz ++++++
/work/SRC/openSUSE:Factory/perl-PDF-Builder/PDF-Builder-3.024.tar.gz /work/SRC/openSUSE:Factory/.perl-PDF-Builder.new.32243/PDF-Builder-3.025.tar.gz differ: char 5, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Net-Patricia for openSUSE:Factory checked in at 2023-01-31 16:08:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Net-Patricia (Old)
and /work/SRC/openSUSE:Factory/.perl-Net-Patricia.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Net-Patricia"
Tue Jan 31 16:08:51 2023 rev:5 rq:1062082 version:1.22
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Net-Patricia/perl-Net-Patricia.changes 2018-02-26 23:26:49.222733883 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Net-Patricia.new.32243/perl-Net-Patricia.changes 2023-01-31 16:16:52.756422903 +0100
@@ -1,0 +2,5 @@
+Wed Jan 25 13:48:49 UTC 2023 - Thorsten Kukuk <kukuk(a)suse.com>
+
+- no-libnsl.diff: don't link against libnsl if we don't use it
+
+-------------------------------------------------------------------
New:
----
no-libnsl.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Net-Patricia.spec ++++++
--- /var/tmp/diff_new_pack.bSX4N9/_old 2023-01-31 16:16:53.168425290 +0100
+++ /var/tmp/diff_new_pack.bSX4N9/_new 2023-01-31 16:16:53.172425313 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Net-Patricia
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# 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/
#
@@ -25,10 +25,11 @@
Release: 0
%define cpan_name Net-Patricia
Summary: Patricia Trie perl module for fast IP address lookups
-License: GPL-2.0+ and BSD-2-Clause
+License: BSD-2-Clause AND GPL-2.0-or-later
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Net-Patricia/
+URL: http://search.cpan.org/dist/Net-Patricia/
Source: http://www.cpan.org/authors/id/G/GR/GRUBER/%{cpan_name}-%{version}.tar.gz
+Patch1: no-libnsl.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
@@ -40,9 +41,6 @@
Requires: perl(Socket6)
Requires: perl(Test::More) >= 0.88
Requires: perl(version)
-%if 0%{?suse_version} > 1350
-BuildRequires: libnsl-devel
-%endif
%{perl_requires}
%description
@@ -63,6 +61,7 @@
%prep
%setup -q -n %{cpan_name}-%{version}
+%patch1 -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
++++++ no-libnsl.diff ++++++
--- Net-Patricia-1.22/Makefile.PL.old 2012-10-09 16:36:34.000000000 +0200
+++ Net-Patricia-1.22/Makefile.PL 2023-01-25 14:46:59.182810260 +0100
@@ -5,7 +5,7 @@
WriteMakefile(
'NAME' => 'Net::Patricia',
'VERSION_FROM' => 'Patricia.pm', # finds $VERSION
- 'LIBS' => ['-lnsl'], # e.g., '-lm'
+ 'LIBS' => [''], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
'INC' => '', # e.g., '-I/usr/include/other'
'MYEXTLIB' => 'libpatricia/libpatricia$(LIB_EXT)', # e.g., '-I/usr/include/other'
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Modern-Perl for openSUSE:Factory checked in at 2023-01-31 16:10:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Modern-Perl (Old)
and /work/SRC/openSUSE:Factory/.perl-Modern-Perl.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Modern-Perl"
Tue Jan 31 16:10:16 2023 rev:26 rq:1062253 version:1.20230106
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Modern-Perl/perl-Modern-Perl.changes 2022-05-20 17:52:00.703296228 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Modern-Perl.new.32243/perl-Modern-Perl.changes 2023-01-31 16:16:45.380380167 +0100
@@ -1,0 +2,10 @@
+Fri Jan 6 03:07:46 UTC 2023 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 1.20230106
+ see /usr/share/doc/packages/perl-Modern-Perl/Changes
+
+ 1.20230106 2023-01-05 17:15:46-08:00 America/Los_Angeles
+ - update for 2023 year bundle
+ - fix a few nits in tests
+
+-------------------------------------------------------------------
Old:
----
Modern-Perl-1.20220515.tar.gz
New:
----
Modern-Perl-1.20230106.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Modern-Perl.spec ++++++
--- /var/tmp/diff_new_pack.KrH4cT/_old 2023-01-31 16:16:45.828382763 +0100
+++ /var/tmp/diff_new_pack.KrH4cT/_new 2023-01-31 16:16:45.832382786 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Modern-Perl
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define cpan_name Modern-Perl
Name: perl-Modern-Perl
-Version: 1.20220515
+Version: 1.20230106
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Enable all of the features of Modern Perl with one import
++++++ Modern-Perl-1.20220515.tar.gz -> Modern-Perl-1.20230106.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20220515/Changes new/Modern-Perl-1.20230106/Changes
--- old/Modern-Perl-1.20220515/Changes 2022-05-15 20:15:27.000000000 +0200
+++ new/Modern-Perl-1.20230106/Changes 2023-01-06 02:15:47.000000000 +0100
@@ -1,5 +1,9 @@
Revision history for Modern::Perl
+1.20230106 2023-01-05 17:15:46-08:00 America/Los_Angeles
+ - update for 2023 year bundle
+ - fix a few nits in tests
+
1.20220515 2022-05-15 11:15:25-07:00 America/Los_Angeles
- enable signatures in 2022 year bundle
- add 2021 and 2022 year bundles
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20220515/LICENSE new/Modern-Perl-1.20230106/LICENSE
--- old/Modern-Perl-1.20220515/LICENSE 2022-05-15 20:15:27.000000000 +0200
+++ new/Modern-Perl-1.20230106/LICENSE 2023-01-06 02:15:47.000000000 +0100
@@ -292,21 +292,21 @@
- "Package" refers to the collection of files distributed by the Copyright
Holder, and derivatives of that collection of files created through
- textual modification.
+ textual modification.
- "Standard Version" refers to such a Package if it has not been modified,
or has been modified in accordance with the wishes of the Copyright
- Holder.
+ Holder.
- "Copyright Holder" is whoever is named in the copyright or copyrights for
- the package.
+ the package.
- "You" is you, if you're thinking about copying or distributing this Package.
- "Reasonable copying fee" is whatever you can justify on the basis of media
cost, duplication charges, time of people involved, and so on. (You will
not be required to justify it to the Copyright Holder, but only to the
- computing community at large as a market that must bear the fee.)
+ computing community at large as a market that must bear the fee.)
- "Freely Available" means that no fee is charged for the item itself, though
there may be fees involved in handling the item. It also means that
recipients of the item may redistribute it under the same conditions they
- received it.
+ received it.
1. You may make and give away verbatim copies of the source form of the
Standard Version of this Package without restriction, provided that you
@@ -373,7 +373,7 @@
9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
-MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
The End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20220515/MANIFEST new/Modern-Perl-1.20230106/MANIFEST
--- old/Modern-Perl-1.20220515/MANIFEST 2022-05-15 20:15:27.000000000 +0200
+++ new/Modern-Perl-1.20230106/MANIFEST 2023-01-06 02:15:47.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.017.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.029.
Changes
LICENSE
MANIFEST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20220515/META.json new/Modern-Perl-1.20230106/META.json
--- old/Modern-Perl-1.20220515/META.json 2022-05-15 20:15:27.000000000 +0200
+++ new/Modern-Perl-1.20230106/META.json 2023-01-06 02:15:47.000000000 +0100
@@ -4,7 +4,7 @@
"chromatic"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "Dist::Zilla version 6.029, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
@@ -45,9 +45,9 @@
"web" : "https://github.com/chromatic/Modern-Perl"
}
},
- "version" : "1.20220515",
- "x_generated_by_perl" : "v5.34.0",
- "x_serialization_backend" : "Cpanel::JSON::XS version 4.26",
+ "version" : "1.20230106",
+ "x_generated_by_perl" : "v5.36.0",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.32",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20220515/META.yml new/Modern-Perl-1.20230106/META.yml
--- old/Modern-Perl-1.20220515/META.yml 2022-05-15 20:15:27.000000000 +0200
+++ new/Modern-Perl-1.20230106/META.yml 2023-01-06 02:15:47.000000000 +0100
@@ -7,7 +7,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Dist::Zilla version 6.029, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -24,7 +24,7 @@
resources:
homepage: https://github.com/chromatic/Modern-Perl
repository: https://github.com/chromatic/Modern-Perl.git
-version: '1.20220515'
-x_generated_by_perl: v5.34.0
+version: '1.20230106'
+x_generated_by_perl: v5.36.0
x_serialization_backend: 'YAML::Tiny version 1.73'
x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20220515/Makefile.PL new/Modern-Perl-1.20230106/Makefile.PL
--- old/Modern-Perl-1.20220515/Makefile.PL 2022-05-15 20:15:27.000000000 +0200
+++ new/Modern-Perl-1.20230106/Makefile.PL 2023-01-06 02:15:47.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.017.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.029.
use strict;
use warnings;
@@ -27,7 +27,7 @@
"TEST_REQUIRES" => {
"Test::More" => "0.98"
},
- "VERSION" => "1.20220515",
+ "VERSION" => "1.20230106",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20220515/lib/Modern/Perl.pm new/Modern-Perl-1.20230106/lib/Modern/Perl.pm
--- old/Modern-Perl-1.20220515/lib/Modern/Perl.pm 2022-05-15 20:15:27.000000000 +0200
+++ new/Modern-Perl-1.20230106/lib/Modern/Perl.pm 2023-01-06 02:15:47.000000000 +0100
@@ -1,6 +1,6 @@
package Modern::Perl;
# ABSTRACT: enable all of the features of Modern Perl with one import
-$Modern::Perl::VERSION = '1.20220515';
+$Modern::Perl::VERSION = '1.20230106';
use 5.010_000;
use strict;
@@ -18,11 +18,13 @@
sub VERSION {
my ($self, $version) = @_;
- return $Modern::Perl::VERSION || 2022 unless defined $version;
- return $Modern::Perl::VERSION || 2022 if $version < 2009;
+ my $default = 2023;
+
+ return $Modern::Perl::VERSION || $default unless defined $version;
+ return $Modern::Perl::VERSION || $default if $version < 2009;
$wanted_date = $version if (caller(1))[3] =~ /::BEGIN/;
- return 2022;
+ return $default;
}
sub import {
@@ -34,6 +36,7 @@
warnings->import;
strict->import;
+ feature->unimport( ':all' );
feature->import( $feature_tag );
if ($feature_tag ge ':5.34') {
@@ -66,6 +69,7 @@
2020 => ':5.30',
2021 => ':5.32',
2022 => ':5.34',
+ 2023 => ':5.36',
);
my $date = shift;
@@ -97,7 +101,7 @@
=head1 VERSION
-version 1.20220515
+version 1.20230106
=head1 SYNOPSIS
@@ -202,6 +206,10 @@
... enables 5.34 features.
+ use Modern::Perl '2023';
+
+... enables 5.36 features.
+
Obviously you cannot use newer features on earlier
versions. Perl will throw the appropriate exception if you try.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20220515/lib/odern/Perl.pm new/Modern-Perl-1.20230106/lib/odern/Perl.pm
--- old/Modern-Perl-1.20220515/lib/odern/Perl.pm 2022-05-15 20:15:27.000000000 +0200
+++ new/Modern-Perl-1.20230106/lib/odern/Perl.pm 2023-01-06 02:15:47.000000000 +0100
@@ -1,6 +1,6 @@
package odern::Perl;
#ABSTRACT: Module for enabling all of the features of Modern Perl
-$odern::Perl::VERSION = '1.20220515';
+$odern::Perl::VERSION = '1.20230106';
use Modern::Perl;
*import = \&Modern::Perl::import;
@@ -19,7 +19,7 @@
=head1 VERSION
-version 1.20220515
+version 1.20230106
=head1 AUTHOR
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Modern-Perl-1.20220515/t/year_imports.t new/Modern-Perl-1.20230106/t/year_imports.t
--- old/Modern-Perl-1.20220515/t/year_imports.t 2022-05-15 20:15:27.000000000 +0200
+++ new/Modern-Perl-1.20230106/t/year_imports.t 2023-01-06 02:15:47.000000000 +0100
@@ -40,6 +40,41 @@
is $@, '', qq|use Modern::Perl $year enables switch|;
}
+sub test_no_switch_for {
+ my $year = _get_year(shift);
+
+ eval qq|use Modern::Perl $year; sub { given (0) {} }|;
+ isnt $@, '', qq|use Modern::Perl $year does not enable switch|;
+}
+
+sub test_no_indirect_for {
+ my $year = _get_year(shift);
+
+ my $warning = '';
+ local $SIG{__WARN__} = sub { $warning = shift };
+
+ eval qq|use Modern::Perl $year; my \$foo = new Modern::Perl;|;
+ like $@, qr/syntax error.+near "new Modern::Perl"/,
+ qq|use Modern::Perl $year disables indirect method calls|;
+}
+
+sub test_no_multidimensional_for {
+ my $year = _get_year(shift);
+
+ my $warning = '';
+ local $SIG{__WARN__} = sub { $warning = shift };
+
+ eval qq{
+ use Modern::Perl $year;
+ my (\$x, \$y) = (1, 2);
+ my %foo;
+
+ \$foo{\$x, \$y} = 'bar';
+ };
+ like $@, qr/Multidimensional hash lookup is disabled/,
+ qq|use Modern::Perl $year disables multidimensional array emulation|;
+}
+
sub test_say_for {
my $year = _get_year(shift);
@@ -96,25 +131,53 @@
eval qq{
use Modern::Perl $year;
- is uc "\xdf", "SS", q|$year enables unicode_strings|;
+ is uc "\xdf", "SS", q|use Modern::Perl $year enables unicode_strings|;
};
}
sub test_signatures_for {
my $year = _get_year(shift);
- my @narnings;
+ my @warnings;
local $SIG{__WARN__} = sub { push @warnings, @_ };
local $@;
+ my ($yearnum) = $year =~ m/(\d+)/;
eval qq{
use Modern::Perl $year;
- sub foo( $bar ) { ... }
+ sub foo_$yearnum( \$bar ) { ... }
};
- is $@, '', q|$year enables signatures|;
+ is $@, '', qq|use Modern::Perl $year enables signatures|;
is @warnings, 0, '... and disables signature warnings';
}
+sub test_isa_for {
+ my $year = _get_year(shift);
+
+ eval qq{
+ use Modern::Perl $year;
+ my \$foo = bless {}, 'Some::Class';
+ my \$result = \$foo isa 'Some::Class';
+ };
+ is $@, '', qq|use Modern::Perl $year enables isa|;
+}
+
+sub test_warnings_for {
+ my $year = _get_year(shift);
+
+ my $warnings;
+
+ local $SIG{__WARN__} = sub { $warnings = shift };
+
+ eval qq{
+ no warnings;
+ use Modern::Perl $year;
+ my \$x = "2:" + 3;
+ };
+
+ like $warnings, qr/Argument "2:" isn't numeric/, qq|use Modern::Perl $year enables warnings|;
+}
+
eval 'sub { given (0) {} }';
isnt $@, '', 'use Modern::Perl () does not enable switch';
@@ -142,7 +205,7 @@
test_say_for( '2009' );
test_state_for( '2009' );
- is uc "\xdf", "\xdf", 'but not unicode_strings';
+ is uc "\xdf", "\xdf", q|use Modern::Perl '2009' does not enable unicode_strings|;
}
{
@@ -152,7 +215,7 @@
test_say_for( '2010' );
test_state_for( '2010' );
- is uc "\xdf", "\xdf", 'but not unicode_strings';
+ is uc "\xdf", "\xdf", q|use Modern::Perl '2010' does not enable unicode_strings|;
}
if ($] >= 5.012)
@@ -323,6 +386,27 @@
test_signatures_for( $year );
}
+if ($] >= 5.036)
+{
+ my $year = 2023;
+
+ test_no_switch_for( $year );
+ test_no_indirect_for( $year );
+ test_no_multidimensional_for( $year );
+
+ test_say_for( $year );
+ test_state_for( $year );
+ test_cur_sub_for( $year );
+ test_array_base_for( $year );
+ test_lexical_subs_for( $year );
+ test_fc_for( $year );
+ test_postderef_for( $year );
+ test_unicode_strings_for( $year );
+ test_signatures_for( $year );
+ test_isa_for( $year );
+ test_warnings_for( $year );
+}
+
eval 'sub { given (0) {} }';
isnt $@, "", 'switch feature does not leak out';
eval 'sub { say 0 }';
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-MCE for openSUSE:Factory checked in at 2023-01-31 16:10:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-MCE (Old)
and /work/SRC/openSUSE:Factory/.perl-MCE.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-MCE"
Tue Jan 31 16:10:15 2023 rev:28 rq:1062252 version:1.884
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-MCE/perl-MCE.changes 2022-12-13 18:57:47.223946080 +0100
+++ /work/SRC/openSUSE:Factory/.perl-MCE.new.32243/perl-MCE.changes 2023-01-31 16:16:41.988360515 +0100
@@ -1,0 +2,14 @@
+Fri Jan 6 03:07:07 UTC 2023 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 1.884
+ see /usr/share/doc/packages/perl-MCE/Changes
+
+ 1.884 Thu Jan 05 10:00:00 EST 2023
+ * Disabled non-blocking dequeue_nb and recv_nb tests on the Windows platform.
+ Reason: Author cannot reproduce failing tests reported by CPAN Tester aero.
+ Copied nb tests to xt folder: nonblocking_channel.t and nonblocking_queue.t
+ 1.883 Tue Jan 03 20:00:00 EST 2023
+ * Fix typo in MCE::Channel::SimpleFast documentation.
+ * Improve 05_mce_child.t test.
+
+-------------------------------------------------------------------
Old:
----
MCE-1.882.tar.gz
New:
----
MCE-1.884.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-MCE.spec ++++++
--- /var/tmp/diff_new_pack.PcE8DF/_old 2023-01-31 16:16:42.896365776 +0100
+++ /var/tmp/diff_new_pack.PcE8DF/_new 2023-01-31 16:16:42.900365799 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-MCE
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define cpan_name MCE
Name: perl-MCE
-Version: 1.882
+Version: 1.884
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Many-Core Engine for Perl providing parallel processing capabilities
++++++ MCE-1.882.tar.gz -> MCE-1.884.tar.gz ++++++
++++ 1885 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Graphics-Toolkit-Color for openSUSE:Factory checked in at 2023-01-31 16:09:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Graphics-Toolkit-Color (Old)
and /work/SRC/openSUSE:Factory/.perl-Graphics-Toolkit-Color.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Graphics-Toolkit-Color"
Tue Jan 31 16:09:59 2023 rev:3 rq:1062197 version:1.08
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Graphics-Toolkit-Color/perl-Graphics-Toolkit-Color.changes 2023-01-04 17:55:07.743075036 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Graphics-Toolkit-Color.new.32243/perl-Graphics-Toolkit-Color.changes 2023-01-31 16:16:33.532311522 +0100
@@ -1,0 +2,21 @@
+Wed Jan 25 03:06:56 UTC 2023 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 1.08
+ see /usr/share/doc/packages/perl-Graphics-Toolkit-Color/Changes
+
+ 1.08 2023-01-24 lichtkind
+ -------
+ * = small enhancements
+ * + added method rgb_gradient_to
+ * ~ changed gradient_to to hsl_gradient_to (but keeping compatibility)
+ * ? even more POD fixes
+ 1.07 2023-01-20 lichtkind
+ -------
+ * = POD fixes
+ 1.06 2023-01-20 lichtkind
+ -------
+ * = maintenance release
+ * + simplified string serialisation method (->new(eval $string) => ->new($string))
+ * ? small POD fixes
+
+-------------------------------------------------------------------
Old:
----
Graphics-Toolkit-Color-1.05.tar.gz
New:
----
Graphics-Toolkit-Color-1.08.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Graphics-Toolkit-Color.spec ++++++
--- /var/tmp/diff_new_pack.fi0XfO/_old 2023-01-31 16:16:33.964314025 +0100
+++ /var/tmp/diff_new_pack.fi0XfO/_new 2023-01-31 16:16:33.968314048 +0100
@@ -18,7 +18,7 @@
%define cpan_name Graphics-Toolkit-Color
Name: perl-Graphics-Toolkit-Color
-Version: 1.05
+Version: 1.08
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Color palette creation helper
@@ -35,12 +35,15 @@
%{perl_requires}
%description
-Each object has 7 attributes, which are its RGB and HSL values and if
-possible a name. This is because humans access colors on hardware level
-(eye) in RGB, on cognition level in HSL (brain) and on cultural level
-(language) with names. Having easy access to all three and some color math
-should enable you to get the color palette you desire quickly and with no
-additional dependencies.
+Read only color holding objects with no additional dependencies. Create
+them in many different ways (see section _CONSTRUCTOR_). Access its values
+via methods from section _GETTER_ or create related color objects via
+methods listed under _METHODS_.
+
+Humans access colors on hardware level (eye) in RGB, on cognition level in
+HSL (brain) and on cultural level (language) with names. Having easy access
+to all three and some color math should enable you to get the color palette
+you desire quickly.
%prep
%autosetup -n %{cpan_name}-%{version}
++++++ Graphics-Toolkit-Color-1.05.tar.gz -> Graphics-Toolkit-Color-1.08.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Graphics-Toolkit-Color-1.05/Changes new/Graphics-Toolkit-Color-1.08/Changes
--- old/Graphics-Toolkit-Color-1.05/Changes 2022-12-31 18:01:58.000000000 +0100
+++ new/Graphics-Toolkit-Color-1.08/Changes 2023-01-24 23:16:08.000000000 +0100
@@ -1,13 +1,31 @@
+1.08 2023-01-24 lichtkind
+-------
+ * = small enhancements
+ * + added method rgb_gradient_to
+ * ~ changed gradient_to to hsl_gradient_to (but keeping compatibility)
+ * ? even more POD fixes
+
+1.07 2023-01-20 lichtkind
+-------
+ * = POD fixes
+
+1.06 2023-01-20 lichtkind
+
+-------
+ * = maintenance release
+ * + simplified string serialisation method (->new(eval $string) => ->new($string))
+ * ? small POD fixes
+
1.05 2022-12-31 lichtkind
-------
- * = fixes
+ * = small enhancements
* + added getters for data hashes
* ? cleaned some sentences and comments
* ? synopsis cleanup
1.04 2022-11-04 lichtkind
-------
- * = fixes
+ * = small fixes
* & fixing meta files
* ? typos
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Graphics-Toolkit-Color-1.05/META.json new/Graphics-Toolkit-Color-1.08/META.json
--- old/Graphics-Toolkit-Color-1.05/META.json 2022-12-31 18:01:58.000000000 +0100
+++ new/Graphics-Toolkit-Color-1.08/META.json 2023-01-24 23:16:08.000000000 +0100
@@ -49,15 +49,15 @@
"provides" : {
"Graphics::Toolkit::Color" : {
"file" : "lib/Graphics/Toolkit/Color.pm",
- "version" : "1.05"
+ "version" : "1.08"
},
"Graphics::Toolkit::Color::Constant" : {
"file" : "lib/Graphics/Toolkit/Color/Constant.pm",
- "version" : "1.05"
+ "version" : "1.08"
},
"Graphics::Toolkit::Color::Value" : {
"file" : "lib/Graphics/Toolkit/Color/Value.pm",
- "version" : "1.05"
+ "version" : "1.08"
}
},
"release_status" : "stable",
@@ -68,7 +68,7 @@
"web" : "https://github.com/lichtkind/Graphics-Color-Toolkit"
}
},
- "version" : "1.05",
+ "version" : "1.08",
"x_generated_by_perl" : "v5.30.0",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.19",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Graphics-Toolkit-Color-1.05/META.yml new/Graphics-Toolkit-Color-1.08/META.yml
--- old/Graphics-Toolkit-Color-1.05/META.yml 2022-12-31 18:01:58.000000000 +0100
+++ new/Graphics-Toolkit-Color-1.08/META.yml 2023-01-24 23:16:08.000000000 +0100
@@ -20,20 +20,20 @@
provides:
Graphics::Toolkit::Color:
file: lib/Graphics/Toolkit/Color.pm
- version: '1.05'
+ version: '1.08'
Graphics::Toolkit::Color::Constant:
file: lib/Graphics/Toolkit/Color/Constant.pm
- version: '1.05'
+ version: '1.08'
Graphics::Toolkit::Color::Value:
file: lib/Graphics/Toolkit/Color/Value.pm
- version: '1.05'
+ version: '1.08'
requires:
Carp: '1.35'
Exporter: '5'
perl: v5.12.0
resources:
repository: git://github.com/lichtkind/Graphics-Color-Toolkit.git
-version: '1.05'
+version: '1.08'
x_generated_by_perl: v5.30.0
x_serialization_backend: 'YAML::Tiny version 1.73'
x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Graphics-Toolkit-Color-1.05/Makefile.PL new/Graphics-Toolkit-Color-1.08/Makefile.PL
--- old/Graphics-Toolkit-Color-1.05/Makefile.PL 2022-12-31 18:01:58.000000000 +0100
+++ new/Graphics-Toolkit-Color-1.08/Makefile.PL 2023-01-24 23:16:08.000000000 +0100
@@ -24,7 +24,7 @@
"Test::More" => "1.3",
"Test::Warn" => "0.30"
},
- "VERSION" => "1.05",
+ "VERSION" => "1.08",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Graphics-Toolkit-Color-1.05/README new/Graphics-Toolkit-Color-1.08/README
--- old/Graphics-Toolkit-Color-1.05/README 2022-12-31 18:01:58.000000000 +0100
+++ new/Graphics-Toolkit-Color-1.08/README 2023-01-24 23:16:08.000000000 +0100
@@ -6,16 +6,19 @@
say $red->add('blue')->name; # mix in RGB: 'magenta'
Graphics::Toolkit::Color->new( 0, 0, 255)->hsl; # 240, 100, 50 = blue
$blue->blend_with({H=> 0, S=> 0, L=> 80}, 0.1); # mix blue with a little grey in HSL
- $red->gradient_to( '#0000FF', 10); # 10 colors from red to blue
+ $red->rgb_gradient_to( '#0000FF', 10); # 10 colors from red to blue
$red->complementary( 3 ); # get fitting red green and blue
DESCRIPTION
- Each object has 7 attributes, which are its RGB and HSL values and if
- possible a name. This is because humans access colors on hardware level
- (eye) in RGB, on cognition level in HSL (brain) and on cultural level
- (language) with names. Having easy access to all three and some color
- math should enable you to get the color palette you desire quickly and
- with no additional dependencies.
+ Read only color holding objects with no additional dependencies. Create
+ them in many different ways (see section *CONSTRUCTOR*). Access its
+ values via methods from section *GETTER* or create related color objects
+ via methods listed under *METHODS*.
+
+ Humans access colors on hardware level (eye) in RGB, on cognition level
+ in HSL (brain) and on cultural level (language) with names. Having easy
+ access to all three and some color math should enable you to get the
+ color palette you desire quickly.
CONSTRUCTOR
There are many options to create a color objects. In short you can
@@ -89,51 +92,39 @@
my $darkblue = color([20, 20, 250]);
GETTER / ATTRIBUTES
- are all read only methods - giving access to different parts of the
- objects data.
+ are read only methods - giving access to different parts of the objects
+ data.
name
- Name of the color in the X11 or HTML (SVG) standard or the Pantone
- report. The name will be found and filled in, even when the object is
- created with RGB or HSL values. If the color is not found in any of the
- mentioned standards, it returns an empty string. All names are at:
- "NAMES" in Graphics::Toolkit::Color::Constant
+ String with name of the color in the X11 or HTML (SVG) standard or the
+ Pantone report. The name will be found and filled in, even when the
+ object is created with RGB or HSL values. If the color is not found in
+ any of the mentioned standards, it returns an empty string. All names
+ are at: "NAMES" in Graphics::Toolkit::Color::Constant
string
- String to reproduce (serialize) color object by:
- Graphics::Toolkit::Color->new (eval $string). It is either the name (if
- color has one) or the stringified triplet: "[ $red, $green, $blue ]".
+ String that can be serialized back into a color object (recreated by
+ Graphics::Toolkit::Color->new( $string )). It is either the color "name"
+ (if color has one) or result of "rgb_hex".
red
- Integer between 0 .. 255 describing the red portion in RGB space.
+ Integer between 0 .. 255 describing the red portion in RGB space. Higher
+ value means more color and an lighter color.
green
Integer between 0 .. 255 describing the green portion in RGB space.
+ Higher value means more color and an lighter color.
blue
Integer between 0 .. 255 describing the blue portion in RGB space.
-
- rgb
- Three values of red, green and blue (see above).
-
- rgb_hex
- String starting with '#', followed by six hexadecimal figures. Two
- digits for each of red, green and blue value - the format used in CSS.
-
- rgb_hash
- Reference to a *HASH* containing the keys 'red', 'green' and 'blue' with
- their respective values as defined above.
-
- hsl_hash
- Reference to a *HASH* containing the keys 'hue', 'saturation' and
- 'lightness' with their respective values as defined below.
+ Higher value means more color and an lighter color.
hue
Integer between 0 .. 359 describing the angle (in degrees) of the
circular dimension in HSL space named hue. 0 approximates red, 30 -
orange, 60 - yellow, 120 - green, 180 - cyan, 240 - blue, 270 - violet,
- 300 - magenta, 330 - pink. 0 and 360 point to the same coordinate, but
- this module only deals with 0.
+ 300 - magenta, 330 - pink. 0 and 360 point to the same coordinate. This
+ module only outputs 0, even if accepting 360 as input.
saturation
Integer between 0 .. 100 describing percentage of saturation in HSL
@@ -143,10 +134,27 @@
lightness
Integer between 0 .. 100 describing percentage of lightness in HSL
space. 0 is always black, 100 is always white and 50 the most colorful
- (depending on hue value) (or grey - if saturation = 0).
+ (depending on "hue" value) (or grey - if saturation = 0).
+
+ rgb
+ List (no *ARRAY* reference) with values of "red", "green" and "blue".
hsl
- Three values of hue, saturation and lightness (see above).
+ List (no *ARRAY* reference) with values of "hue", "saturation" and
+ "lightness".
+
+ rgb_hex
+ String starting with character '#', followed by six hexadecimal lower
+ case figures. Two digits for each of "red", "green" and "blue" value -
+ the format used in CSS (#rrggbb).
+
+ rgb_hash
+ Reference to a *HASH* containing the keys 'red', 'green' and 'blue' with
+ their respective values as defined above.
+
+ hsl_hash
+ Reference to a *HASH* containing the keys 'hue', 'saturation' and
+ 'lightness' with their respective values as defined above.
METHODS
create new, related color (objects) or compute similarity of colors
@@ -207,13 +215,13 @@
$color->blend_with( [192, 192, 192] ); # still same
my $difference = $color->blend_with( $c2, -1 );
- gradient_to
+ rgb_gradient_to
Creates a gradient (a list of colors that build a transition) between
current (C1) and a second, given color (C2).
The first argument is C2. Either as an Graphics::Toolkit::Color object
- or a scalar (name, hex or reference), which is acceptable to the method
- new.
+ or a scalar (name, hex or reference), which is acceptable to a
+ constructor.
Second argument is the number $n of colors, which make up the gradient
(including C1 and C2). It defaults to 3. These 3 colors C1, C2 and a
@@ -221,16 +229,19 @@
Third argument is also a positive number $p, which defaults to one. It
defines the dynamics of the transition between the two colors. If $p ==
- 1 you get a linear transition - meaning the distance in HSL space
- (distance_hsl) is equal from one color to the next. If $p != 1, the
- formula $n ** $p starts to create a parabola function, which defines a
- none linear mapping. For values $n > 1 the transition starts by sticking
- to C1 and slowly getting faster and faster toward C2. Values $n < 1 do
- the opposite: starting by moving fastest from C1 to C2 (big distances)
- and becoming slower and slower.
+ 1 you get a linear transition - meaning the distance in RGB space is
+ equal from one color to the next. If $p != 1, the formula $n ** $p
+ starts to create a parabola function, which defines a none linear
+ mapping. For values $n > 1 the transition starts by sticking to C1 and
+ slowly getting faster and faster toward C2. Values $n < 1 do the
+ opposite: starting by moving fastest from C1 to C2 (big distances) and
+ becoming slower and slower.
+
+ my @colors = $c->rgb_gradient_to( $grey, 5 ); # we turn to grey
+ @colors = $c1->rgb_gradient_to( [14,10,222], 10, 3 ); # none linear gradient
- my @colors = $c->gradient_to( $grey, 5 ); # we turn to grey
- @colors = $c1->gradient_to( [14,10,222], 10, 3 ); # none linear gradient
+ hsl_gradient_to
+ Same as "rgb_gradient_to" (what you normally want), but in HSL space.
complementary
Creates a set of complementary colors. It accepts 3 numerical arguments:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Graphics-Toolkit-Color-1.05/lib/Graphics/Toolkit/Color.pm new/Graphics-Toolkit-Color-1.08/lib/Graphics/Toolkit/Color.pm
--- old/Graphics-Toolkit-Color-1.05/lib/Graphics/Toolkit/Color.pm 2022-12-31 18:01:58.000000000 +0100
+++ new/Graphics-Toolkit-Color-1.08/lib/Graphics/Toolkit/Color.pm 2023-01-24 23:16:08.000000000 +0100
@@ -4,7 +4,7 @@
use v5.12;
package Graphics::Toolkit::Color;
-our $VERSION = '1.05';
+our $VERSION = '1.08';
use Carp;
use Graphics::Toolkit::Color::Constant ':all';
@@ -93,7 +93,7 @@
sub hue { $_[0][4] }
sub saturation { $_[0][5] }
sub lightness { $_[0][6] }
-sub string { $_[0][0] ? $_[0][0] : "[ $_[0][1], $_[0][2], $_[0][3] ]" }
+sub string { $_[0][0] ? $_[0][0] : $_[0]->rgb_hex }
sub rgb { @{$_[0]}[1 .. 3] }
sub hsl { @{$_[0]}[4 .. 6] }
@@ -195,8 +195,10 @@
new( __PACKAGE__, { H => $hsl[0], S => $hsl[1], L => $hsl[2] });
}
+# for compatibility
+sub gradient_to { hsl_gradient_to( @_ ) }
-sub gradient_to {
+sub hsl_gradient_to {
my ($self, $c2, $steps, $power) = @_;
return carp "need color object or definition as first argument" unless defined $c2;
$c2 = (ref $c2 eq __PACKAGE__) ? $c2 : _new_from_scalar( $c2 );
@@ -221,6 +223,27 @@
$self, @colors, $c2;
}
+sub rgb_gradient_to {
+ my ($self, $c2, $steps, $power) = @_;
+ return carp "need color object or definition as first argument" unless defined $c2;
+ $c2 = (ref $c2 eq __PACKAGE__) ? $c2 : _new_from_scalar( $c2 );
+ return unless ref $c2 eq __PACKAGE__;
+ $steps //= 3;
+ $power //= 1;
+ return carp "third argument (dynamics), has to be positive (>= 0)" if $power <= 0;
+ return $self if $steps == 1;
+ my @colors = ();
+ my @delta_rgb = ($c2->red - $self->red, $c2->green - $self->green, $c2->blue - $self->blue );
+ for my $i (1 .. $steps-2){
+ my $pos = ($i / ($steps-1)) ** $power;
+ my @rgb = ( $self->red + ($pos * $delta_rgb[0]),
+ $self->green + ($pos * $delta_rgb[1]),
+ $self->blue + ($pos * $delta_rgb[2]));
+ push @colors, new( __PACKAGE__, @rgb);
+ }
+ $self, @colors, $c2;
+}
+
sub complementary {
my ($self) = shift;
my ($count) = int ((shift // 1) + 0.5);
@@ -266,16 +289,22 @@
say $red->add('blue')->name; # mix in RGB: 'magenta'
Graphics::Toolkit::Color->new( 0, 0, 255)->hsl; # 240, 100, 50 = blue
$blue->blend_with({H=> 0, S=> 0, L=> 80}, 0.1); # mix blue with a little grey in HSL
- $red->gradient_to( '#0000FF', 10); # 10 colors from red to blue
+ $red->rgb_gradient_to( '#0000FF', 10); # 10 colors from red to blue
$red->complementary( 3 ); # get fitting red green and blue
+
=head1 DESCRIPTION
-Each object has 7 attributes, which are its RGB and HSL values and if possible a name.
-This is because humans access colors on hardware level (eye) in RGB,
-on cognition level in HSL (brain) and on cultural level (language) with names.
+Read only color holding objects with no additional dependencies.
+Create them in many different ways (see section I<CONSTRUCTOR>).
+Access its values via methods from section I<GETTER> or create related
+color objects via methods listed under I<METHODS>.
+
+Humans access colors on hardware level (eye) in RGB, on cognition level
+in HSL (brain) and on cultural level (language) with names.
Having easy access to all three and some color math should enable you to get the color
-palette you desire quickly and with no additional dependencies.
+palette you desire quickly.
+
=head1 CONSTRUCTOR
@@ -363,54 +392,37 @@
=head1 GETTER / ATTRIBUTES
-are all read only methods - giving access to different parts of the
+are read only methods - giving access to different parts of the
objects data.
=head2 name
-Name of the color in the X11 or HTML (SVG) standard or the Pantone report.
-The name will be found and filled in, even when the object is created
-with RGB or HSL values. If the color is not found in any of the mentioned
-standards, it returns an empty string. All names are
-at: L<Graphics::Toolkit::Color::Constant/NAMES>
+String with name of the color in the X11 or HTML (SVG) standard or the
+Pantone report. The name will be found and filled in, even when the object
+is created with RGB or HSL values. If the color is not found in any of
+the mentioned standards, it returns an empty string. All names are at:
+L<Graphics::Toolkit::Color::Constant/NAMES>
=head2 string
-String to reproduce (serialize) color object by:
-Graphics::Toolkit::Color->new (eval $string).
-It is either the name (if color has one) or the stringified triplet:
-"[ $red, $green, $blue ]".
+String that can be serialized back into a color object
+(recreated by Graphics::Toolkit::Color->new( $string )).
+It is either the color L</name> (if color has one) or result of L</rgb_hex>.
=head2 red
Integer between 0 .. 255 describing the red portion in RGB space.
+Higher value means more color and an lighter color.
=head2 green
Integer between 0 .. 255 describing the green portion in RGB space.
+Higher value means more color and an lighter color.
=head2 blue
Integer between 0 .. 255 describing the blue portion in RGB space.
-
-=head2 rgb
-
-Three values of red, green and blue (see above).
-
-=head2 rgb_hex
-
-String starting with '#', followed by six hexadecimal figures.
-Two digits for each of red, green and blue value - the format used in CSS.
-
-=head2 rgb_hash
-
-Reference to a I<HASH> containing the keys C<'red'>, C<'green'> and C<'blue'>
-with their respective values as defined above.
-
-=head2 hsl_hash
-
-Reference to a I<HASH> containing the keys C<'hue'>, C<'saturation'> and C<'lightness'>
-with their respective values as defined below.
+Higher value means more color and an lighter color.
=head2 hue
@@ -418,7 +430,8 @@
circular dimension in HSL space named hue.
0 approximates red, 30 - orange, 60 - yellow, 120 - green, 180 - cyan,
240 - blue, 270 - violet, 300 - magenta, 330 - pink.
-0 and 360 point to the same coordinate, but this module only deals with 0.
+0 and 360 point to the same coordinate. This module only outputs 0,
+even if accepting 360 as input.
=head2 saturation
@@ -429,11 +442,32 @@
Integer between 0 .. 100 describing percentage of lightness in HSL space.
0 is always black, 100 is always white and 50 the most colorful
-(depending on hue value) (or grey - if saturation = 0).
+(depending on L</hue> value) (or grey - if saturation = 0).
+
+=head2 rgb
+
+List (no I<ARRAY> reference) with values of L</red>, L</green> and L</blue>.
=head2 hsl
-Three values of hue, saturation and lightness (see above).
+List (no I<ARRAY> reference) with values of L</hue>, L</saturation> and L</lightness>.
+
+=head2 rgb_hex
+
+String starting with character '#', followed by six hexadecimal lower case figures.
+Two digits for each of L</red>, L</green> and L</blue> value -
+the format used in CSS (#rrggbb).
+
+=head2 rgb_hash
+
+Reference to a I<HASH> containing the keys C<'red'>, C<'green'> and C<'blue'>
+with their respective values as defined above.
+
+=head2 hsl_hash
+
+Reference to a I<HASH> containing the keys C<'hue'>, C<'saturation'> and C<'lightness'>
+with their respective values as defined above.
+
=head1 METHODS
@@ -496,13 +530,13 @@
my $difference = $color->blend_with( $c2, -1 );
-=head2 gradient_to
+=head2 rgb_gradient_to
Creates a gradient (a list of colors that build a transition) between
current (C1) and a second, given color (C2).
The first argument is C2. Either as an Graphics::Toolkit::Color object or a
-scalar (name, hex or reference), which is acceptable to the method new.
+scalar (name, hex or reference), which is acceptable to a constructor.
Second argument is the number $n of colors, which make up the gradient
(including C1 and C2). It defaults to 3. These 3 colors C1, C2 and a
@@ -510,16 +544,20 @@
Third argument is also a positive number $p, which defaults to one.
It defines the dynamics of the transition between the two colors.
-If $p == 1 you get a linear transition - meaning the distance in HSL
-space (distance_hsl) is equal from one color to the next. If $p != 1,
+If $p == 1 you get a linear transition - meaning the distance in RGB
+space is equal from one color to the next. If $p != 1,
the formula $n ** $p starts to create a parabola function, which defines
a none linear mapping. For values $n > 1 the transition starts by sticking
to C1 and slowly getting faster and faster toward C2. Values $n < 1 do
the opposite: starting by moving fastest from C1 to C2 (big distances)
and becoming slower and slower.
- my @colors = $c->gradient_to( $grey, 5 ); # we turn to grey
- @colors = $c1->gradient_to( [14,10,222], 10, 3 ); # none linear gradient
+ my @colors = $c->rgb_gradient_to( $grey, 5 ); # we turn to grey
+ @colors = $c1->rgb_gradient_to( [14,10,222], 10, 3 ); # none linear gradient
+
+=head2 hsl_gradient_to
+
+Same as L</rgb_gradient_to> (what you normally want), but in HSL space.
=head2 complementary
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Graphics-Toolkit-Color-1.05/t/03_color.t new/Graphics-Toolkit-Color-1.08/t/03_color.t
--- old/Graphics-Toolkit-Color-1.05/t/03_color.t 2022-12-31 18:01:58.000000000 +0100
+++ new/Graphics-Toolkit-Color-1.08/t/03_color.t 2023-01-24 23:16:08.000000000 +0100
@@ -54,7 +54,7 @@
is( $red->hsl_hash->{'saturation'}, 100, 'named red has correct saturation value in hsl HASH');
is( $red->hsl_hash->{'lightness'}, 50, 'named red has correct lightness value in hsl HASH');
is( $red->string, 'red', 'named red does stringify correctly');
-is( Graphics::Toolkit::Color->new(15,12,13)->string, '[ 15, 12, 13 ]', 'random color does stringify correctly');
+is( Graphics::Toolkit::Color->new(15,12,13)->string, '#0f0c0d', 'random color does stringify correctly');
$red = Graphics::Toolkit::Color->new('#FF0000');
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Git-Version-Compare for openSUSE:Factory checked in at 2023-01-31 16:10:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Git-Version-Compare (Old)
and /work/SRC/openSUSE:Factory/.perl-Git-Version-Compare.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Git-Version-Compare"
Tue Jan 31 16:10:28 2023 rev:2 rq:1062268 version:1.005
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Git-Version-Compare/perl-Git-Version-Compare.changes 2019-07-17 14:27:18.811334990 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Git-Version-Compare.new.32243/perl-Git-Version-Compare.changes 2023-01-31 16:16:32.596306099 +0100
@@ -1,0 +2,9 @@
+Sun Jan 15 03:08:25 UTC 2023 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 1.005
+ see /usr/share/doc/packages/perl-Git-Version-Compare/Changes
+
+ 1.005 2023-01-14 BOOK
+ - Accepts Git non-standard version suffixes (GNUSTAVO)
+
+-------------------------------------------------------------------
Old:
----
Git-Version-Compare-1.004.tar.gz
New:
----
Git-Version-Compare-1.005.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Git-Version-Compare.spec ++++++
--- /var/tmp/diff_new_pack.n7W3ke/_old 2023-01-31 16:16:32.976308300 +0100
+++ /var/tmp/diff_new_pack.n7W3ke/_new 2023-01-31 16:16:32.980308324 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Git-Version-Compare
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,21 +12,19 @@
# 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/
#
+%define cpan_name Git-Version-Compare
Name: perl-Git-Version-Compare
-Version: 1.004
+Version: 1.005
Release: 0
-%define cpan_name Git-Version-Compare
+License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Functions to compare Git versions
-License: Artistic-1.0 or GPL-1.0+
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Git-Version-Compare/
-Source0: http://www.cpan.org/authors/id/B/BO/BOOK/%{cpan_name}-%{version}.tar.gz
+URL: https://metacpan.org/release/%{cpan_name}
+Source0: https://cpan.metacpan.org/authors/id/B/BO/BOOK/%{cpan_name}-%{version}.tar.…
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::NoWarnings)
@@ -43,14 +41,14 @@
accumulated while developing Git::Repository.
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
%check
-%{__make} test
+make test
%install
%perl_make_install
@@ -58,7 +56,7 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes README
+%license LICENSE
%changelog
++++++ Git-Version-Compare-1.004.tar.gz -> Git-Version-Compare-1.005.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/Changes new/Git-Version-Compare-1.005/Changes
--- old/Git-Version-Compare-1.004/Changes 2016-05-24 06:03:07.000000000 +0200
+++ new/Git-Version-Compare-1.005/Changes 2023-01-14 09:58:07.000000000 +0100
@@ -1,5 +1,8 @@
Revision history for Git-Version-Compare
+1.005 2023-01-14 BOOK
+ - Accepts Git non-standard version suffixes (GNUSTAVO)
+
1.004 2016-05-24 BOOK
- Remove a dependency on namespace::clean
- Update the cache using the normalized version string
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/LICENSE new/Git-Version-Compare-1.005/LICENSE
--- old/Git-Version-Compare-1.004/LICENSE 2016-05-24 06:03:07.000000000 +0200
+++ new/Git-Version-Compare-1.005/LICENSE 2023-01-14 09:58:07.000000000 +0100
@@ -1,4 +1,4 @@
-This software is copyright (c) 2016 by Philippe Bruhat (BooK).
+This software is copyright (c) 2023 by Philippe Bruhat (BooK).
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 @@
--- The GNU General Public License, Version 1, February 1989 ---
-This software is Copyright (c) 2016 by Philippe Bruhat (BooK).
+This software is Copyright (c) 2023 by Philippe Bruhat (BooK).
This is free software, licensed under:
@@ -272,7 +272,7 @@
--- The Artistic License 1.0 ---
-This software is Copyright (c) 2016 by Philippe Bruhat (BooK).
+This software is Copyright (c) 2023 by Philippe Bruhat (BooK).
This is free software, licensed under:
@@ -292,21 +292,21 @@
- "Package" refers to the collection of files distributed by the Copyright
Holder, and derivatives of that collection of files created through
- textual modification.
+ textual modification.
- "Standard Version" refers to such a Package if it has not been modified,
or has been modified in accordance with the wishes of the Copyright
- Holder.
+ Holder.
- "Copyright Holder" is whoever is named in the copyright or copyrights for
- the package.
+ the package.
- "You" is you, if you're thinking about copying or distributing this Package.
- "Reasonable copying fee" is whatever you can justify on the basis of media
cost, duplication charges, time of people involved, and so on. (You will
not be required to justify it to the Copyright Holder, but only to the
- computing community at large as a market that must bear the fee.)
+ computing community at large as a market that must bear the fee.)
- "Freely Available" means that no fee is charged for the item itself, though
there may be fees involved in handling the item. It also means that
recipients of the item may redistribute it under the same conditions they
- received it.
+ received it.
1. You may make and give away verbatim copies of the source form of the
Standard Version of this Package without restriction, provided that you
@@ -373,7 +373,7 @@
9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
-MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
The End
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/MANIFEST new/Git-Version-Compare-1.005/MANIFEST
--- old/Git-Version-Compare-1.004/MANIFEST 2016-05-24 06:03:07.000000000 +0200
+++ new/Git-Version-Compare-1.005/MANIFEST 2023-01-14 09:58:07.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.042.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.024.
Changes
LICENSE
MANIFEST
@@ -10,10 +10,10 @@
lib/Git/Version/Compare.pm
t/00-report-prereqs.dd
t/00-report-prereqs.t
+t/author-distmeta.t
t/author-pod-coverage.t
t/author-pod-syntax.t
t/cmp_git.t
t/looks_like_git.t
t/normalize.t
t/ops.t
-t/release-distmeta.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/META.json new/Git-Version-Compare-1.005/META.json
--- old/Git-Version-Compare-1.004/META.json 2016-05-24 06:03:07.000000000 +0200
+++ new/Git-Version-Compare-1.005/META.json 2023-01-14 09:58:07.000000000 +0100
@@ -4,7 +4,7 @@
"Philippe Bruhat (BooK) <book(a)cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.042, CPAN::Meta::Converter version 2.150005",
+ "generated_by" : "Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010",
"keywords" : [
"git",
"version",
@@ -15,7 +15,7 @@
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Git-Version-Compare",
"prereqs" : {
@@ -66,10 +66,14 @@
"web" : "http://github.com/book/Git-Version-Compare"
}
},
- "version" : "1.004",
+ "version" : "1.005",
"x_contributors" : [
"Neil Bowers <neilb(a)cpan.org>",
- "Pine Mizune <pine(a)cpan.org>"
- ]
+ "Pine Mizune <pine(a)cpan.org>",
+ "Gustavo Leite de Mendon\u00e7a Chaves <gnustavo(a)cpan.org>"
+ ],
+ "x_generated_by_perl" : "v5.32.1",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.25",
+ "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/META.yml new/Git-Version-Compare-1.005/META.yml
--- old/Git-Version-Compare-1.004/META.yml 2016-05-24 06:03:07.000000000 +0200
+++ new/Git-Version-Compare-1.005/META.yml 2023-01-14 09:58:07.000000000 +0100
@@ -11,7 +11,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.042, CPAN::Meta::Converter version 2.150005'
+generated_by: 'Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010'
keywords:
- git
- version
@@ -30,7 +30,11 @@
resources:
bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Git-Version-Compare
repository: http://github.com/book/Git-Version-Compare.git
-version: '1.004'
+version: '1.005'
x_contributors:
- 'Neil Bowers <neilb(a)cpan.org>'
- 'Pine Mizune <pine(a)cpan.org>'
+ - 'Gustavo Leite de Mendon��a Chaves <gnustavo(a)cpan.org>'
+x_generated_by_perl: v5.32.1
+x_serialization_backend: 'YAML::Tiny version 1.73'
+x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/Makefile.PL new/Git-Version-Compare-1.005/Makefile.PL
--- old/Git-Version-Compare-1.004/Makefile.PL 2016-05-24 06:03:07.000000000 +0200
+++ new/Git-Version-Compare-1.005/Makefile.PL 2023-01-14 09:58:07.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.042.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.024.
use strict;
use warnings;
@@ -29,7 +29,7 @@
"Test::More" => 0,
"Test::NoWarnings" => 0
},
- "VERSION" => "1.004",
+ "VERSION" => "1.005",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/dist.ini new/Git-Version-Compare-1.005/dist.ini
--- old/Git-Version-Compare-1.004/dist.ini 2016-05-24 06:03:07.000000000 +0200
+++ new/Git-Version-Compare-1.005/dist.ini 2023-01-14 09:58:07.000000000 +0100
@@ -2,7 +2,7 @@
author = Philippe Bruhat (BooK) <book(a)cpan.org>
license = Perl_5
copyright_holder = Philippe Bruhat (BooK)
-; copyright_year = 2016
+; copyright_year = 2016-2023
[PkgVersion]
@@ -23,6 +23,9 @@
[Test::ReportPrereqs]
+[Prereqs / TestRequires]
+Test::NoWarnings =
+
[MetaJSON]
[MetaResources]
repository.web = http://github.com/book/Git-Version-Compare
@@ -54,3 +57,4 @@
[Meta::Contributors]
contributor = Neil Bowers <neilb(a)cpan.org>
contributor = Pine Mizune <pine(a)cpan.org>
+contributor = Gustavo Leite de Mendon��a Chaves <gnustavo(a)cpan.org>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/lib/Git/Version/Compare.pm new/Git-Version-Compare-1.005/lib/Git/Version/Compare.pm
--- old/Git-Version-Compare-1.004/lib/Git/Version/Compare.pm 2016-05-24 06:03:07.000000000 +0200
+++ new/Git-Version-Compare-1.005/lib/Git/Version/Compare.pm 2023-01-14 09:58:07.000000000 +0100
@@ -1,5 +1,5 @@
package Git::Version::Compare;
-$Git::Version::Compare::VERSION = '1.004';
+$Git::Version::Compare::VERSION = '1.005';
use strict;
use warnings;
use Exporter;
@@ -62,7 +62,7 @@
return scalar $_[0] =~
/^(?:v|git\ version\ )? # prefix
[0-9]+(?:[.-](?:0[ab]?|[1-9][0-9a-z]*|[a-zA-Z]+))* # x.y.z.*
- (?:[.-]?rc[0-9]+)? # rc
+ (?:[.-]?[a-z]+[0-9]+)? # rc or vendor specific suffixes
(?:[.-](GIT|[1-9][0-9]*[.-]g[A-Fa-f0-9]+))? # devel
(?:\ .*)? # comment
$/x;
@@ -209,6 +209,10 @@
(and can therefore be parsed by C<Git::Version::Number>) and false
otherwise.
+It accepts the version strings from all standard Git versions and from some
+non-standard Gits as well, such as GitLab's embedded Git which uses a special
+suffix like C<.gl1>.
+
=head1 EXPORT TAGS
=head2 :ops
@@ -306,7 +310,7 @@
=head1 COPYRIGHT
-Copyright 2016 Philippe Bruhat (BooK), all rights reserved.
+Copyright 2016-2023 Philippe Bruhat (BooK), all rights reserved.
=head1 LICENSE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/t/00-report-prereqs.t new/Git-Version-Compare-1.005/t/00-report-prereqs.t
--- old/Git-Version-Compare-1.004/t/00-report-prereqs.t 2016-05-24 06:03:07.000000000 +0200
+++ new/Git-Version-Compare-1.005/t/00-report-prereqs.t 2023-01-14 09:58:07.000000000 +0100
@@ -3,7 +3,7 @@
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.021
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.028
use Test::More tests => 1;
@@ -68,7 +68,7 @@
);
# Add static prereqs to the included modules list
-my $static_prereqs = do 't/00-report-prereqs.dd';
+my $static_prereqs = do './t/00-report-prereqs.dd';
# Merge all prereqs (either with ::Prereqs or a hashref)
my $full_prereqs = _merge_prereqs(
@@ -78,12 +78,14 @@
# Add dynamic prereqs to the included modules list (if we can)
my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
-if ( $source && $HAS_CPAN_META ) {
- if ( my $meta = eval { CPAN::Meta->load_file($source) } ) {
- $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
- }
+my $cpan_meta_error;
+if ( $source && $HAS_CPAN_META
+ && (my $meta = eval { CPAN::Meta->load_file($source) } )
+) {
+ $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
}
else {
+ $cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source)
$source = 'static metadata';
}
@@ -169,15 +171,23 @@
diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports;
}
+if ( $cpan_meta_error || @dep_errors ) {
+ diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n";
+}
+
+if ( $cpan_meta_error ) {
+ my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
+ diag "\nCPAN::Meta->load_file('$orig_source') failed with: $cpan_meta_error\n";
+}
+
if ( @dep_errors ) {
diag join("\n",
- "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n",
- "The following REQUIRED prerequisites were not satisfied:\n",
+ "\nThe following REQUIRED prerequisites were not satisfied:\n",
@dep_errors,
"\n"
);
}
-pass;
+pass('Reported prereqs');
# vim: ts=4 sts=4 sw=4 et:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/t/author-distmeta.t new/Git-Version-Compare-1.005/t/author-distmeta.t
--- old/Git-Version-Compare-1.004/t/author-distmeta.t 1970-01-01 01:00:00.000000000 +0100
+++ new/Git-Version-Compare-1.005/t/author-distmeta.t 2023-01-14 09:58:07.000000000 +0100
@@ -0,0 +1,14 @@
+#!perl
+
+BEGIN {
+ unless ($ENV{AUTHOR_TESTING}) {
+ print qq{1..0 # SKIP these tests are for testing by the author\n};
+ exit
+ }
+}
+
+# This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
+
+use Test::CPAN::Meta;
+
+meta_yaml_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/t/author-pod-coverage.t new/Git-Version-Compare-1.005/t/author-pod-coverage.t
--- old/Git-Version-Compare-1.004/t/author-pod-coverage.t 2016-05-24 06:03:07.000000000 +0200
+++ new/Git-Version-Compare-1.005/t/author-pod-coverage.t 2023-01-14 09:58:07.000000000 +0100
@@ -2,8 +2,8 @@
BEGIN {
unless ($ENV{AUTHOR_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for testing by the author');
+ print qq{1..0 # SKIP these tests are for testing by the author\n};
+ exit
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/t/author-pod-syntax.t new/Git-Version-Compare-1.005/t/author-pod-syntax.t
--- old/Git-Version-Compare-1.004/t/author-pod-syntax.t 2016-05-24 06:03:07.000000000 +0200
+++ new/Git-Version-Compare-1.005/t/author-pod-syntax.t 2023-01-14 09:58:07.000000000 +0100
@@ -2,8 +2,8 @@
BEGIN {
unless ($ENV{AUTHOR_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for testing by the author');
+ print qq{1..0 # SKIP these tests are for testing by the author\n};
+ exit
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/t/looks_like_git.t new/Git-Version-Compare-1.005/t/looks_like_git.t
--- old/Git-Version-Compare-1.004/t/looks_like_git.t 2016-05-24 06:03:07.000000000 +0200
+++ new/Git-Version-Compare-1.005/t/looks_like_git.t 2023-01-14 09:58:07.000000000 +0100
@@ -33,6 +33,10 @@
'0.99.9h', '1.0.rc1', '0.99.9i', '1.0.rc2', '0.99.9j', '1.0.rc3',
'0.99.9k', '0.99.9l', '1.0.rc4', '0.99.9m', '1.0.rc5', '0.99.9n',
'1.0.rc6', '1.0.0a', '1.0.0b',
+
+ # vendor specific versions
+ # GitLab embedded git
+ '2.37.1.gl1',
);
# non-git version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Git-Version-Compare-1.004/t/release-distmeta.t new/Git-Version-Compare-1.005/t/release-distmeta.t
--- old/Git-Version-Compare-1.004/t/release-distmeta.t 2016-05-24 06:03:07.000000000 +0200
+++ new/Git-Version-Compare-1.005/t/release-distmeta.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-#!perl
-
-BEGIN {
- unless ($ENV{RELEASE_TESTING}) {
- require Test::More;
- Test::More::plan(skip_all => 'these tests are for release candidate testing');
- }
-}
-
-# This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
-
-use Test::CPAN::Meta;
-
-meta_yaml_ok();
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Email-Simple for openSUSE:Factory checked in at 2023-01-31 16:10:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Email-Simple (Old)
and /work/SRC/openSUSE:Factory/.perl-Email-Simple.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Email-Simple"
Tue Jan 31 16:10:21 2023 rev:20 rq:1062261 version:2.218
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Email-Simple/perl-Email-Simple.changes 2018-06-22 13:30:54.448577134 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Email-Simple.new.32243/perl-Email-Simple.changes 2023-01-31 16:16:26.900273097 +0100
@@ -1,0 +2,16 @@
+Mon Jan 9 03:08:05 UTC 2023 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 2.218
+ see /usr/share/doc/packages/perl-Email-Simple/Changes
+
+ 2.218 2023-01-08 19:49:09-05:00 America/New_York
+ - update author contact info
+ - bump version required to v5.12.0 (it was already effectively that
+ after some upstream changes)
+
+ 2.217 2020-11-02 19:13:16-05:00 America/New_York (TRIAL RELEASE)
+ - add ->header_rename to header object
+ - issue a warning on non-ASCII codepoints added to message (thanks,
+ Pali Roh��r)
+
+-------------------------------------------------------------------
Old:
----
Email-Simple-2.216.tar.gz
New:
----
Email-Simple-2.218.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Email-Simple.spec ++++++
--- /var/tmp/diff_new_pack.PjBN2o/_old 2023-01-31 16:16:27.312275484 +0100
+++ /var/tmp/diff_new_pack.PjBN2o/_new 2023-01-31 16:16:27.316275507 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Email-Simple
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,25 +12,24 @@
# 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/
#
+%define cpan_name Email-Simple
Name: perl-Email-Simple
-Version: 2.216
+Version: 2.218
Release: 0
-%define cpan_name Email-Simple
-Summary: Simple Parsing of Rfc2822 Message Format and Headers
License: Artistic-1.0 OR GPL-1.0-or-later
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Email-Simple/
+Summary: Simple parsing of RFC2822 message format and headers
+URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.…
Source1: cpanspec.yml
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Email::Date::Format)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.78
BuildRequires: perl(Test::More) >= 0.96
Requires: perl(Email::Date::Format)
%{perl_requires}
@@ -42,14 +41,14 @@
fast, minimal in their external dependencies, and correct.
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
%check
-%{__make} test
+make test
%install
%perl_make_install
@@ -57,7 +56,6 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes README
%license LICENSE
++++++ Email-Simple-2.216.tar.gz -> Email-Simple-2.218.tar.gz ++++++
++++ 1989 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Email-MIME-ContentType for openSUSE:Factory checked in at 2023-01-31 16:10:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Email-MIME-ContentType (Old)
and /work/SRC/openSUSE:Factory/.perl-Email-MIME-ContentType.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Email-MIME-ContentType"
Tue Jan 31 16:10:21 2023 rev:7 rq:1062260 version:1.028
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Email-MIME-ContentType/perl-Email-MIME-ContentType.changes 2022-09-09 18:29:21.465241147 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Email-MIME-ContentType.new.32243/perl-Email-MIME-ContentType.changes 2023-01-31 16:16:25.992267837 +0100
@@ -1,0 +2,9 @@
+Mon Jan 9 03:07:28 UTC 2023 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 1.028
+ see /usr/share/doc/packages/perl-Email-MIME-ContentType/Changes
+
+ 1.028 2023-01-08 19:26:20-05:00 America/New_York
+ - update author info
+
+-------------------------------------------------------------------
Old:
----
Email-MIME-ContentType-1.027.tar.gz
New:
----
Email-MIME-ContentType-1.028.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Email-MIME-ContentType.spec ++++++
--- /var/tmp/diff_new_pack.UffWrP/_old 2023-01-31 16:16:26.444270455 +0100
+++ /var/tmp/diff_new_pack.UffWrP/_new 2023-01-31 16:16:26.448270478 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Email-MIME-ContentType
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%define cpan_name Email-MIME-ContentType
Name: perl-Email-MIME-ContentType
-Version: 1.027
+Version: 1.028
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Parse and build a MIME Content-Type or Content-Disposition Header
++++++ Email-MIME-ContentType-1.027.tar.gz -> Email-MIME-ContentType-1.028.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-ContentType-1.027/Changes new/Email-MIME-ContentType-1.028/Changes
--- old/Email-MIME-ContentType-1.027/Changes 2022-09-04 11:11:44.000000000 +0200
+++ new/Email-MIME-ContentType-1.028/Changes 2023-01-09 01:26:21.000000000 +0100
@@ -1,5 +1,8 @@
Revision history for Perl extension Email::MIME::ContentType
+1.028 2023-01-08 19:26:20-05:00 America/New_York
+ - update author info
+
1.027 2022-09-04 04:11:43-05:00 America/Chicago
- add a (for now undocumented) $PRE_2231_FORM package variable; if set
to false, when RFC2231-style parameters are used, a pre-RFC2231-style
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-ContentType-1.027/MANIFEST new/Email-MIME-ContentType-1.028/MANIFEST
--- old/Email-MIME-ContentType-1.027/MANIFEST 2022-09-04 11:11:44.000000000 +0200
+++ new/Email-MIME-ContentType-1.028/MANIFEST 2023-01-09 01:26:21.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.025.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.030.
Changes
LICENSE
MANIFEST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-ContentType-1.027/META.json new/Email-MIME-ContentType-1.028/META.json
--- old/Email-MIME-ContentType-1.027/META.json 2022-09-04 11:11:44.000000000 +0200
+++ new/Email-MIME-ContentType-1.028/META.json 2023-01-09 01:26:21.000000000 +0100
@@ -3,10 +3,10 @@
"author" : [
"Simon Cozens <simon(a)cpan.org>",
"Casey West <casey(a)geeknest.com>",
- "Ricardo Signes <rjbs(a)semiotic.systems>"
+ "Ricardo Signes <cpan(a)semiotic.systems>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
@@ -24,7 +24,8 @@
"develop" : {
"requires" : {
"Test::More" : "0",
- "Test::Pod" : "1.41"
+ "Test::Pod" : "1.41",
+ "strict" : "0"
}
},
"runtime" : {
@@ -34,7 +35,6 @@
"Exporter" : "5.57",
"Text::Unidecode" : "0",
"perl" : "5.012",
- "strict" : "0",
"warnings" : "0"
}
},
@@ -45,7 +45,8 @@
"requires" : {
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
- "Test::More" : "0.96"
+ "Test::More" : "0.96",
+ "strict" : "0"
}
}
},
@@ -61,7 +62,7 @@
"web" : "https://github.com/rjbs/Email-MIME-ContentType"
}
},
- "version" : "1.027",
+ "version" : "1.028",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.037002"
@@ -133,57 +134,57 @@
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@RJBS/@Filter/PruneCruft",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@RJBS/@Filter/ManifestSkip",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@RJBS/@Filter/MetaYAML",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@RJBS/@Filter/License",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@RJBS/@Filter/Readme",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@RJBS/@Filter/ExecDir",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@RJBS/@Filter/ShareDir",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@RJBS/@Filter/Manifest",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@RJBS/@Filter/TestRelease",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@RJBS/@Filter/ConfirmRelease",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@RJBS/@Filter/UploadToCPAN",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
@@ -193,12 +194,12 @@
}
},
"name" : "@RJBS/MakeMaker",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@RJBS/AutoPrereqs",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
@@ -209,7 +210,7 @@
"version_regexp" : "(?^:^([0-9]+\\.[0-9]+)$)"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.37.1",
+ "git_version" : "2.38.0",
"repo_root" : "."
}
},
@@ -219,22 +220,22 @@
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
@@ -244,12 +245,12 @@
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
"name" : "@RJBS/Test::ReportPrereqs",
- "version" : "0.028"
+ "version" : "0.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::Remote::Check",
@@ -265,7 +266,7 @@
}
},
"name" : "@RJBS/TestMoreWithSubtests",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -330,6 +331,11 @@
"version" : "4.018"
},
{
+ "class" : "Pod::Weaver::Section::GenerateSection",
+ "name" : "@RJBS/PerlSupport",
+ "version" : "4.018"
+ },
+ {
"class" : "Pod::Weaver::Section::Collect",
"name" : "Attributes",
"version" : "4.018"
@@ -383,7 +389,7 @@
{
"class" : "Dist::Zilla::Plugin::RJBSMisc",
"name" : "@RJBS/RJBSMisc",
- "version" : "5.020"
+ "version" : "5.021"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
@@ -405,7 +411,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.37.1",
+ "git_version" : "2.38.0",
"repo_root" : "."
}
},
@@ -429,7 +435,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.37.1",
+ "git_version" : "2.38.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -446,12 +452,12 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "1.027",
+ "tag" : "1.028",
"tag_format" : "%v",
"tag_message" : "v%V"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.37.1",
+ "git_version" : "2.38.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -471,7 +477,7 @@
"remotes_must_exist" : 0
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.37.1",
+ "git_version" : "2.38.0",
"repo_root" : "."
}
},
@@ -482,7 +488,7 @@
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
- "git_version" : "2.37.1",
+ "git_version" : "2.38.0",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
@@ -495,52 +501,52 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExtraTestFiles",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":PerlExecFiles",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "6.025"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "6.025"
+ "version" : "6.030"
}
],
"zilla" : {
@@ -548,16 +554,17 @@
"config" : {
"is_trial" : 0
},
- "version" : "6.025"
+ "version" : "6.030"
}
},
"x_contributors" : [
"Matthew Green <mrg(a)eterna.com.au>",
"Pali <pali(a)cpan.org>",
+ "Ricardo Signes <rjbs(a)semiotic.systems>",
"Thomas Szukala <ts(a)abusix.com>"
],
"x_generated_by_perl" : "v5.37.2",
- "x_rjbs_perl_window" : null,
+ "x_rjbs_perl_window" : "long-term",
"x_serialization_backend" : "Cpanel::JSON::XS version 4.30",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-ContentType-1.027/META.yml new/Email-MIME-ContentType-1.028/META.yml
--- old/Email-MIME-ContentType-1.027/META.yml 2022-09-04 11:11:44.000000000 +0200
+++ new/Email-MIME-ContentType-1.028/META.yml 2023-01-09 01:26:21.000000000 +0100
@@ -3,15 +3,16 @@
author:
- 'Simon Cozens <simon(a)cpan.org>'
- 'Casey West <casey(a)geeknest.com>'
- - 'Ricardo Signes <rjbs(a)semiotic.systems>'
+ - 'Ricardo Signes <cpan(a)semiotic.systems>'
build_requires:
ExtUtils::MakeMaker: '0'
File::Spec: '0'
Test::More: '0.96'
+ strict: '0'
configure_requires:
ExtUtils::MakeMaker: '6.78'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -23,13 +24,12 @@
Exporter: '5.57'
Text::Unidecode: '0'
perl: '5.012'
- strict: '0'
warnings: '0'
resources:
bugtracker: https://github.com/rjbs/Email-MIME-ContentType/issues
homepage: https://github.com/rjbs/Email-MIME-ContentType
repository: https://github.com/rjbs/Email-MIME-ContentType.git
-version: '1.027'
+version: '1.028'
x_Dist_Zilla:
perl:
version: '5.037002'
@@ -86,58 +86,58 @@
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@RJBS/@Filter/PruneCruft'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@RJBS/@Filter/ManifestSkip'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@RJBS/@Filter/MetaYAML'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::License
name: '@RJBS/@Filter/License'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::Readme
name: '@RJBS/@Filter/Readme'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@RJBS/@Filter/ExecDir'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@RJBS/@Filter/ShareDir'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::Manifest
name: '@RJBS/@Filter/Manifest'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::TestRelease
name: '@RJBS/@Filter/TestRelease'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@RJBS/@Filter/ConfirmRelease'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@RJBS/@Filter/UploadToCPAN'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::MakeMaker
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 9
name: '@RJBS/MakeMaker'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@RJBS/AutoPrereqs'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::Git::NextVersion
config:
@@ -146,26 +146,26 @@
version_by_branch: 1
version_regexp: (?^:^([0-9]+\.[0-9]+)$)
Dist::Zilla::Role::Git::Repo:
- git_version: 2.37.1
+ git_version: 2.38.0
repo_root: .
name: '@RJBS/Git::NextVersion'
version: '2.048'
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@RJBS/Test::ChangesHasContent'
@@ -173,11 +173,11 @@
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::Test::ReportPrereqs
name: '@RJBS/Test::ReportPrereqs'
- version: '0.028'
+ version: '0.029'
-
class: Dist::Zilla::Plugin::Git::Remote::Check
name: '@RJBS/Git::Remote::Check'
@@ -189,7 +189,7 @@
phase: test
type: requires
name: '@RJBS/TestMoreWithSubtests'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::PodWeaver
config:
@@ -241,6 +241,10 @@
name: '@RJBS/Stability'
version: '4.018'
-
+ class: Pod::Weaver::Section::GenerateSection
+ name: '@RJBS/PerlSupport'
+ version: '4.018'
+ -
class: Pod::Weaver::Section::Collect
name: Attributes
version: '4.018'
@@ -281,7 +285,7 @@
-
class: Dist::Zilla::Plugin::RJBSMisc
name: '@RJBS/RJBSMisc'
- version: '5.020'
+ version: '5.021'
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@RJBS/GithubMeta'
@@ -298,7 +302,7 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.37.1
+ git_version: 2.38.0
repo_root: .
name: '@RJBS/@Git/Check'
version: '2.048'
@@ -316,7 +320,7 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.37.1
+ git_version: 2.38.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
@@ -329,11 +333,11 @@
branch: ~
changelog: Changes
signed: 0
- tag: '1.027'
+ tag: '1.028'
tag_format: '%v'
tag_message: v%V
Dist::Zilla::Role::Git::Repo:
- git_version: 2.37.1
+ git_version: 2.38.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
@@ -347,7 +351,7 @@
- 'github :'
remotes_must_exist: 0
Dist::Zilla::Role::Git::Repo:
- git_version: 2.37.1
+ git_version: 2.38.0
repo_root: .
name: '@RJBS/@Git/Push'
version: '2.048'
@@ -355,7 +359,7 @@
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
- git_version: 2.37.1
+ git_version: 2.38.0
include_authors: 0
include_releaser: 1
order_by: name
@@ -365,53 +369,54 @@
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExtraTestFiles'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':PerlExecFiles'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: '6.025'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: '6.025'
+ version: '6.030'
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: '6.025'
+ version: '6.030'
x_contributors:
- 'Matthew Green <mrg(a)eterna.com.au>'
- 'Pali <pali(a)cpan.org>'
+ - 'Ricardo Signes <rjbs(a)semiotic.systems>'
- 'Thomas Szukala <ts(a)abusix.com>'
x_generated_by_perl: v5.37.2
-x_rjbs_perl_window: ~
+x_rjbs_perl_window: long-term
x_serialization_backend: 'YAML::Tiny version 1.73'
x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-ContentType-1.027/Makefile.PL new/Email-MIME-ContentType-1.028/Makefile.PL
--- old/Email-MIME-ContentType-1.027/Makefile.PL 2022-09-04 11:11:44.000000000 +0200
+++ new/Email-MIME-ContentType-1.028/Makefile.PL 2023-01-09 01:26:21.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.025.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.030.
use strict;
use warnings;
@@ -8,7 +8,7 @@
my %WriteMakefileArgs = (
"ABSTRACT" => "Parse and build a MIME Content-Type or Content-Disposition Header",
- "AUTHOR" => "Simon Cozens <simon\(a)cpan.org>, Casey West <casey\(a)geeknest.com>, Ricardo Signes <rjbs\(a)semiotic.systems>",
+ "AUTHOR" => "Simon Cozens <simon\(a)cpan.org>, Casey West <casey\(a)geeknest.com>, Ricardo Signes <cpan\(a)semiotic.systems>",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.78"
},
@@ -21,15 +21,15 @@
"Encode" => "2.87",
"Exporter" => "5.57",
"Text::Unidecode" => 0,
- "strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
- "Test::More" => "0.96"
+ "Test::More" => "0.96",
+ "strict" => 0
},
- "VERSION" => "1.027",
+ "VERSION" => "1.028",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-ContentType-1.027/README new/Email-MIME-ContentType-1.028/README
--- old/Email-MIME-ContentType-1.027/README 2022-09-04 11:11:44.000000000 +0200
+++ new/Email-MIME-ContentType-1.028/README 2023-01-09 01:26:21.000000000 +0100
@@ -1,5 +1,5 @@
This archive contains the distribution Email-MIME-ContentType,
-version 1.027:
+version 1.028:
Parse and build a MIME Content-Type or Content-Disposition Header
@@ -9,4 +9,4 @@
the same terms as the Perl 5 programming language system itself.
-This README file was generated by Dist::Zilla::Plugin::Readme v6.025.
+This README file was generated by Dist::Zilla::Plugin::Readme v6.030.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-ContentType-1.027/dist.ini new/Email-MIME-ContentType-1.028/dist.ini
--- old/Email-MIME-ContentType-1.027/dist.ini 2022-09-04 11:11:44.000000000 +0200
+++ new/Email-MIME-ContentType-1.028/dist.ini 2023-01-09 01:26:21.000000000 +0100
@@ -1,10 +1,10 @@
name = Email-MIME-ContentType
author = Simon Cozens <simon(a)cpan.org>
author = Casey West <casey(a)geeknest.com>
-author = Ricardo Signes <rjbs(a)semiotic.systems>
+author = Ricardo Signes <cpan(a)semiotic.systems>
license = Perl_5
copyright_holder = Simon Cozens
copyright_year = 2004
-perl-window = long-term
[@RJBS]
+perl-window = long-term
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-ContentType-1.027/lib/Email/MIME/ContentType.pm new/Email-MIME-ContentType-1.028/lib/Email/MIME/ContentType.pm
--- old/Email-MIME-ContentType-1.027/lib/Email/MIME/ContentType.pm 2022-09-04 11:11:44.000000000 +0200
+++ new/Email-MIME-ContentType-1.028/lib/Email/MIME/ContentType.pm 2023-01-09 01:26:21.000000000 +0100
@@ -1,6 +1,6 @@
-use strict;
+use v5.12.0;
use warnings;
-package Email::MIME::ContentType 1.027;
+package Email::MIME::ContentType 1.028;
# ABSTRACT: Parse and build a MIME Content-Type or Content-Disposition Header
use Carp;
@@ -95,7 +95,7 @@
my $ct = shift;
# If the header isn't there or is empty, give default answer.
- return parse_content_type($ct_default) unless defined $ct and length $ct;
+ return parse_content_type($ct_default) unless length $ct;
_unfold_lines($ct);
_clean_comments($ct);
@@ -138,7 +138,7 @@
sub parse_content_disposition {
my $cd = shift;
- return parse_content_disposition($cd_default) unless defined $cd and length $cd;
+ return parse_content_disposition($cd_default) unless length $cd;
_unfold_lines($cd);
_clean_comments($cd);
@@ -538,7 +538,7 @@
=head1 VERSION
-version 1.027
+version 1.028
=head1 SYNOPSIS
@@ -597,6 +597,16 @@
my $cd_new = build_content_disposition($data);
# attachment; filename=genome.jpeg; modification-date="Wed, 12 Feb 1997 16:29:51 -0500"
+=head1 PERL VERSION
+
+This library should run on perls released even a long time ago. It should work
+on any version of perl released in the last five years.
+
+Although it may work on older versions of perl, no guarantee is made that the
+minimum required version will not be increased. The version may be increased
+for any reason, and there is no promise that patches will be accepted to lower
+the minimum required perl.
+
=head1 FUNCTIONS
=head2 parse_content_type
@@ -677,13 +687,13 @@
=item *
-Ricardo Signes <rjbs(a)semiotic.systems>
+Ricardo Signes <cpan(a)semiotic.systems>
=back
=head1 CONTRIBUTORS
-=for stopwords Matthew Green Pali Thomas Szukala
+=for stopwords Matthew Green Pali Ricardo Signes Thomas Szukala
=over 4
@@ -697,6 +707,10 @@
=item *
+Ricardo Signes <rjbs(a)semiotic.systems>
+
+=item *
+
Thomas Szukala <ts(a)abusix.com>
=back
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-ContentType-1.027/t/00-report-prereqs.dd new/Email-MIME-ContentType-1.028/t/00-report-prereqs.dd
--- old/Email-MIME-ContentType-1.027/t/00-report-prereqs.dd 2022-09-04 11:11:44.000000000 +0200
+++ new/Email-MIME-ContentType-1.028/t/00-report-prereqs.dd 2023-01-09 01:26:21.000000000 +0100
@@ -7,7 +7,8 @@
'develop' => {
'requires' => {
'Test::More' => '0',
- 'Test::Pod' => '1.41'
+ 'Test::Pod' => '1.41',
+ 'strict' => '0'
}
},
'runtime' => {
@@ -17,7 +18,6 @@
'Exporter' => '5.57',
'Text::Unidecode' => '0',
'perl' => '5.012',
- 'strict' => '0',
'warnings' => '0'
}
},
@@ -28,7 +28,8 @@
'requires' => {
'ExtUtils::MakeMaker' => '0',
'File::Spec' => '0',
- 'Test::More' => '0.96'
+ 'Test::More' => '0.96',
+ 'strict' => '0'
}
}
};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-ContentType-1.027/t/00-report-prereqs.t new/Email-MIME-ContentType-1.028/t/00-report-prereqs.t
--- old/Email-MIME-ContentType-1.027/t/00-report-prereqs.t 2022-09-04 11:11:44.000000000 +0200
+++ new/Email-MIME-ContentType-1.028/t/00-report-prereqs.t 2023-01-09 01:26:21.000000000 +0100
@@ -3,7 +3,7 @@
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.028
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.029
use Test::More tests => 1;
@@ -109,20 +109,24 @@
my @reports = [qw/Module Want Have/];
for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) {
- next if $mod eq 'perl';
next if grep { $_ eq $mod } @exclude;
- my $file = $mod;
- $file =~ s{::}{/}g;
- $file .= ".pm";
- my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC;
-
my $want = $req_hash->{$phase}{$type}{$mod};
$want = "undef" unless defined $want;
$want = "any" if !$want && $want == 0;
+ if ($mod eq 'perl') {
+ push @reports, ['perl', $want, $]];
+ next;
+ }
+
my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required";
+ my $file = $mod;
+ $file =~ s{::}{/}g;
+ $file .= ".pm";
+ my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC;
+
if ($prefix) {
my $have = MM->parse_version( File::Spec->catfile($prefix, $file) );
$have = "undef" unless defined $have;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-ContentType-1.027/xt/release/changes_has_content.t new/Email-MIME-ContentType-1.028/xt/release/changes_has_content.t
--- old/Email-MIME-ContentType-1.027/xt/release/changes_has_content.t 2022-09-04 11:11:44.000000000 +0200
+++ new/Email-MIME-ContentType-1.028/xt/release/changes_has_content.t 2023-01-09 01:26:21.000000000 +0100
@@ -2,7 +2,7 @@
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '1.027';
+my $newver = '1.028';
my $trial_token = '-TRIAL';
my $encoding = 'UTF-8';
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Email-MIME for openSUSE:Factory checked in at 2023-01-31 16:10:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Email-MIME (Old)
and /work/SRC/openSUSE:Factory/.perl-Email-MIME.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Email-MIME"
Tue Jan 31 16:10:19 2023 rev:5 rq:1062259 version:1.953
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Email-MIME/perl-Email-MIME.changes 2022-01-04 19:38:29.258008400 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Email-MIME.new.32243/perl-Email-MIME.changes 2023-01-31 16:16:25.316263920 +0100
@@ -1,0 +2,13 @@
+Mon Jan 9 03:06:50 UTC 2023 - Tina M��ller <timueller+perl(a)suse.de>
+
+- updated to 1.953
+ see /usr/share/doc/packages/perl-Email-MIME/Changes
+
+ 1.953 2023-01-08 19:02:24-05:00 America/New_York
+ - as promised, this release no longer works on v5.8; in fact, due to
+ some upstream libraries, it hasn't in some time
+ - documentation has been cleaned up to stop referencing long-dead other
+ libraries or methods
+ - some small code changes to benefit from v5.10 and v5.12 improvements
+
+-------------------------------------------------------------------
Old:
----
Email-MIME-1.952.tar.gz
New:
----
Email-MIME-1.953.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Email-MIME.spec ++++++
--- /var/tmp/diff_new_pack.Wxq5vn/_old 2023-01-31 16:16:25.724266283 +0100
+++ /var/tmp/diff_new_pack.Wxq5vn/_new 2023-01-31 16:16:25.732266330 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Email-MIME
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,10 +18,10 @@
%define cpan_name Email-MIME
Name: perl-Email-MIME
-Version: 1.952
+Version: 1.953
Release: 0
-Summary: Easy MIME message handling
License: Artistic-1.0 OR GPL-1.0-or-later
+Summary: Easy MIME message handling
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.…
Source1: cpanspec.yml
++++++ Email-MIME-1.952.tar.gz -> Email-MIME-1.953.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/Changes new/Email-MIME-1.953/Changes
--- old/Email-MIME-1.952/Changes 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/Changes 2023-01-09 01:02:26.000000000 +0100
@@ -1,5 +1,12 @@
Revision history for Perl extension Email::MIME.
+1.953 2023-01-08 19:02:24-05:00 America/New_York
+ - as promised, this release no longer works on v5.8; in fact, due to
+ some upstream libraries, it hasn't in some time
+ - documentation has been cleaned up to stop referencing long-dead other
+ libraries or methods
+ - some small code changes to benefit from v5.10 and v5.12 improvements
+
1.952 2021-12-14 09:57:27-05:00 America/New_York
- exactly 1.951, except will install on 5.8.8
- **ACHTUNG!** Do not expect any future release to work on Perl v5.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/MANIFEST new/Email-MIME-1.953/MANIFEST
--- old/Email-MIME-1.952/MANIFEST 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/MANIFEST 2023-01-09 01:02:26.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.024.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.030.
Changes
LICENSE
MANIFEST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/META.json new/Email-MIME-1.953/META.json
--- old/Email-MIME-1.952/META.json 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/META.json 2023-01-09 01:02:26.000000000 +0100
@@ -1,12 +1,12 @@
{
"abstract" : "easy MIME message handling",
"author" : [
- "Ricardo SIGNES <rjbs(a)semiotic.systems>",
+ "Ricardo SIGNES <cpan(a)semiotic.systems>",
"Casey West <casey(a)geeknest.com>",
"Simon Cozens <simon(a)cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
@@ -43,7 +43,7 @@
"Module::Runtime" : "0",
"Scalar::Util" : "0",
"parent" : "0",
- "perl" : "5.008001",
+ "perl" : "5.012",
"strict" : "0",
"warnings" : "0"
}
@@ -55,7 +55,6 @@
"requires" : {
"ExtUtils::MakeMaker" : "0",
"File::Spec" : "0",
- "Symbol" : "0",
"Test::More" : "0.96",
"utf8" : "0"
}
@@ -73,10 +72,10 @@
"web" : "https://github.com/rjbs/Email-MIME"
}
},
- "version" : "1.952",
+ "version" : "1.953",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.035005"
+ "version" : "5.037002"
},
"plugins" : [
{
@@ -145,57 +144,57 @@
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@RJBS/@Filter/PruneCruft",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@RJBS/@Filter/ManifestSkip",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@RJBS/@Filter/MetaYAML",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@RJBS/@Filter/License",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@RJBS/@Filter/Readme",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@RJBS/@Filter/ExecDir",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@RJBS/@Filter/ShareDir",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@RJBS/@Filter/Manifest",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@RJBS/@Filter/TestRelease",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@RJBS/@Filter/ConfirmRelease",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@RJBS/@Filter/UploadToCPAN",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
@@ -205,12 +204,12 @@
}
},
"name" : "@RJBS/MakeMaker",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@RJBS/AutoPrereqs",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
@@ -221,7 +220,7 @@
"version_regexp" : "(?^:^([0-9]+\\.[0-9]+)$)"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.30.1 (Apple Git-130)",
+ "git_version" : "2.38.0",
"repo_root" : "."
}
},
@@ -231,22 +230,22 @@
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
@@ -256,12 +255,12 @@
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
"name" : "@RJBS/Test::ReportPrereqs",
- "version" : "0.028"
+ "version" : "0.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::Remote::Check",
@@ -277,7 +276,7 @@
}
},
"name" : "@RJBS/TestMoreWithSubtests",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -400,7 +399,7 @@
{
"class" : "Dist::Zilla::Plugin::RJBSMisc",
"name" : "@RJBS/RJBSMisc",
- "version" : "5.020"
+ "version" : "5.021"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
@@ -422,7 +421,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.30.1 (Apple Git-130)",
+ "git_version" : "2.38.0",
"repo_root" : "."
}
},
@@ -446,7 +445,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.30.1 (Apple Git-130)",
+ "git_version" : "2.38.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -463,12 +462,12 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "1.952",
+ "tag" : "1.953",
"tag_format" : "%v",
"tag_message" : "v%V"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.30.1 (Apple Git-130)",
+ "git_version" : "2.38.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -488,7 +487,7 @@
"remotes_must_exist" : 0
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.30.1 (Apple Git-130)",
+ "git_version" : "2.38.0",
"repo_root" : "."
}
},
@@ -499,7 +498,7 @@
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
- "git_version" : "2.30.1 (Apple Git-130)",
+ "git_version" : "2.38.0",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
@@ -518,62 +517,62 @@
}
},
"name" : "Prereqs",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::Encoding",
"name" : "Encoding",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExtraTestFiles",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":PerlExecFiles",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "6.024"
+ "version" : "6.030"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "6.024"
+ "version" : "6.030"
}
],
"zilla" : {
@@ -581,7 +580,7 @@
"config" : {
"is_trial" : 0
},
- "version" : "6.024"
+ "version" : "6.030"
}
},
"x_contributors" : [
@@ -605,12 +604,13 @@
"Michael McClimon <michael(a)mcclimon.org>",
"Mishrakk <48946018+Mishrakk(a)users.noreply.github.com>",
"Pali <pali(a)cpan.org>",
+ "Ricardo Signes <rjbs(a)semiotic.systems>",
"Shawn Sorichetti <ssoriche(a)coloredblocks.com>",
"Tomohiro Hosaka <bokutin(a)bokut.in>"
],
- "x_generated_by_perl" : "v5.35.5",
+ "x_generated_by_perl" : "v5.37.2",
"x_rjbs_perl_window" : "long-term",
- "x_serialization_backend" : "Cpanel::JSON::XS version 4.27",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.30",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/META.yml new/Email-MIME-1.953/META.yml
--- old/Email-MIME-1.952/META.yml 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/META.yml 2023-01-09 01:02:26.000000000 +0100
@@ -1,19 +1,18 @@
---
abstract: 'easy MIME message handling'
author:
- - 'Ricardo SIGNES <rjbs(a)semiotic.systems>'
+ - 'Ricardo SIGNES <cpan(a)semiotic.systems>'
- 'Casey West <casey(a)geeknest.com>'
- 'Simon Cozens <simon(a)cpan.org>'
build_requires:
ExtUtils::MakeMaker: '0'
File::Spec: '0'
- Symbol: '0'
Test::More: '0.96'
utf8: '0'
configure_requires:
ExtUtils::MakeMaker: '6.78'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -34,17 +33,17 @@
Module::Runtime: '0'
Scalar::Util: '0'
parent: '0'
- perl: '5.008001'
+ perl: '5.012'
strict: '0'
warnings: '0'
resources:
bugtracker: https://github.com/rjbs/Email-MIME/issues
homepage: https://github.com/rjbs/Email-MIME
repository: https://github.com/rjbs/Email-MIME.git
-version: '1.952'
+version: '1.953'
x_Dist_Zilla:
perl:
- version: '5.035005'
+ version: '5.037002'
plugins:
-
class: Dist::Zilla::Plugin::Git::GatherDir
@@ -98,58 +97,58 @@
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@RJBS/@Filter/PruneCruft'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@RJBS/@Filter/ManifestSkip'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@RJBS/@Filter/MetaYAML'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::License
name: '@RJBS/@Filter/License'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::Readme
name: '@RJBS/@Filter/Readme'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@RJBS/@Filter/ExecDir'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@RJBS/@Filter/ShareDir'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::Manifest
name: '@RJBS/@Filter/Manifest'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::TestRelease
name: '@RJBS/@Filter/TestRelease'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@RJBS/@Filter/ConfirmRelease'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@RJBS/@Filter/UploadToCPAN'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::MakeMaker
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 9
name: '@RJBS/MakeMaker'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@RJBS/AutoPrereqs'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::Git::NextVersion
config:
@@ -158,26 +157,26 @@
version_by_branch: 1
version_regexp: (?^:^([0-9]+\.[0-9]+)$)
Dist::Zilla::Role::Git::Repo:
- git_version: '2.30.1 (Apple Git-130)'
+ git_version: 2.38.0
repo_root: .
name: '@RJBS/Git::NextVersion'
version: '2.048'
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@RJBS/Test::ChangesHasContent'
@@ -185,11 +184,11 @@
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::Test::ReportPrereqs
name: '@RJBS/Test::ReportPrereqs'
- version: '0.028'
+ version: '0.029'
-
class: Dist::Zilla::Plugin::Git::Remote::Check
name: '@RJBS/Git::Remote::Check'
@@ -201,7 +200,7 @@
phase: test
type: requires
name: '@RJBS/TestMoreWithSubtests'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::PodWeaver
config:
@@ -297,7 +296,7 @@
-
class: Dist::Zilla::Plugin::RJBSMisc
name: '@RJBS/RJBSMisc'
- version: '5.020'
+ version: '5.021'
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@RJBS/GithubMeta'
@@ -314,7 +313,7 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: '2.30.1 (Apple Git-130)'
+ git_version: 2.38.0
repo_root: .
name: '@RJBS/@Git/Check'
version: '2.048'
@@ -324,7 +323,7 @@
Dist::Zilla::Plugin::Git::Commit:
add_files_in: []
commit_msg: v%V%n%n%c
- signoff: '0'
+ signoff: 0
Dist::Zilla::Role::Git::DirtyFiles:
allow_dirty:
- Changes
@@ -332,7 +331,7 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: '2.30.1 (Apple Git-130)'
+ git_version: 2.38.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
@@ -345,11 +344,11 @@
branch: ~
changelog: Changes
signed: 0
- tag: '1.952'
+ tag: '1.953'
tag_format: '%v'
tag_message: v%V
Dist::Zilla::Role::Git::Repo:
- git_version: '2.30.1 (Apple Git-130)'
+ git_version: 2.38.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
@@ -363,7 +362,7 @@
- 'github :'
remotes_must_exist: 0
Dist::Zilla::Role::Git::Repo:
- git_version: '2.30.1 (Apple Git-130)'
+ git_version: 2.38.0
repo_root: .
name: '@RJBS/@Git/Push'
version: '2.048'
@@ -371,7 +370,7 @@
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
- git_version: '2.30.1 (Apple Git-130)'
+ git_version: 2.38.0
include_authors: 0
include_releaser: 1
order_by: name
@@ -385,56 +384,56 @@
phase: runtime
type: requires
name: Prereqs
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::Encoding
name: Encoding
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExtraTestFiles'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':PerlExecFiles'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: '6.024'
+ version: '6.030'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: '6.024'
+ version: '6.030'
zilla:
class: Dist::Zilla::Dist::Builder
config:
- is_trial: '0'
- version: '6.024'
+ is_trial: 0
+ version: '6.030'
x_contributors:
- 'Alex Vandiver <alexmv(a)mit.edu>'
- 'Anirvan Chatterjee <anirvan(a)users.noreply.github.com>'
@@ -456,9 +455,10 @@
- 'Michael McClimon <michael(a)mcclimon.org>'
- 'Mishrakk <48946018+Mishrakk(a)users.noreply.github.com>'
- 'Pali <pali(a)cpan.org>'
+ - 'Ricardo Signes <rjbs(a)semiotic.systems>'
- 'Shawn Sorichetti <ssoriche(a)coloredblocks.com>'
- 'Tomohiro Hosaka <bokutin(a)bokut.in>'
-x_generated_by_perl: v5.35.5
+x_generated_by_perl: v5.37.2
x_rjbs_perl_window: long-term
x_serialization_backend: 'YAML::Tiny version 1.73'
x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/Makefile.PL new/Email-MIME-1.953/Makefile.PL
--- old/Email-MIME-1.952/Makefile.PL 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/Makefile.PL 2023-01-09 01:02:26.000000000 +0100
@@ -1,20 +1,20 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.024.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.030.
use strict;
use warnings;
-use 5.008001;
+use 5.012;
use ExtUtils::MakeMaker 6.78;
my %WriteMakefileArgs = (
"ABSTRACT" => "easy MIME message handling",
- "AUTHOR" => "Ricardo SIGNES <rjbs\(a)semiotic.systems>, Casey West <casey\(a)geeknest.com>, Simon Cozens <simon\(a)cpan.org>",
+ "AUTHOR" => "Ricardo SIGNES <cpan\(a)semiotic.systems>, Casey West <casey\(a)geeknest.com>, Simon Cozens <simon\(a)cpan.org>",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.78"
},
"DISTNAME" => "Email-MIME",
"LICENSE" => "perl",
- "MIN_PERL_VERSION" => "5.008001",
+ "MIN_PERL_VERSION" => "5.012",
"NAME" => "Email::MIME",
"PREREQ_PM" => {
"Carp" => 0,
@@ -37,11 +37,10 @@
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
"File::Spec" => 0,
- "Symbol" => 0,
"Test::More" => "0.96",
"utf8" => 0
},
- "VERSION" => "1.952",
+ "VERSION" => "1.953",
"test" => {
"TESTS" => "t/*.t"
}
@@ -64,7 +63,6 @@
"MIME::Types" => "1.13",
"Module::Runtime" => 0,
"Scalar::Util" => 0,
- "Symbol" => 0,
"Test::More" => "0.96",
"parent" => 0,
"strict" => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/README new/Email-MIME-1.953/README
--- old/Email-MIME-1.952/README 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/README 2023-01-09 01:02:26.000000000 +0100
@@ -1,5 +1,5 @@
This archive contains the distribution Email-MIME,
-version 1.952:
+version 1.953:
easy MIME message handling
@@ -9,4 +9,4 @@
the same terms as the Perl 5 programming language system itself.
-This README file was generated by Dist::Zilla::Plugin::Readme v6.024.
+This README file was generated by Dist::Zilla::Plugin::Readme v6.030.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/dist.ini new/Email-MIME-1.953/dist.ini
--- old/Email-MIME-1.952/dist.ini 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/dist.ini 2023-01-09 01:02:26.000000000 +0100
@@ -1,5 +1,5 @@
name = Email-MIME
-author = Ricardo SIGNES <rjbs(a)semiotic.systems>
+author = Ricardo SIGNES <cpan(a)semiotic.systems>
author = Casey West <casey(a)geeknest.com>
author = Simon Cozens <simon(a)cpan.org>
license = Perl_5
@@ -9,8 +9,6 @@
[@RJBS]
perl-window = long-term
-package-name-version = 0
-
[Prereqs]
MIME::Types = 1.13
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/lib/Email/MIME/Creator.pm new/Email-MIME-1.953/lib/Email/MIME/Creator.pm
--- old/Email-MIME-1.952/lib/Email/MIME/Creator.pm 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/lib/Email/MIME/Creator.pm 2023-01-09 01:02:26.000000000 +0100
@@ -1,9 +1,8 @@
-use 5.008001;
-use strict;
+use v5.12.0;
use warnings;
-package Email::MIME::Creator;
+package Email::MIME::Creator 1.953;
# ABSTRACT: obsolete do-nothing library
-$Email::MIME::Creator::VERSION = '1.952';
+
use parent q[Email::Simple::Creator];
use Email::MIME;
use Encode ();
@@ -44,7 +43,7 @@
=head1 VERSION
-version 1.952
+version 1.953
=head1 SYNOPSIS
@@ -66,7 +65,7 @@
=item *
-Ricardo SIGNES <rjbs(a)semiotic.systems>
+Ricardo SIGNES <cpan(a)semiotic.systems>
=item *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/lib/Email/MIME/Encode.pm new/Email-MIME-1.953/lib/Email/MIME/Encode.pm
--- old/Email-MIME-1.952/lib/Email/MIME/Encode.pm 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/lib/Email/MIME/Encode.pm 2023-01-09 01:02:26.000000000 +0100
@@ -1,8 +1,8 @@
-use strict;
+use v5.12.0;
use warnings;
-package Email::MIME::Encode;
+package Email::MIME::Encode 1.953;
# ABSTRACT: a private helper for MIME header encoding
-$Email::MIME::Encode::VERSION = '1.952';
+
use Carp ();
use Encode ();
use Email::MIME::Header;
@@ -79,8 +79,8 @@
sub mime_encode {
my ($text, $charset, $header_name_length) = @_;
- $header_name_length = 0 unless defined $header_name_length;
- $charset = 'UTF-8' unless defined $charset;
+ $header_name_length //= 0;
+ $charset //= 'UTF-8';
my $enc_obj = Encode::find_encoding($charset);
@@ -163,7 +163,7 @@
# -- rjbs, 2014-12-04
local $@;
my $result = eval { Encode::decode("MIME-Header", $text) };
- return defined $result ? $result : $text;
+ return $result // $text;
}
1;
@@ -180,7 +180,7 @@
=head1 VERSION
-version 1.952
+version 1.953
=head1 PERL VERSION
@@ -198,7 +198,7 @@
=item *
-Ricardo SIGNES <rjbs(a)semiotic.systems>
+Ricardo SIGNES <cpan(a)semiotic.systems>
=item *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/lib/Email/MIME/Header/AddressList.pm new/Email-MIME-1.953/lib/Email/MIME/Header/AddressList.pm
--- old/Email-MIME-1.952/lib/Email/MIME/Header/AddressList.pm 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/lib/Email/MIME/Header/AddressList.pm 2023-01-09 01:02:26.000000000 +0100
@@ -1,10 +1,10 @@
# Copyright (c) 2016-2017 by Pali <pali(a)cpan.org>
-package Email::MIME::Header::AddressList;
-$Email::MIME::Header::AddressList::VERSION = '1.952';
+package Email::MIME::Header::AddressList 1.953;
+
# ABSTRACT: MIME support for list of Email::Address::XS objects
-use strict;
+use v5.12.0;
use warnings;
use Carp ();
@@ -333,7 +333,7 @@
=head1 VERSION
-version 1.952
+version 1.953
=head1 SYNOPSIS
@@ -489,7 +489,7 @@
=item *
-Ricardo SIGNES <rjbs(a)semiotic.systems>
+Ricardo SIGNES <cpan(a)semiotic.systems>
=item *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/lib/Email/MIME/Header.pm new/Email-MIME-1.953/lib/Email/MIME/Header.pm
--- old/Email-MIME-1.952/lib/Email/MIME/Header.pm 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/lib/Email/MIME/Header.pm 2023-01-09 01:02:26.000000000 +0100
@@ -1,8 +1,8 @@
-use strict;
+use v5.12.0;
use warnings;
-package Email::MIME::Header;
+package Email::MIME::Header 1.953;
# ABSTRACT: the header of a MIME message
-$Email::MIME::Header::VERSION = '1.952';
+
use parent 'Email::Simple::Header';
use Carp ();
@@ -92,7 +92,7 @@
sub header_as_obj {
my ($self, $name, $index, $class) = @_;
- $class = $self->get_class_for_header($name) unless defined $class;
+ $class //= $self->get_class_for_header($name);
{
local @CARP_NOT = qw(Email::MIME);
@@ -143,7 +143,7 @@
=head1 VERSION
-version 1.952
+version 1.953
=head1 DESCRIPTION
@@ -196,7 +196,7 @@
=item *
-Ricardo SIGNES <rjbs(a)semiotic.systems>
+Ricardo SIGNES <cpan(a)semiotic.systems>
=item *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/lib/Email/MIME/Modifier.pm new/Email-MIME-1.953/lib/Email/MIME/Modifier.pm
--- old/Email-MIME-1.952/lib/Email/MIME/Modifier.pm 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/lib/Email/MIME/Modifier.pm 2023-01-09 01:02:26.000000000 +0100
@@ -1,8 +1,8 @@
use strict;
use warnings;
-package Email::MIME::Modifier;
+package Email::MIME::Modifier 1.953;
# ABSTRACT: obsolete do-nothing library
-$Email::MIME::Modifier::VERSION = '1.952';
+
1;
__END__
@@ -17,7 +17,7 @@
=head1 VERSION
-version 1.952
+version 1.953
=head1 PERL VERSION
@@ -35,7 +35,7 @@
=item *
-Ricardo SIGNES <rjbs(a)semiotic.systems>
+Ricardo SIGNES <cpan(a)semiotic.systems>
=item *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/lib/Email/MIME.pm new/Email-MIME-1.953/lib/Email/MIME.pm
--- old/Email-MIME-1.952/lib/Email/MIME.pm 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/lib/Email/MIME.pm 2023-01-09 01:02:26.000000000 +0100
@@ -1,9 +1,8 @@
-use 5.008001;
-use strict;
+use v5.12.0;
use warnings;
-package Email::MIME;
+package Email::MIME 1.953;
# ABSTRACT: easy MIME message handling
-$Email::MIME::VERSION = '1.952';
+
use Email::Simple 2.212; # nth header value
use parent qw(Email::Simple);
@@ -14,7 +13,6 @@
use Email::MIME::Encode;
use Email::MIME::Encodings 1.314;
use Email::MIME::Header;
-use Email::MIME::Modifier;
use Encode 1.9801 ();
use Scalar::Util qw(reftype weaken);
@@ -174,10 +172,9 @@
#pod
#pod C<attributes> is a hash of MIME attributes to assign to the part, and may
#pod override portions of the header set in the C<header> parameter. The hash keys
-#pod correspond directly to methods for modifying a message from
-#pod C<Email::MIME::Modifier>. The allowed keys are: content_type, charset, name,
-#pod format, boundary, encoding, disposition, and filename. They will be mapped to
-#pod C<"$attr\_set"> for message modification.
+#pod correspond directly to methods for modifying a message. The allowed keys are:
+#pod content_type, charset, name, format, boundary, encoding, disposition, and
+#pod filename. They will be mapped to C<"$attr\_set"> for message modification.
#pod
#pod The C<parts> parameter is a list reference containing C<Email::MIME>
#pod objects. Elements of the C<parts> list can also be a non-reference
@@ -394,8 +391,7 @@
# that means it's a bogus message, but a mangled result (or exception) is
# better than endless recursion. -- rjbs, 2008-01-07
return $self->parts_single_part
- unless defined $boundary and length $boundary and
- $self->body_raw =~ /^--\Q$boundary\E\s*$/sm;
+ unless length $boundary and $self->body_raw =~ /^--\Q$boundary\E\s*$/sm;
$self->{body_raw} = $self->SUPER::body;
@@ -551,7 +547,7 @@
my ($self, $value) = @_;
my $ct_header = parse_content_type($self->header('Content-Type'));
- if (defined $value and length $value) {
+ if (length $value) {
$ct_header->{attributes}->{boundary} = $value;
} else {
delete $ct_header->{attributes}->{boundary};
@@ -650,8 +646,6 @@
#pod specified in the C<Content-Transfer-Encoding> header, then set
#pod the body to the new encoded body.
#pod
-#pod This method overrides the default C<body_set()> method.
-#pod
#pod =cut
sub body_set {
@@ -769,7 +763,7 @@
# setup multipart
$ct_header->{attributes}->{boundary} = Email::MessageID->new->user
- unless defined $ct_header->{attributes}->{boundary} and length $ct_header->{attributes}->{boundary};
+ unless length $ct_header->{attributes}->{boundary};
my $bound = $ct_header->{attributes}->{boundary};
foreach my $part (@{$parts}) {
$body .= "$self->{mycrlf}--$bound$self->{mycrlf}";
@@ -908,10 +902,7 @@
if ($ct_header->{subtype} eq 'alternative') {
my %cids;
for my $part ($self->parts) {
- my $cid
- = defined $part->header('Content-ID')
- ? $part->header('Content-ID')
- : q{};
+ my $cid = $part->header('Content-ID') // q{};
$cids{$cid}++;
}
return if keys(%cids) == 1;
@@ -940,7 +931,7 @@
=head1 VERSION
-version 1.952
+version 1.953
=head1 SYNOPSIS
@@ -1082,10 +1073,9 @@
C<attributes> is a hash of MIME attributes to assign to the part, and may
override portions of the header set in the C<header> parameter. The hash keys
-correspond directly to methods for modifying a message from
-C<Email::MIME::Modifier>. The allowed keys are: content_type, charset, name,
-format, boundary, encoding, disposition, and filename. They will be mapped to
-C<"$attr\_set"> for message modification.
+correspond directly to methods for modifying a message. The allowed keys are:
+content_type, charset, name, format, boundary, encoding, disposition, and
+filename. They will be mapped to C<"$attr\_set"> for message modification.
The C<parts> parameter is a list reference containing C<Email::MIME>
objects. Elements of the C<parts> list can also be a non-reference
@@ -1165,8 +1155,6 @@
specified in the C<Content-Transfer-Encoding> header, then set
the body to the new encoded body.
-This method overrides the default C<body_set()> method.
-
=head2 body_str_set
$email->body_str_set($unicode_str);
@@ -1354,15 +1342,9 @@
be processed. It defaults to 10, already higher than legitimate mail is ever
likely to be. This value may go up over time as the parser is improved.
-=head1 TODO
-
-All of the Email::MIME-specific guts should move to a single entry on the
-object's guts. This will require changes to both Email::MIME and
-L<Email::MIME::Modifier>, sadly.
-
=head1 SEE ALSO
-L<Email::Simple>, L<Email::MIME::Modifier>, L<Email::MIME::Creator>.
+L<Email::Simple>
=head1 THANKS
@@ -1375,7 +1357,7 @@
=item *
-Ricardo SIGNES <rjbs(a)semiotic.systems>
+Ricardo SIGNES <cpan(a)semiotic.systems>
=item *
@@ -1389,7 +1371,7 @@
=head1 CONTRIBUTORS
-=for stopwords Alex Vandiver Anirvan Chatterjee Arthur Axel 'fREW' Schmidt Brian Cassidy Damian Lukowski Dan Book David Steinbrunner Dotan Dimet dxdc Eric Wong Geraint Edwards ivulfson Jesse Luehrs Kurt Anderson Lance A. Brown Matthew Horsfall memememomo Michael McClimon Mishrakk Pali Shawn Sorichetti Tomohiro Hosaka
+=for stopwords Alex Vandiver Anirvan Chatterjee Arthur Axel 'fREW' Schmidt Brian Cassidy Damian Lukowski Dan Book David Steinbrunner Dotan Dimet dxdc Eric Wong Geraint Edwards ivulfson Jesse Luehrs Kurt Anderson Lance A. Brown Matthew Horsfall memememomo Michael McClimon Mishrakk Pali Ricardo Signes Shawn Sorichetti Tomohiro Hosaka
=over 4
@@ -1475,6 +1457,10 @@
=item *
+Ricardo Signes <rjbs(a)semiotic.systems>
+
+=item *
+
Shawn Sorichetti <ssoriche(a)coloredblocks.com>
=item *
@@ -1620,15 +1606,9 @@
#pod be processed. It defaults to 10, already higher than legitimate mail is ever
#pod likely to be. This value may go up over time as the parser is improved.
#pod
-#pod =head1 TODO
-#pod
-#pod All of the Email::MIME-specific guts should move to a single entry on the
-#pod object's guts. This will require changes to both Email::MIME and
-#pod L<Email::MIME::Modifier>, sadly.
-#pod
#pod =head1 SEE ALSO
#pod
-#pod L<Email::Simple>, L<Email::MIME::Modifier>, L<Email::MIME::Creator>.
+#pod L<Email::Simple>
#pod
#pod =head1 THANKS
#pod
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/00-report-prereqs.dd new/Email-MIME-1.953/t/00-report-prereqs.dd
--- old/Email-MIME-1.952/t/00-report-prereqs.dd 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/00-report-prereqs.dd 2023-01-09 01:02:26.000000000 +0100
@@ -26,7 +26,7 @@
'Module::Runtime' => '0',
'Scalar::Util' => '0',
'parent' => '0',
- 'perl' => '5.008001',
+ 'perl' => '5.012',
'strict' => '0',
'warnings' => '0'
}
@@ -38,7 +38,6 @@
'requires' => {
'ExtUtils::MakeMaker' => '0',
'File::Spec' => '0',
- 'Symbol' => '0',
'Test::More' => '0.96',
'utf8' => '0'
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/00-report-prereqs.t new/Email-MIME-1.953/t/00-report-prereqs.t
--- old/Email-MIME-1.952/t/00-report-prereqs.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/00-report-prereqs.t 2023-01-09 01:02:26.000000000 +0100
@@ -3,7 +3,7 @@
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.028
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.029
use Test::More tests => 1;
@@ -109,20 +109,24 @@
my @reports = [qw/Module Want Have/];
for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) {
- next if $mod eq 'perl';
next if grep { $_ eq $mod } @exclude;
- my $file = $mod;
- $file =~ s{::}{/}g;
- $file .= ".pm";
- my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC;
-
my $want = $req_hash->{$phase}{$type}{$mod};
$want = "undef" unless defined $want;
$want = "any" if !$want && $want == 0;
+ if ($mod eq 'perl') {
+ push @reports, ['perl', $want, $]];
+ next;
+ }
+
my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required";
+ my $file = $mod;
+ $file =~ s{::}{/}g;
+ $file .= ".pm";
+ my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC;
+
if ($prefix) {
my $have = MM->parse_version( File::Spec->catfile($prefix, $file) );
$have = "undef" unless defined $have;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/auto_create.t new/Email-MIME-1.953/t/auto_create.t
--- old/Email-MIME-1.952/t/auto_create.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/auto_create.t 2023-01-09 01:02:26.000000000 +0100
@@ -1,6 +1,6 @@
use strict;
use warnings;
-use Test::More qw[no_plan];
+use Test::More;
use_ok 'Email::MIME::Creator';
@@ -33,3 +33,5 @@
my $string = join '', map { chr } 1 .. 255;
return $string;
}
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/basic.t new/Email-MIME-1.953/t/basic.t
--- old/Email-MIME-1.952/t/basic.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/basic.t 2023-01-09 01:02:26.000000000 +0100
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use Test::More 'no_plan';
+use Test::More;
use Email::MIME::Encodings;
use_ok("Email::MIME");
@@ -46,3 +46,4 @@
eval { $email->as_string };
is($@, '', "we can stringify without dying");
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/ct_attrs.t new/Email-MIME-1.953/t/ct_attrs.t
--- old/Email-MIME-1.952/t/ct_attrs.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/ct_attrs.t 2023-01-09 01:02:26.000000000 +0100
@@ -1,10 +1,9 @@
use strict;
use warnings;
use utf8;
-use Test::More tests => 16;
+use Test::More;
use_ok 'Email::MIME';
-use_ok 'Email::MIME::Modifier';
use_ok 'Email::MIME::ContentType';
my $email = Email::MIME->new(<<__MESSAGE__);
@@ -126,3 +125,5 @@
like $email->header('Content-Type'),
qr'^text/plain; bananas=(?:"true"|true); boundary=(?:"marker"|marker); format=(?:"flowed"|flowed); name\*=UTF-8\'\'k%C5%AF%C5%88\.pdf; name=kun\.pdf$',
'ct format is correct';
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/dispo.t new/Email-MIME-1.953/t/dispo.t
--- old/Email-MIME-1.952/t/dispo.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/dispo.t 2023-01-09 01:02:26.000000000 +0100
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use Test::More 'no_plan';
+use Test::More;
use Email::MIME::Encodings;
use MIME::Types;
@@ -35,3 +35,5 @@
my $image = ($obj->parts)[1];
is( $image->filename, "image001.gif", "got the image chunk" );
unlike( $image->body_raw, qr{NextPart}, "and not the epilogue" );
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/disposition.t new/Email-MIME-1.953/t/disposition.t
--- old/Email-MIME-1.952/t/disposition.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/disposition.t 2023-01-09 01:02:26.000000000 +0100
@@ -1,10 +1,9 @@
use strict;
use warnings;
use utf8;
-use Test::More tests => 9;
+use Test::More;
use_ok 'Email::MIME';
-use_ok 'Email::MIME::Modifier';
my $email = Email::MIME->new(<<__MESSAGE__);
Content-Disposition: inline
@@ -38,3 +37,5 @@
$email->filename_set('k����.pdf');
is $email->header('Content-Disposition'), q(attachment; filename*=UTF-8''k%C5%AF%C5%88.pdf; filename=kun.pdf);
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/email-mime-encode.t new/Email-MIME-1.953/t/email-mime-encode.t
--- old/Email-MIME-1.952/t/email-mime-encode.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/email-mime-encode.t 2023-01-09 01:02:26.000000000 +0100
@@ -5,7 +5,6 @@
BEGIN {
plan skip_all => 'Email::Address::XS is required for this test' unless eval { require Email::Address::XS };
- plan 'no_plan';
}
BEGIN {
@@ -17,3 +16,5 @@
'=?UTF-8?B?TmFtZSDimLo=?= <user@host>',
'Email::MIME::Encode::maybe_mime_encode_header works without "use Email::MIME::Header"'
);
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/encoding.t new/Email-MIME-1.953/t/encoding.t
--- old/Email-MIME-1.952/t/encoding.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/encoding.t 2023-01-09 01:02:26.000000000 +0100
@@ -1,9 +1,8 @@
use strict;
use warnings;
-use Test::More tests => 26;
+use Test::More;
use_ok 'Email::MIME';
-use_ok 'Email::MIME::Modifier';
for my $encode ('7bit', '7bit; foo') {
my $email = Email::MIME->new(<<__MESSAGE__);
@@ -141,3 +140,5 @@
is( ($email->parts)[1]->body_str, "Hello World!" );
}
}
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/header-addresslist.t new/Email-MIME-1.953/t/header-addresslist.t
--- old/Email-MIME-1.952/t/header-addresslist.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/header-addresslist.t 2023-01-09 01:02:26.000000000 +0100
@@ -5,7 +5,6 @@
BEGIN {
plan skip_all => 'Email::Address::XS is required for this test' unless eval { require Email::Address::XS };
- plan 'no_plan';
}
BEGIN {
@@ -140,3 +139,5 @@
is($cc_grps[1]->[1]->phrase, 'Julia:; ');
is($cc_grps[1]->[1]->address, 'julia(a)ficdep.minitrue');
}
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/part-encs.t new/Email-MIME-1.953/t/part-encs.t
--- old/Email-MIME-1.952/t/part-encs.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/part-encs.t 2023-01-09 01:02:26.000000000 +0100
@@ -2,17 +2,13 @@
use warnings;
use Test::More;
-plan tests => 11;
-
use_ok 'Email::MIME';
-use_ok 'Email::MIME::Modifier';
use_ok 'Email::MIME::Creator';
-use Symbol qw(gensym);
-
my $file = do {
- my $fh = gensym;
- open $fh, "<t/files/readme.txt.gz" or die "can't open attachment file: $!";
+ open my $fh, '<', 't/files/readme.txt.gz'
+ or die "can't open attachment file: $!";
+
binmode $fh;
local $/;
<$fh>;
@@ -85,3 +81,5 @@
"binary part got base64 encoded (2/2)",
);
}
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/parts.t new/Email-MIME-1.953/t/parts.t
--- old/Email-MIME-1.952/t/parts.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/parts.t 2023-01-09 01:02:26.000000000 +0100
@@ -1,9 +1,8 @@
use strict;
use warnings;
-use Test::More tests => 22;
+use Test::More;
use_ok 'Email::MIME';
-use_ok 'Email::MIME::Modifier';
my $email = Email::MIME->new(<<__MESSAGE__);
Content-Disposition: inline
@@ -38,7 +37,7 @@
$email->walk_parts(sub {
my $part = shift;
isa_ok $part, 'Email::MIME';
-
+
$part->encoding_set('base64') if $part->parts <= 1;
$part->body_set( "foo\nbar" ) if $part->parts <= 1;
});
@@ -50,3 +49,5 @@
is $part->body, "foo\nbar", 'walkdown body_set worked';
}
});
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/singlepart.t new/Email-MIME-1.953/t/singlepart.t
--- old/Email-MIME-1.952/t/singlepart.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/singlepart.t 2023-01-09 01:02:26.000000000 +0100
@@ -1,6 +1,6 @@
use strict;
use warnings;
-use Test::More qw[no_plan];
+use Test::More;
use_ok 'Email::MIME::Creator';
@@ -41,3 +41,5 @@
is $email->as_string, $expected_string, 'as_string matches';
is $email->body, $expected_body, 'body matches';
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/t/unicode.t new/Email-MIME-1.953/t/unicode.t
--- old/Email-MIME-1.952/t/unicode.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/t/unicode.t 2023-01-09 01:02:26.000000000 +0100
@@ -1,6 +1,6 @@
use strict;
use warnings;
-use Test::More 'no_plan';
+use Test::More;
use utf8;
use Encode;
@@ -100,3 +100,5 @@
}
}
}
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Email-MIME-1.952/xt/release/changes_has_content.t new/Email-MIME-1.953/xt/release/changes_has_content.t
--- old/Email-MIME-1.952/xt/release/changes_has_content.t 2021-12-14 15:57:30.000000000 +0100
+++ new/Email-MIME-1.953/xt/release/changes_has_content.t 2023-01-09 01:02:26.000000000 +0100
@@ -2,7 +2,7 @@
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '1.952';
+my $newver = '1.953';
my $trial_token = '-TRIAL';
my $encoding = 'UTF-8';
1
0