Hello community,
here is the log from the commit of package perl-Time-Duration-Parse for
openSUSE:Factory checked in at 2018-07-28 12:39:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Time-Duration-Parse (Old)
and /work/SRC/openSUSE:Factory/.perl-Time-Duration-Parse.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Time-Duration-Parse"
Sat Jul 28 12:39:51 2018 rev:12 rq:623049 version:0.14
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Time-Duration-Parse/perl-Time-Duration-Parse.changes
2015-10-28 17:31:07.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.perl-Time-Duration-Parse.new/perl-Time-Duration-Parse.changes
2018-07-28 12:39:53.436366757 +0200
@@ -1,0 +2,9 @@
+Sat Jun 30 06:07:49 UTC 2018 - [email protected]
+
+- updated to 0.14
+ see /usr/share/doc/packages/perl-Time-Duration-Parse/Changes
+
+ 0.14 2018-06-29 NEILB
+ - Added "hrs" as another form for "hours". Thanks to Stig for the PR.
+
+-------------------------------------------------------------------
Old:
----
Time-Duration-Parse-0.13.tar.gz
New:
----
Time-Duration-Parse-0.14.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Time-Duration-Parse.spec ++++++
--- /var/tmp/diff_new_pack.LCgJ3u/_old 2018-07-28 12:39:55.156370062 +0200
+++ /var/tmp/diff_new_pack.LCgJ3u/_new 2018-07-28 12:39:55.160370069 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Time-Duration-Parse
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,14 @@
Name: perl-Time-Duration-Parse
-Version: 0.13
+Version: 0.14
Release: 0
%define cpan_name Time-Duration-Parse
Summary: Parse string that represents time duration
-License: Artistic-1.0 or GPL-1.0+
+License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Time-Duration-Parse/
-Source0:
http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -66,6 +66,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes LICENSE README
+%doc Changes README
+%license LICENSE
%changelog
++++++ Time-Duration-Parse-0.13.tar.gz -> Time-Duration-Parse-0.14.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Time-Duration-Parse-0.13/Changes
new/Time-Duration-Parse-0.14/Changes
--- old/Time-Duration-Parse-0.13/Changes 2015-10-25 11:20:37.000000000
+0100
+++ new/Time-Duration-Parse-0.14/Changes 2018-06-29 17:14:04.000000000
+0200
@@ -1,5 +1,8 @@
Revision history for Perl extension Time::Duration::Parse
+0.14 2018-06-29 NEILB
+ - Added "hrs" as another form for "hours". Thanks to Stig for the PR.
+
0.13 2015-10-25 NEILB
- Added additional abbrevations for 'months': 'mo', 'mon', 'mons'.
Thanks to PERLANCAR.
@@ -11,57 +14,57 @@
- Added [MetaJSON] to dist.ini, so the dist will get a META.json file.
RT#105627 from ETHER.
-0.11 2014-03-26
+0.11 2014-03-26 NEILB
- Min perl version now set to 5.6.0
- Added description of DateTime::Format::Duration to SEE ALSO
-0.10 2014-03-24
+0.10 2014-03-24 NEILB
- Switched to Dist::Zilla. The Module::Install Makefile.PL was resulting
in dependency problems and CPAN Testers fails, and I'm not familiar with
it. Easier to switch. Thanks to ZEFRAM for pointing out the problem.
-0.09 2014-03-23
+0.09 2014-03-23 NEILB
- Test::More and Time::Duration were listed as build_requires;
changed them to test_requires, with versions. Wonder if this was
the cause of the small number of CPAN Testers fails?
- Added more more modules to the SEE ALSO section in the pod.
-0.08 2014-03-23
+0.08 2014-03-23 NEILB
- Can now have a leading '+', as in '+2h'.
Suggested by MSCHWERN in RT#66572
- Added github repo to metadata (thanks dsteinbrunner)
- Added github repo to pod
- Added Time::Duration::Parse::More to SEE ALSO
-0.07 2014-03-21
+0.07 2014-03-21 NEILB
- Added 'use warnings'
- Specified min perl version as 5.6.0 in Makefile.PL
- Fixed pod error reported in RT#86904
- Added license type 'perl' to metadata via Makefile.PL
- Reformatted this file as per CPAN::Changes::Spec
-0.06 2008-05-30
+0.06 2008-05-30 MIYAGAWA
- Accept 1.5h (Thanks to Thomas Sibley)
-0.05 2008-01-10
+0.05 2008-01-10 MIYAGAWA
- Accept hh:mm(:ss) as a format.
- Relaxed to handle trailing spaces.
(Thanks to Thomas Sibley)
-0.04 2008-01-04
+0.04 2008-01-04 MIYAGAWA
- Compatible to Time::Duration's concise. RT:32078
(Thanks to Thomas Sibley)
-0.03 2007-11-05
+0.03 2007-11-05 MIYAGAWA
- Accept 'hr' for hours (Ricardo SIGNES)
- Do not require space between digits and units (1hr) (Ricaldo SIGNES)
- Accept a simple integer as a number of seconds (Jonathan Swartz)
- Accept negative durations like "-30 minutes" (Jonathan Swartz)
-0.02 2006-07-18
+0.02 2006-07-18 MIYAGAWA
- Accept upper-case timespec like '3 Seconds' as well.
- Unified exception format
-0.01 2006-07-17
+0.01 2006-07-17 MIYAGAWA
- original version
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Time-Duration-Parse-0.13/MANIFEST
new/Time-Duration-Parse-0.14/MANIFEST
--- old/Time-Duration-Parse-0.13/MANIFEST 2015-10-25 11:20:37.000000000
+0100
+++ new/Time-Duration-Parse-0.14/MANIFEST 2018-06-29 17:14:04.000000000
+0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v5.037.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.011.
Changes
LICENSE
MANIFEST
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Time-Duration-Parse-0.13/META.json
new/Time-Duration-Parse-0.14/META.json
--- old/Time-Duration-Parse-0.13/META.json 2015-10-25 11:20:37.000000000
+0100
+++ new/Time-Duration-Parse-0.14/META.json 2018-06-29 17:14:04.000000000
+0200
@@ -4,7 +4,7 @@
"Tatsuhiko Miyagawa <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.037, CPAN::Meta::Converter version
2.150005",
+ "generated_by" : "Dist::Zilla version 6.011, CPAN::Meta::Converter version
2.150005",
"license" : [
"perl_5"
],
@@ -44,6 +44,7 @@
"web" : "https://github.com/neilb/Time-Duration-Parse"
}
},
- "version" : "0.13"
+ "version" : "0.14",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 3.0217"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Time-Duration-Parse-0.13/META.yml
new/Time-Duration-Parse-0.14/META.yml
--- old/Time-Duration-Parse-0.13/META.yml 2015-10-25 11:20:37.000000000
+0100
+++ new/Time-Duration-Parse-0.14/META.yml 2018-06-29 17:14:04.000000000
+0200
@@ -8,7 +8,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.037, CPAN::Meta::Converter version
2.150005'
+generated_by: 'Dist::Zilla version 6.011, CPAN::Meta::Converter version
2.150005'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -23,4 +23,5 @@
resources:
homepage: https://github.com/neilb/Time-Duration-Parse
repository: https://github.com/neilb/Time-Duration-Parse.git
-version: '0.13'
+version: '0.14'
+x_serialization_backend: 'YAML::Tiny version 1.62'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Time-Duration-Parse-0.13/Makefile.PL
new/Time-Duration-Parse-0.14/Makefile.PL
--- old/Time-Duration-Parse-0.13/Makefile.PL 2015-10-25 11:20:37.000000000
+0100
+++ new/Time-Duration-Parse-0.14/Makefile.PL 2018-06-29 17:14:04.000000000
+0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v5.037.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v6.011.
use strict;
use warnings;
@@ -13,7 +13,6 @@
"ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "Time-Duration-Parse",
- "EXE_FILES" => [],
"LICENSE" => "perl",
"MIN_PERL_VERSION" => "5.006",
"NAME" => "Time::Duration::Parse",
@@ -27,7 +26,7 @@
"Test::More" => "0.88",
"Time::Duration" => 0
},
- "VERSION" => "0.13",
+ "VERSION" => "0.14",
"test" => {
"TESTS" => "t/*.t"
}
@@ -37,7 +36,6 @@
my %FallbackPrereqs = (
"Carp" => 0,
"Exporter::Lite" => 0,
- "ExtUtils::MakeMaker" => 0,
"Test::More" => "0.88",
"Time::Duration" => 0,
"strict" => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Time-Duration-Parse-0.13/README
new/Time-Duration-Parse-0.14/README
--- old/Time-Duration-Parse-0.13/README 2015-10-25 11:20:37.000000000 +0100
+++ new/Time-Duration-Parse-0.14/README 2018-06-29 17:14:04.000000000 +0200
@@ -1,7 +1,5 @@
-
-
This archive contains the distribution Time-Duration-Parse,
-version 0.13:
+version 0.14:
Parse string that represents time duration
@@ -11,5 +9,4 @@
the same terms as the Perl 5 programming language system itself.
-This README file was generated by Dist::Zilla::Plugin::Readme v5.037.
-
+This README file was generated by Dist::Zilla::Plugin::Readme v6.011.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Time-Duration-Parse-0.13/dist.ini
new/Time-Duration-Parse-0.14/dist.ini
--- old/Time-Duration-Parse-0.13/dist.ini 2015-10-25 11:20:37.000000000
+0100
+++ new/Time-Duration-Parse-0.14/dist.ini 2018-06-29 17:14:04.000000000
+0200
@@ -4,7 +4,7 @@
copyright_holder = Tatsuhiko Miyagawa
copyright_year = 2006
-version = 0.13
+version = 0.14
[@Basic]
[PkgVersion]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Time-Duration-Parse-0.13/lib/Time/Duration/Parse.pm
new/Time-Duration-Parse-0.14/lib/Time/Duration/Parse.pm
--- old/Time-Duration-Parse-0.13/lib/Time/Duration/Parse.pm 2015-10-25
11:20:37.000000000 +0100
+++ new/Time-Duration-Parse-0.14/lib/Time/Duration/Parse.pm 2018-06-29
17:14:04.000000000 +0200
@@ -1,5 +1,5 @@
package Time::Duration::Parse;
-$Time::Duration::Parse::VERSION = '0.13';
+$Time::Duration::Parse::VERSION = '0.14';
use 5.006;
use strict;
use warnings;
@@ -12,7 +12,7 @@
# map of expiration formats to their respective time in seconds
my %Units = ( map(($_, 1), qw(s second seconds sec secs)),
map(($_, 60), qw(m minute minutes min mins)),
- map(($_, 60*60), qw(h hr hour hours)),
+ map(($_, 60*60), qw(h hr hrs hour hours)),
map(($_, 60*60*24), qw(d day days)),
map(($_, 60*60*24*7), qw(w week weeks)),
map(($_, 60*60*24*30), qw(M month months mo mon mons)),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Time-Duration-Parse-0.13/t/01_parse.t
new/Time-Duration-Parse-0.14/t/01_parse.t
--- old/Time-Duration-Parse-0.13/t/01_parse.t 2015-10-25 11:20:37.000000000
+0100
+++ new/Time-Duration-Parse-0.14/t/01_parse.t 2018-06-29 17:14:04.000000000
+0200
@@ -20,6 +20,8 @@
['3s', 3],
['1hr', 3600],
['+2h', 7200],
+ ['1hrs', 3600],
+ ['+2hrs', 7200],
['1d 2:03', 93780],
['1d 2:03:01', 93781],
@@ -45,6 +47,9 @@
['1.5h, 3s', 5403],
['1.5h and 3s', 5403],
+ ['450 hrs', 1620000],
+ ['170 hrs 35 mins 21 seconds', 614121],
+
['1 month', 2592000],
['2 months', 5184000],
['2 mo', 5184000],