Hello community,
here is the log from the commit of package perl-DateTime-Locale for
openSUSE:Factory checked in at 2016-07-01 09:58:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DateTime-Locale (Old)
and /work/SRC/openSUSE:Factory/.perl-DateTime-Locale.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-DateTime-Locale"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-DateTime-Locale/perl-DateTime-Locale.changes
2016-06-25 02:24:11.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-DateTime-Locale.new/perl-DateTime-Locale.changes
2016-07-01 09:58:50.000000000 +0200
@@ -1,0 +2,17 @@
+Mon Jun 27 07:53:49 UTC 2016 - [email protected]
+
+- updated to 1.05
+ see /usr/share/doc/packages/perl-DateTime-Locale/Changes
+
+ 1.05 2016-06-26
+
+ - Instead of using the DATA handle to get at as-yet-unloaded locale data in
+ DateTime::Locale::Data, we now read the raw data into memory once, and use
+ eval to turn it into Perl data structures as a particular locale is
+ requested. This may fix a problem where reading from the DATA handle
somehow
+ returned the wrong chunk of data (or overlapped multiple locales). The
+ downside is that loading DateTime::Locale now uses an additional 4MB of
+ memory on my system, regardless of how many individual locales are
+ instantiated. Reported by Greg Oschwald. GitHub #3.
+
+-------------------------------------------------------------------
Old:
----
DateTime-Locale-1.04.tar.gz
New:
----
DateTime-Locale-1.05.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-DateTime-Locale.spec ++++++
--- /var/tmp/diff_new_pack.FhHXMV/_old 2016-07-01 09:58:51.000000000 +0200
+++ /var/tmp/diff_new_pack.FhHXMV/_new 2016-07-01 09:58:51.000000000 +0200
@@ -17,10 +17,10 @@
Name: perl-DateTime-Locale
-Version: 1.040000
+Version: 1.050000
Release: 0
-%define cpan_version 1.04
-Provides: perl(DateTime::Locale) = 1.040000
+%define cpan_version 1.05
+Provides: perl(DateTime::Locale) = 1.050000
%define cpan_name DateTime-Locale
Summary: Localization support for DateTime.pm
License: Artistic-1.0 or GPL-1.0+
++++++ DateTime-Locale-1.04.tar.gz -> DateTime-Locale-1.05.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.04/CONTRIBUTING.md
new/DateTime-Locale-1.05/CONTRIBUTING.md
--- old/DateTime-Locale-1.04/CONTRIBUTING.md 2016-06-18 06:40:25.000000000
+0200
+++ new/DateTime-Locale-1.05/CONTRIBUTING.md 2016-06-26 17:58:21.000000000
+0200
@@ -129,5 +129,5 @@
wish to be listed under a different name or address, you should submit a pull
request to the .mailmap file to contain the correct mapping.
-This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir
0.009 from a
-template file originating in Dist-Zilla-PluginBundle-DROLSKY-0.63.
+This file was generated via Dist::Zilla::Plugin::GenerateFile::FromShareDir
0.012 from a
+template file originating in Dist-Zilla-PluginBundle-DROLSKY-0.64.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.04/Changes
new/DateTime-Locale-1.05/Changes
--- old/DateTime-Locale-1.04/Changes 2016-06-18 06:40:25.000000000 +0200
+++ new/DateTime-Locale-1.05/Changes 2016-06-26 17:58:21.000000000 +0200
@@ -1,3 +1,15 @@
+1.05 2016-06-26
+
+- Instead of using the DATA handle to get at as-yet-unloaded locale data in
+ DateTime::Locale::Data, we now read the raw data into memory once, and use
+ eval to turn it into Perl data structures as a particular locale is
+ requested. This may fix a problem where reading from the DATA handle somehow
+ returned the wrong chunk of data (or overlapped multiple locales). The
+ downside is that loading DateTime::Locale now uses an additional 4MB of
+ memory on my system, regardless of how many individual locales are
+ instantiated. Reported by Greg Oschwald. GitHub #3.
+
+
1.04 2016-06-17
- Replaced List::MoreUtils with List::Util.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.04/META.json
new/DateTime-Locale-1.05/META.json
--- old/DateTime-Locale-1.04/META.json 2016-06-18 06:40:25.000000000 +0200
+++ new/DateTime-Locale-1.05/META.json 2016-06-26 17:58:21.000000000 +0200
@@ -82,27 +82,27 @@
"provides" : {
"DateTime::Locale" : {
"file" : "lib/DateTime/Locale.pm",
- "version" : "1.04"
+ "version" : "1.05"
},
"DateTime::Locale::Base" : {
"file" : "lib/DateTime/Locale/Base.pm",
- "version" : "1.04"
+ "version" : "1.05"
},
"DateTime::Locale::Catalog" : {
"file" : "lib/DateTime/Locale/Catalog.pm",
- "version" : "1.04"
+ "version" : "1.05"
},
"DateTime::Locale::Data" : {
"file" : "lib/DateTime/Locale/Data.pm",
- "version" : "1.04"
+ "version" : "1.05"
},
"DateTime::Locale::FromData" : {
"file" : "lib/DateTime/Locale/FromData.pm",
- "version" : "1.04"
+ "version" : "1.05"
},
"DateTime::Locale::Util" : {
"file" : "lib/DateTime/Locale/Util.pm",
- "version" : "1.04"
+ "version" : "1.05"
}
},
"release_status" : "stable",
@@ -119,7 +119,7 @@
},
"x_MailingList" : "[email protected]"
},
- "version" : "1.04",
+ "version" : "1.05",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.024000"
@@ -212,7 +212,7 @@
{
"class" : "Dist::Zilla::Plugin::DROLSKY::VersionProvider",
"name" : "@DROLSKY/DROLSKY::VersionProvider",
- "version" : "0.63"
+ "version" : "0.64"
},
{
"class" : "Dist::Zilla::Plugin::Authority",
@@ -333,7 +333,7 @@
}
},
"name" : "@DROLSKY/Dist::Zilla::PluginBundle::DROLSKY",
- "version" : "0.050"
+ "version" : "0.051"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -356,7 +356,7 @@
}
},
"name" : "@DROLSKY/PromptIfStale",
- "version" : "0.050"
+ "version" : "0.051"
},
{
"class" : "Dist::Zilla::Plugin::Test::PodSpelling",
@@ -1072,7 +1072,7 @@
{
"class" : "Dist::Zilla::Plugin::DROLSKY::Contributors",
"name" : "@DROLSKY/DROLSKY::Contributors",
- "version" : "0.63"
+ "version" : "0.64"
},
{
"class" : "Dist::Zilla::Plugin::Git::Contributors",
@@ -1260,7 +1260,7 @@
}
},
"name" : "@DROLSKY/generate CONTRIBUTING",
- "version" : "0.009"
+ "version" : "0.012"
},
{
"class" : "Dist::Zilla::Plugin::InstallGuide",
@@ -1275,7 +1275,7 @@
{
"class" : "Dist::Zilla::Plugin::DROLSKY::License",
"name" : "@DROLSKY/DROLSKY::License",
- "version" : "0.63"
+ "version" : "0.64"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
@@ -1285,7 +1285,7 @@
{
"class" : "Dist::Zilla::Plugin::DROLSKY::CheckChangesHasContent",
"name" : "@DROLSKY/DROLSKY::CheckChangesHasContent",
- "version" : "0.63"
+ "version" : "0.64"
},
{
"class" :
"Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch",
@@ -1295,7 +1295,7 @@
}
},
"name" : "@DROLSKY/DROLSKY::Git::CheckFor::CorrectBranch",
- "version" : "0.63"
+ "version" : "0.64"
},
{
"class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts",
@@ -1310,7 +1310,7 @@
{
"class" : "Dist::Zilla::Plugin::DROLSKY::TidyAll",
"name" : "@DROLSKY/DROLSKY::TidyAll",
- "version" : "0.63"
+ "version" : "0.64"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
@@ -1379,7 +1379,7 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v1.04",
+ "tag" : "v1.05",
"tag_format" : "v%v",
"tag_message" : "v%v"
},
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.04/META.yml
new/DateTime-Locale-1.05/META.yml
--- old/DateTime-Locale-1.04/META.yml 2016-06-18 06:40:25.000000000 +0200
+++ new/DateTime-Locale-1.05/META.yml 2016-06-26 17:58:21.000000000 +0200
@@ -28,22 +28,22 @@
provides:
DateTime::Locale:
file: lib/DateTime/Locale.pm
- version: '1.04'
+ version: '1.05'
DateTime::Locale::Base:
file: lib/DateTime/Locale/Base.pm
- version: '1.04'
+ version: '1.05'
DateTime::Locale::Catalog:
file: lib/DateTime/Locale/Catalog.pm
- version: '1.04'
+ version: '1.05'
DateTime::Locale::Data:
file: lib/DateTime/Locale/Data.pm
- version: '1.04'
+ version: '1.05'
DateTime::Locale::FromData:
file: lib/DateTime/Locale/FromData.pm
- version: '1.04'
+ version: '1.05'
DateTime::Locale::Util:
file: lib/DateTime/Locale/Util.pm
- version: '1.04'
+ version: '1.05'
requires:
Carp: '0'
Dist::CheckConflicts: '0.02'
@@ -58,7 +58,7 @@
bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=DateTime-Locale
homepage: http://metacpan.org/release/DateTime-Locale
repository: git://github.com/autarch/DateTime-Locale.git
-version: '1.04'
+version: '1.05'
x_Dist_Zilla:
perl:
version: '5.024000'
@@ -132,7 +132,7 @@
-
class: Dist::Zilla::Plugin::DROLSKY::VersionProvider
name: '@DROLSKY/DROLSKY::VersionProvider'
- version: '0.63'
+ version: '0.64'
-
class: Dist::Zilla::Plugin::Authority
name: '@DROLSKY/Authority'
@@ -224,7 +224,7 @@
run_under_travis: 0
skip: []
name: '@DROLSKY/Dist::Zilla::PluginBundle::DROLSKY'
- version: '0.050'
+ version: '0.051'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
@@ -243,7 +243,7 @@
- Dist::Zilla::Plugin::DROLSKY::VersionProvider
- Pod::Weaver::PluginBundle::DROLSKY
name: '@DROLSKY/PromptIfStale'
- version: '0.050'
+ version: '0.051'
-
class: Dist::Zilla::Plugin::Test::PodSpelling
config:
@@ -930,7 +930,7 @@
-
class: Dist::Zilla::Plugin::DROLSKY::Contributors
name: '@DROLSKY/DROLSKY::Contributors'
- version: '0.63'
+ version: '0.64'
-
class: Dist::Zilla::Plugin::Git::Contributors
config:
@@ -1076,7 +1076,7 @@
repo_root: .
version: '0.006'
name: '@DROLSKY/generate CONTRIBUTING'
- version: '0.009'
+ version: '0.012'
-
class: Dist::Zilla::Plugin::InstallGuide
name: '@DROLSKY/InstallGuide'
@@ -1088,7 +1088,7 @@
-
class: Dist::Zilla::Plugin::DROLSKY::License
name: '@DROLSKY/DROLSKY::License'
- version: '0.63'
+ version: '0.64'
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@DROLSKY/CheckPrereqsIndexed'
@@ -1096,14 +1096,14 @@
-
class: Dist::Zilla::Plugin::DROLSKY::CheckChangesHasContent
name: '@DROLSKY/DROLSKY::CheckChangesHasContent'
- version: '0.63'
+ version: '0.64'
-
class: Dist::Zilla::Plugin::DROLSKY::Git::CheckFor::CorrectBranch
config:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@DROLSKY/DROLSKY::Git::CheckFor::CorrectBranch'
- version: '0.63'
+ version: '0.64'
-
class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts
config:
@@ -1114,7 +1114,7 @@
-
class: Dist::Zilla::Plugin::DROLSKY::TidyAll
name: '@DROLSKY/DROLSKY::TidyAll'
- version: '0.63'
+ version: '0.64'
-
class: Dist::Zilla::Plugin::Git::Check
config:
@@ -1169,7 +1169,7 @@
branch: ~
changelog: Changes
signed: 0
- tag: v1.04
+ tag: v1.05
tag_format: v%v
tag_message: v%v
Dist::Zilla::Role::Git::Repo:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.04/Makefile.PL
new/DateTime-Locale-1.05/Makefile.PL
--- old/DateTime-Locale-1.04/Makefile.PL 2016-06-18 06:40:25.000000000
+0200
+++ new/DateTime-Locale-1.05/Makefile.PL 2016-06-26 17:58:21.000000000
+0200
@@ -38,7 +38,7 @@
"base" => 0,
"utf8" => 0
},
- "VERSION" => "1.04",
+ "VERSION" => "1.05",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.04/README.md
new/DateTime-Locale-1.05/README.md
--- old/DateTime-Locale-1.04/README.md 2016-06-18 06:40:25.000000000 +0200
+++ new/DateTime-Locale-1.05/README.md 2016-06-26 17:58:21.000000000 +0200
@@ -4,7 +4,7 @@
# VERSION
-version 1.04
+version 1.05
# SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.04/lib/DateTime/Locale/Base.pm
new/DateTime-Locale-1.05/lib/DateTime/Locale/Base.pm
--- old/DateTime-Locale-1.04/lib/DateTime/Locale/Base.pm 2016-06-18
06:40:25.000000000 +0200
+++ new/DateTime-Locale-1.05/lib/DateTime/Locale/Base.pm 2016-06-26
17:58:21.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '1.04';
+our $VERSION = '1.05';
use Carp qw( carp );
use DateTime::Locale;
@@ -486,7 +486,7 @@
=head1 VERSION
-version 1.04
+version 1.05
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.04/lib/DateTime/Locale/Catalog.pm
new/DateTime-Locale-1.05/lib/DateTime/Locale/Catalog.pm
--- old/DateTime-Locale-1.04/lib/DateTime/Locale/Catalog.pm 2016-06-18
06:40:25.000000000 +0200
+++ new/DateTime-Locale-1.05/lib/DateTime/Locale/Catalog.pm 2016-06-26
17:58:21.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '1.04';
+our $VERSION = '1.05';
1;
@@ -21,7 +21,7 @@
=head1 VERSION
-version 1.04
+version 1.05
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.04/lib/DateTime/Locale/Data.pm
new/DateTime-Locale-1.05/lib/DateTime/Locale/Data.pm
--- old/DateTime-Locale-1.04/lib/DateTime/Locale/Data.pm 2016-06-18
06:40:25.000000000 +0200
+++ new/DateTime-Locale-1.05/lib/DateTime/Locale/Data.pm 2016-06-26
17:58:21.000000000 +0200
@@ -17,7 +17,7 @@
use strict;
use warnings;
-our $VERSION = '1.04';
+our $VERSION = '1.05';
#<<<
### :start CLDRVersion:
@@ -8499,10 +8499,7 @@
}
{
- # The DATA handle is really a file handle into the module source
- # itself. The handle's position has been moved to right after the
- # __DATA__. We need to save that for indexing.
- my $data_start_pos = tell DATA;
+ my $locale_data = do { local $/; <DATA> };
sub _data_string_for {
my $code = shift;
@@ -8510,14 +8507,7 @@
my $idx = $DataSectionIndex{$code}
or return;
- seek DATA, $data_start_pos + $idx->[0], 0;
-
- my $string;
- my $read = read DATA, $string, $idx->[1];
- die 'Could not read the expected amount of data from DATA'
- unless $read == $idx->[1];
-
- return $string;
+ return substr( $locale_data, $idx->[0], $idx->[1] );
}
}
@@ -8533,7 +8523,7 @@
=head1 VERSION
-version 1.04
+version 1.05
=head1 SUPPORT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.04/lib/DateTime/Locale/FromData.pm
new/DateTime-Locale-1.05/lib/DateTime/Locale/FromData.pm
--- old/DateTime-Locale-1.04/lib/DateTime/Locale/FromData.pm 2016-06-18
06:40:25.000000000 +0200
+++ new/DateTime-Locale-1.05/lib/DateTime/Locale/FromData.pm 2016-06-26
17:58:21.000000000 +0200
@@ -6,7 +6,7 @@
use DateTime::Locale::Util qw( parse_locale_code );
use Params::Validate qw( validate_pos );
-our $VERSION = '1.04';
+our $VERSION = '1.05';
my @FormatLengths;
@@ -275,7 +275,7 @@
=head1 VERSION
-version 1.04
+version 1.05
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.04/lib/DateTime/Locale/Util.pm
new/DateTime-Locale-1.05/lib/DateTime/Locale/Util.pm
--- old/DateTime-Locale-1.04/lib/DateTime/Locale/Util.pm 2016-06-18
06:40:25.000000000 +0200
+++ new/DateTime-Locale-1.05/lib/DateTime/Locale/Util.pm 2016-06-26
17:58:21.000000000 +0200
@@ -5,7 +5,7 @@
use Exporter qw( import );
-our $VERSION = '1.04';
+our $VERSION = '1.05';
our @EXPORT_OK = 'parse_locale_code';
@@ -62,7 +62,7 @@
=head1 VERSION
-version 1.04
+version 1.05
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/DateTime-Locale-1.04/lib/DateTime/Locale.pm
new/DateTime-Locale-1.05/lib/DateTime/Locale.pm
--- old/DateTime-Locale-1.04/lib/DateTime/Locale.pm 2016-06-18
06:40:25.000000000 +0200
+++ new/DateTime-Locale-1.05/lib/DateTime/Locale.pm 2016-06-26
17:58:21.000000000 +0200
@@ -5,7 +5,7 @@
use strict;
use warnings;
-our $VERSION = '1.04';
+our $VERSION = '1.05';
use DateTime::Locale::Data;
use DateTime::Locale::FromData;
@@ -368,7 +368,7 @@
=head1 VERSION
-version 1.04
+version 1.05
=head1 SYNOPSIS