Hello community,

here is the log from the commit of package perl-Getopt-Long-Descriptive for 
openSUSE:Factory checked in at 2020-02-27 14:38:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Getopt-Long-Descriptive (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Getopt-Long-Descriptive.new.26092 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Getopt-Long-Descriptive"

Thu Feb 27 14:38:27 2020 rev:21 rq:779682 version:0.105

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Getopt-Long-Descriptive/perl-Getopt-Long-Descriptive.changes
        2019-05-06 13:27:32.189293134 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Getopt-Long-Descriptive.new.26092/perl-Getopt-Long-Descriptive.changes
     2020-02-27 14:38:58.342234610 +0100
@@ -1,0 +2,9 @@
+Wed Feb 26 03:07:35 UTC 2020 -  <[email protected]>
+
+- updated to 0.105
+   see /usr/share/doc/packages/perl-Getopt-Long-Descriptive/Changes
+
+  0.105     2020-02-26 09:40:36+11:00 Australia/Melbourne
+          - one_of suboptions now get accessors (thanks, Michael McClimon!)
+
+-------------------------------------------------------------------

Old:
----
  Getopt-Long-Descriptive-0.104.tar.gz

New:
----
  Getopt-Long-Descriptive-0.105.tar.gz

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

Other differences:
------------------
++++++ perl-Getopt-Long-Descriptive.spec ++++++
--- /var/tmp/diff_new_pack.R3TLL3/_old  2020-02-27 14:39:00.614239296 +0100
+++ /var/tmp/diff_new_pack.R3TLL3/_new  2020-02-27 14:39:00.618239305 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Getopt-Long-Descriptive
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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,7 +17,7 @@
 
 
 Name:           perl-Getopt-Long-Descriptive
-Version:        0.104
+Version:        0.105
 Release:        0
 %define cpan_name Getopt-Long-Descriptive
 Summary:        Getopt::Long, but simpler and more powerful

++++++ Getopt-Long-Descriptive-0.104.tar.gz -> 
Getopt-Long-Descriptive-0.105.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.104/Changes 
new/Getopt-Long-Descriptive-0.105/Changes
--- old/Getopt-Long-Descriptive-0.104/Changes   2019-04-27 11:50:53.000000000 
+0200
+++ new/Getopt-Long-Descriptive-0.105/Changes   2020-02-25 23:40:39.000000000 
+0100
@@ -1,5 +1,8 @@
 Revision history for Getopt-Long-Descriptive
 
+0.105     2020-02-26 09:40:36+11:00 Australia/Melbourne
+        - one_of suboptions now get accessors (thanks, Michael McClimon!)
+
 0.104     2019-04-27 10:50:50+01:00 Europe/London
         - allow for verbatim text in descripition options
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.104/META.json 
new/Getopt-Long-Descriptive-0.105/META.json
--- old/Getopt-Long-Descriptive-0.104/META.json 2019-04-27 11:50:53.000000000 
+0200
+++ new/Getopt-Long-Descriptive-0.105/META.json 2020-02-25 23:40:39.000000000 
+0100
@@ -69,10 +69,10 @@
          "web" : "https://github.com/rjbs/Getopt-Long-Descriptive";
       }
    },
-   "version" : "0.104",
+   "version" : "0.105",
    "x_Dist_Zilla" : {
       "perl" : {
-         "version" : "5.026003"
+         "version" : "5.030001"
       },
       "plugins" : [
          {
@@ -215,7 +215,7 @@
                   "version_regexp" : "(?^:^([0-9]+\\.[0-9]+)$)"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.20.1",
+                  "git_version" : "2.25.0",
                   "repo_root" : "."
                }
             },
@@ -401,7 +401,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.20.1",
+                  "git_version" : "2.25.0",
                   "repo_root" : "."
                }
             },
@@ -424,7 +424,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.20.1",
+                  "git_version" : "2.25.0",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -441,12 +441,12 @@
                   "branch" : null,
                   "changelog" : "Changes",
                   "signed" : 0,
-                  "tag" : "0.104",
+                  "tag" : "0.105",
                   "tag_format" : "%v",
                   "tag_message" : "v%V"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.20.1",
+                  "git_version" : "2.25.0",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -467,7 +467,7 @@
                   "remotes_must_exist" : 0
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.20.1",
+                  "git_version" : "2.25.0",
                   "repo_root" : "."
                }
             },
