Hello community,

here is the log from the commit of package perl-DateTime-Format-Natural for 
openSUSE:Factory checked in at 2020-06-30 22:25:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-DateTime-Format-Natural (Old)
 and      /work/SRC/openSUSE:Factory/.perl-DateTime-Format-Natural.new.3060 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-DateTime-Format-Natural"

Tue Jun 30 22:25:32 2020 rev:4 rq:817914 version:1.10

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-DateTime-Format-Natural/perl-DateTime-Format-Natural.changes
        2020-05-20 18:46:17.533394188 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-DateTime-Format-Natural.new.3060/perl-DateTime-Format-Natural.changes
      2020-06-30 22:25:34.443988920 +0200
@@ -1,0 +2,11 @@
+Sat Jun 27 03:08:54 UTC 2020 - Tina Müller <timueller+p...@suse.de>
+
+- updated to 1.10
+   see /usr/share/doc/packages/perl-DateTime-Format-Natural/Changes
+
+  1.10  2020-06-26  <schubi...@cpan.org>
+   - Merged development version to stable.
+  1.09_01  2020-06-21  <schubi...@cpan.org>
+   - Support common unit abbreviations. [github #8 - grr]
+
+-------------------------------------------------------------------

Old:
----
  DateTime-Format-Natural-1.09.tar.gz

New:
----
  DateTime-Format-Natural-1.10.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-DateTime-Format-Natural.spec ++++++
--- /var/tmp/diff_new_pack.d2HyvV/_old  2020-06-30 22:25:34.959990491 +0200
+++ /var/tmp/diff_new_pack.d2HyvV/_new  2020-06-30 22:25:34.963990504 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-DateTime-Format-Natural
-Version:        1.09
+Version:        1.10
 Release:        0
 %define cpan_name DateTime-Format-Natural
 Summary:        Parse informal natural language date/time strings

++++++ DateTime-Format-Natural-1.09.tar.gz -> 
DateTime-Format-Natural-1.10.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Format-Natural-1.09/Changes 
new/DateTime-Format-Natural-1.10/Changes
--- old/DateTime-Format-Natural-1.09/Changes    2020-05-17 17:22:46.000000000 
+0200
+++ new/DateTime-Format-Natural-1.10/Changes    2020-06-26 20:52:17.000000000 
+0200
@@ -1,5 +1,13 @@
 Revision history for Perl extension DateTime::Format::Natural.
 
+1.10  2020-06-26  <schubi...@cpan.org>
+
+ - Merged development version to stable.
+
+1.09_01  2020-06-21  <schubi...@cpan.org>
+
+ - Support common unit abbreviations. [github #8 - grr]
+
 1.09  2020-05-17  <schubi...@cpan.org>
 
  - Merged development version to stable.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Format-Natural-1.09/META.json 
new/DateTime-Format-Natural-1.10/META.json
--- old/DateTime-Format-Natural-1.09/META.json  2020-05-17 17:22:46.000000000 
+0200
+++ new/DateTime-Format-Natural-1.10/META.json  2020-06-26 20:52:17.000000000 
+0200
@@ -53,7 +53,7 @@
    "provides" : {
       "DateTime::Format::Natural" : {
          "file" : "lib/DateTime/Format/Natural.pm",
-         "version" : "1.09"
+         "version" : "1.10"
       },
       "DateTime::Format::Natural::Calc" : {
          "file" : "lib/DateTime/Format/Natural/Calc.pm",
@@ -93,7 +93,7 @@
       },
       "DateTime::Format::Natural::Lang::EN" : {
          "file" : "lib/DateTime/Format/Natural/Lang/EN.pm",
-         "version" : "1.67"
+         "version" : "1.68"
       },
       "DateTime::Format::Natural::Rewrite" : {
          "file" : "lib/DateTime/Format/Natural/Rewrite.pm",
@@ -121,6 +121,6 @@
          "url" : "https://github.com/stsc/DateTime-Format-Natural";
       }
    },
-   "version" : "1.09",
+   "version" : "1.10",
    "x_serialization_backend" : "JSON::PP version 2.97001"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Format-Natural-1.09/META.yml 
new/DateTime-Format-Natural-1.10/META.yml
--- old/DateTime-Format-Natural-1.09/META.yml   2020-05-17 17:22:46.000000000 
+0200
+++ new/DateTime-Format-Natural-1.10/META.yml   2020-06-26 20:52:17.000000000 
+0200
@@ -22,7 +22,7 @@
 provides:
   DateTime::Format::Natural:
     file: lib/DateTime/Format/Natural.pm
-    version: '1.09'
+    version: '1.10'
   DateTime::Format::Natural::Calc:
     file: lib/DateTime/Format/Natural/Calc.pm
     version: '1.44'
@@ -52,7 +52,7 @@
     version: '1.08'
   DateTime::Format::Natural::Lang::EN:
     file: lib/DateTime/Format/Natural/Lang/EN.pm
-    version: '1.67'
+    version: '1.68'
   DateTime::Format::Natural::Rewrite:
     file: lib/DateTime/Format/Natural/Rewrite.pm
     version: '0.06'
@@ -83,5 +83,5 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: https://github.com/stsc/DateTime-Format-Natural
-version: '1.09'
+version: '1.10'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/DateTime-Format-Natural-1.09/lib/DateTime/Format/Natural/Lang/EN.pm 
new/DateTime-Format-Natural-1.10/lib/DateTime/Format/Natural/Lang/EN.pm
--- old/DateTime-Format-Natural-1.09/lib/DateTime/Format/Natural/Lang/EN.pm     
2020-05-17 17:22:46.000000000 +0200
+++ new/DateTime-Format-Natural-1.10/lib/DateTime/Format/Natural/Lang/EN.pm     
2020-06-26 20:52:17.000000000 +0200
@@ -13,7 +13,7 @@
 
 use DateTime::Format::Natural::Helpers qw(%flag);
 
-our $VERSION = '1.67';
+our $VERSION = '1.68';
 
 our (%init,
      %timespan,
@@ -170,7 +170,14 @@
             thurs => 'thu',
         },
         tokens => {
+            sec  => 'second',
+            secs => 'seconds',
+            min  => 'minute',
             mins => 'minutes',
+            hr   => 'hour',
+            hrs  => 'hours',
+            yr   => 'year',
+            yrs  => 'years',
             '@'  => 'at',
         },
         short => {
@@ -4814,7 +4821,14 @@
 
 =head2 Aliases
 
+ 1 sec ago
+ 10 secs ago
+ 1 min ago
  5 mins ago
+ 1 hr ago
+ 3 hrs ago
+ 1 yr ago
+ 7 yrs ago
  yesterday @ noon
  tues this week
  final thurs in sep
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/DateTime-Format-Natural-1.09/lib/DateTime/Format/Natural.pm 
new/DateTime-Format-Natural-1.10/lib/DateTime/Format/Natural.pm
--- old/DateTime-Format-Natural-1.09/lib/DateTime/Format/Natural.pm     
2020-05-17 17:22:46.000000000 +0200
+++ new/DateTime-Format-Natural-1.10/lib/DateTime/Format/Natural.pm     
2020-06-26 20:52:17.000000000 +0200
@@ -21,7 +21,7 @@
 use Scalar::Util qw(blessed);
 use Storable qw(dclone);
 
-our $VERSION = '1.09';
+our $VERSION = '1.10';
 
 validation_options(
     on_fail => sub
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/DateTime-Format-Natural-1.09/t/08-parse_aliases.t 
new/DateTime-Format-Natural-1.10/t/08-parse_aliases.t
--- old/DateTime-Format-Natural-1.09/t/08-parse_aliases.t       2020-05-17 
17:22:46.000000000 +0200
+++ new/DateTime-Format-Natural-1.10/t/08-parse_aliases.t       2020-06-26 
20:52:17.000000000 +0200
@@ -8,7 +8,14 @@
 use Test::More;
 
 my @aliases = (
+    { '1 sec ago'          => '24.11.2006 01:13:07' },
+    { '10 secs ago'        => '24.11.2006 01:12:58' },
+    { '1 min ago'          => '24.11.2006 01:12:08' },
     { '5 mins ago'         => '24.11.2006 01:08:08' },
+    { '1 hr ago'           => '24.11.2006 00:13:08' },
+    { '3 hrs ago'          => '23.11.2006 22:13:08' },
+    { '1 yr ago'           => '24.11.2005 01:13:08' },
+    { '7 yrs ago'          => '24.11.1999 01:13:08' },
     { 'yesterday @ noon'   => '23.11.2006 12:00:00' },
     { 'tues this week'     => '21.11.2006 00:00:00' },
     { 'final thurs in sep' => '28.09.2006 00:00:00' },
@@ -17,7 +24,7 @@
     { 'thur'               => '23.11.2006 00:00:00' },
 );
 
-_run_tests(7, [ [ \@aliases ] ], \&compare);
+_run_tests(14, [ [ \@aliases ] ], \&compare);
 
 sub compare
 {


Reply via email to