@@ -478,7 +478,7 @@
             "class" : "Dist::Zilla::Plugin::Git::Contributors",
             "config" : {
                "Dist::Zilla::Plugin::Git::Contributors" : {
-                  "git_version" : "2.20.1",
+                  "git_version" : "2.25.0",
                   "include_authors" : 0,
                   "include_releaser" : 1,
                   "order_by" : "name",
@@ -503,7 +503,7 @@
                   "no_forced_deps" : 0
                },
                "Dist::Zilla::Role::ModuleMetadata" : {
-                  "Module::Metadata" : "1.000033",
+                  "Module::Metadata" : "1.000036",
                   "version" : "0.006"
                }
             },
@@ -581,6 +581,7 @@
       "Harley Pig <[email protected]>",
       "[email protected] <[email protected]@fc0e91e4-031c-0410-8307-be39b06d7656>",
       "Karen Etheridge <[email protected]>",
+      "Michael McClimon <[email protected]>",
       "Niels Thykier <[email protected]>",
       "Olaf Alders <[email protected]>",
       "Roman Hubacek <[email protected]>",
@@ -588,7 +589,7 @@
       "Thomas Neumann <[email protected]>",
       "zhouzhen1 <[email protected]>"
    ],
-   "x_generated_by_perl" : "v5.26.3",
-   "x_serialization_backend" : "Cpanel::JSON::XS version 4.09"
+   "x_generated_by_perl" : "v5.30.1",
+   "x_serialization_backend" : "Cpanel::JSON::XS version 4.18"
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.104/META.yml 
new/Getopt-Long-Descriptive-0.105/META.yml
--- old/Getopt-Long-Descriptive-0.104/META.yml  2019-04-27 11:50:53.000000000 
+0200
+++ new/Getopt-Long-Descriptive-0.105/META.yml  2020-02-25 23:40:39.000000000 
+0100
@@ -36,10 +36,10 @@
   bugtracker: https://github.com/rjbs/Getopt-Long-Descriptive/issues
   homepage: https://github.com/rjbs/Getopt-Long-Descriptive
   repository: https://github.com/rjbs/Getopt-Long-Descriptive.git
-version: '0.104'
+version: '0.105'
 x_Dist_Zilla:
   perl:
-    version: '5.026003'
+    version: '5.030001'
   plugins:
     -
       class: Dist::Zilla::Plugin::Git::GatherDir
@@ -152,7 +152,7 @@
           version_by_branch: 0
           version_regexp: (?^:^([0-9]+\.[0-9]+)$)
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.20.1
+          git_version: 2.25.0
           repo_root: .
       name: '@RJBS/Git::NextVersion'
       version: '2.046'
@@ -296,7 +296,7 @@
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.20.1
+          git_version: 2.25.0
           repo_root: .
       name: '@RJBS/@Git/Check'
       version: '2.046'
@@ -313,7 +313,7 @@
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.20.1
+          git_version: 2.25.0
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -326,11 +326,11 @@
           branch: ~
           changelog: Changes
           signed: 0
-          tag: '0.104'
+          tag: '0.105'
           tag_format: '%v'
           tag_message: v%V
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.20.1
+          git_version: 2.25.0
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -345,7 +345,7 @@
             - 'github :'
           remotes_must_exist: 0
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.20.1
+          git_version: 2.25.0
           repo_root: .
       name: '@RJBS/@Git/Push'
       version: '2.046'
@@ -353,7 +353,7 @@
       class: Dist::Zilla::Plugin::Git::Contributors
       config:
         Dist::Zilla::Plugin::Git::Contributors:
-          git_version: 2.20.1
+          git_version: 2.25.0
           include_authors: 0
           include_releaser: 1
           order_by: name
@@ -372,7 +372,7 @@
             - Moose::Conflicts
           no_forced_deps: 0
         Dist::Zilla::Role::ModuleMetadata:
-          Module::Metadata: '1.000033'
+          Module::Metadata: '1.000036'
           version: '0.006'
       name: Test::CheckBreaks
       version: '0.019'
@@ -432,11 +432,12 @@
   - 'Harley Pig <[email protected]>'
   - '[email protected] <[email protected]@fc0e91e4-031c-0410-8307-be39b06d7656>'
   - 'Karen Etheridge <[email protected]>'
+  - 'Michael McClimon <[email protected]>'
   - 'Niels Thykier <[email protected]>'
   - 'Olaf Alders <[email protected]>'
   - 'Roman Hubacek <[email protected]>'
   - 'Smylers <[email protected]>'
   - 'Thomas Neumann <[email protected]>'
   - 'zhouzhen1 <[email protected]>'
-x_generated_by_perl: v5.26.3
+x_generated_by_perl: v5.30.1
 x_serialization_backend: 'YAML::Tiny version 1.73'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.104/Makefile.PL 
new/Getopt-Long-Descriptive-0.105/Makefile.PL
--- old/Getopt-Long-Descriptive-0.104/Makefile.PL       2019-04-27 
11:50:53.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.105/Makefile.PL       2020-02-25 
23:40:39.000000000 +0100
@@ -37,7 +37,7 @@
     "Test::More" => "0.96",
     "Test::Warnings" => "0.005"
   },
-  "VERSION" => "0.104",
+  "VERSION" => "0.105",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.104/README 
new/Getopt-Long-Descriptive-0.105/README
--- old/Getopt-Long-Descriptive-0.104/README    2019-04-27 11:50:53.000000000 
+0200
+++ new/Getopt-Long-Descriptive-0.105/README    2020-02-25 23:40:39.000000000 
+0100
@@ -1,5 +1,5 @@
 This archive contains the distribution Getopt-Long-Descriptive,
-version 0.104:
+version 0.105:
 
   Getopt::Long, but simpler and more powerful
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Getopt-Long-Descriptive-0.104/lib/Getopt/Long/Descriptive/Opts.pm 
new/Getopt-Long-Descriptive-0.105/lib/Getopt/Long/Descriptive/Opts.pm
--- old/Getopt-Long-Descriptive-0.104/lib/Getopt/Long/Descriptive/Opts.pm       
2019-04-27 11:50:53.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.105/lib/Getopt/Long/Descriptive/Opts.pm       
2020-02-25 23:40:39.000000000 +0100
@@ -2,7 +2,7 @@
 use warnings;
 package Getopt::Long::Descriptive::Opts;
 # ABSTRACT: object representing command line switches
-$Getopt::Long::Descriptive::Opts::VERSION = '0.104';
+$Getopt::Long::Descriptive::Opts::VERSION = '0.105';
 use Scalar::Util qw(blessed weaken);
 
 #pod =head1 DESCRIPTION
@@ -145,7 +145,7 @@
 
 =head1 VERSION
 
-version 0.104
+version 0.105
 
 =head1 DESCRIPTION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Getopt-Long-Descriptive-0.104/lib/Getopt/Long/Descriptive/Usage.pm 
new/Getopt-Long-Descriptive-0.105/lib/Getopt/Long/Descriptive/Usage.pm
--- old/Getopt-Long-Descriptive-0.104/lib/Getopt/Long/Descriptive/Usage.pm      
2019-04-27 11:50:53.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.105/lib/Getopt/Long/Descriptive/Usage.pm      
2020-02-25 23:40:39.000000000 +0100
@@ -2,7 +2,7 @@
 use warnings;
 package Getopt::Long::Descriptive::Usage;
 # ABSTRACT: the usage description for GLD
-$Getopt::Long::Descriptive::Usage::VERSION = '0.104';
+$Getopt::Long::Descriptive::Usage::VERSION = '0.105';
 use List::Util qw(max);
 
 #pod =head1 SYNOPSIS
@@ -290,7 +290,7 @@
 
 =head1 VERSION
 
-version 0.104
+version 0.105
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Getopt-Long-Descriptive-0.104/lib/Getopt/Long/Descriptive.pm 
new/Getopt-Long-Descriptive-0.105/lib/Getopt/Long/Descriptive.pm
--- old/Getopt-Long-Descriptive-0.104/lib/Getopt/Long/Descriptive.pm    
2019-04-27 11:50:53.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.105/lib/Getopt/Long/Descriptive.pm    
2020-02-25 23:40:39.000000000 +0100
@@ -2,7 +2,7 @@
 use warnings;
 package Getopt::Long::Descriptive;
 # ABSTRACT: Getopt::Long, but simpler and more powerful
-$Getopt::Long::Descriptive::VERSION = '0.104';
+$Getopt::Long::Descriptive::VERSION = '0.105';
 use Carp qw(carp croak);
 use File::Basename ();
 use Getopt::Long 2.33;
@@ -378,6 +378,10 @@
           }
           $one_opt->{constraint}->{one_of} = $opt->{name};
           push @opts, $one_opt;
+
+          # Ensure that we generate accessors for all one_of sub-options
+          $method_map{ $one_opt->{name} } = undef
+            unless $one_opt->{desc} eq 'spacer';
         }
       }
 
@@ -698,7 +702,7 @@
 
 =head1 VERSION
 
-version 0.104
+version 0.105
 
 =head1 SYNOPSIS
 
@@ -988,7 +992,7 @@
 
 =head1 CONTRIBUTORS
 
-=for stopwords Arthur Axel 'fREW' Schmidt Dave Rolsky Diab Jerius Hans Dieter 
Pearcey Harley Pig [email protected] Karen Etheridge Niels Thykier Olaf Alders 
Roman Hubacek Smylers Thomas Neumann zhouzhen1
+=for stopwords Arthur Axel 'fREW' Schmidt Dave Rolsky Diab Jerius Hans Dieter 
Pearcey Harley Pig [email protected] Karen Etheridge Michael McClimon Niels Thykier 
Olaf Alders Roman Hubacek Smylers Thomas Neumann zhouzhen1
 
 =over 4
 
@@ -1026,6 +1030,10 @@
 
 =item *
 
+Michael McClimon <[email protected]>
+
+=item *
+
 Niels Thykier <[email protected]>
 
 =item *
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Getopt-Long-Descriptive-0.104/t/descriptive.t 
new/Getopt-Long-Descriptive-0.105/t/descriptive.t
--- old/Getopt-Long-Descriptive-0.104/t/descriptive.t   2019-04-27 
11:50:53.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.105/t/descriptive.t   2020-02-25 
23:40:39.000000000 +0100
@@ -334,6 +334,22 @@
 }
 
 {
+  local @ARGV = qw(--get);
+  my ($opt, $usage) = describe_options(
+    "%c %o",
+    [ "mode" => hidden => { one_of => [
+      [ "get" => "get the value"  ],
+      [ "set" => "set the value" ],
+    ] } ],
+  );
+  is( $opt->{get}, 1, "one_of provided value (as hash key)" );
+  is( $opt->get,   1, "one_of provided value (as method)" );
+
+  is( $opt->{set}, undef, "one_of entry not given is undef (as hash key)" );
+  is( $opt->set,   undef, "one_of entry not given is undef (as method)");
+}
+
+{
   local @ARGV = qw(--foo-bar);
   my ($opt) = describe_options(
     "%c %o",
@@ -384,6 +400,26 @@
 }
 
 {
+  my @gld_args = ('%c %o', [ 'exit!', 'hell is other getopts' ]);
+
+  my @test = (
+    # (expected $opt->exit) then (@ARGV)
+    [ undef,              ],
+    [ 1,      '--exit'    ],
+    [ 0,      '--no-exit' ],
+  );
+
+  for my $test (@test) {
+    my $want = shift @$test;
+    local @ARGV = @$test;
+
+    my ($opt, $usage) = describe_options(@gld_args);
+
+    is(scalar $opt->exit, $want, "(@$test) for exit!");
+  }
+}
+
+{
   local @ARGV;
   my ($opt, $usage) = describe_options(
     "%c %o",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/Getopt-Long-Descriptive-0.104/xt/release/changes_has_content.t 
new/Getopt-Long-Descriptive-0.105/xt/release/changes_has_content.t
--- old/Getopt-Long-Descriptive-0.104/xt/release/changes_has_content.t  
2019-04-27 11:50:53.000000000 +0200
+++ new/Getopt-Long-Descriptive-0.105/xt/release/changes_has_content.t  
2020-02-25 23:40:39.000000000 +0100
@@ -2,7 +2,7 @@
 
 note 'Checking Changes';
 my $changes_file = 'Changes';
-my $newver = '0.104';
+my $newver = '0.105';
 my $trial_token = '-TRIAL';
 my $encoding = 'UTF-8';
 


Reply via email to