Hello community,

here is the log from the commit of package rubygem-cri for openSUSE:Factory 
checked in at 2020-03-07 21:37:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-cri (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-cri.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-cri"

Sat Mar  7 21:37:40 2020 rev:11 rq:773749 version:2.15.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-cri/rubygem-cri.changes  2019-07-22 
12:20:38.555660397 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-cri.new.26092/rubygem-cri.changes       
2020-03-07 21:37:44.904252292 +0100
@@ -1,0 +2,12 @@
+Mon Feb 10 14:22:43 UTC 2020 - Stephan Kulow <[email protected]>
+
+- updated to version 2.15.10
+ see installed NEWS.md
+
+  ## 2.15.10
+  
+  Fixes:
+  
+  - Fixed warnings appearing in Ruby 2.7 (9a3d810)
+
+-------------------------------------------------------------------

Old:
----
  cri-2.15.9.gem

New:
----
  cri-2.15.10.gem

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

Other differences:
------------------
++++++ rubygem-cri.spec ++++++
--- /var/tmp/diff_new_pack.fGiNok/_old  2020-03-07 21:37:45.488252686 +0100
+++ /var/tmp/diff_new_pack.fGiNok/_new  2020-03-07 21:37:45.492252689 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-cri
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:           rubygem-cri
-Version:        2.15.9
+Version:        2.15.10
 Release:        0
 %define mod_name cri
 %define mod_full_name %{mod_name}-%{version}
@@ -34,7 +34,7 @@
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
 BuildRequires:  ruby-macros >= 5
-Url:            https://github.com/ddfreyne/cri
+URL:            https://github.com/ddfreyne/cri
 Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        gem2rpm.yml
 Summary:        a library for building easy-to-use command-line tools

++++++ cri-2.15.9.gem -> cri-2.15.10.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile.lock new/Gemfile.lock
--- old/Gemfile.lock    2019-06-14 21:07:31.000000000 +0200
+++ new/Gemfile.lock    2020-01-21 08:42:24.000000000 +0100
@@ -1,7 +1,7 @@
 PATH
   remote: .
   specs:
-    cri (2.15.9)
+    cri (2.15.10)
 
 GEM
   remote: https://rubygems.org/
@@ -14,22 +14,22 @@
       thor (>= 0.19.4, < 2.0)
       tins (~> 1.6)
     docile (1.3.2)
-    jaro_winkler (1.5.2)
-    json (2.2.0)
+    jaro_winkler (1.5.4)
+    json (2.3.0)
     m (1.5.1)
       method_source (>= 0.6.7)
       rake (>= 0.9.2.2)
     method_source (0.9.2)
-    minitest (5.11.3)
-    parallel (1.17.0)
-    parser (2.6.3.0)
+    minitest (5.14.0)
+    parallel (1.19.1)
+    parser (2.7.0.2)
       ast (~> 2.4.0)
     rainbow (3.0.0)
-    rake (12.3.2)
-    rubocop (0.71.0)
+    rake (13.0.1)
+    rubocop (0.79.0)
       jaro_winkler (~> 1.5.1)
       parallel (~> 1.10)
-      parser (>= 2.6)
+      parser (>= 2.7.0.1)
       rainbow (>= 2.2.2, < 4.0)
       ruby-progressbar (~> 1.7)
       unicode-display_width (>= 1.4.0, < 1.7)
@@ -39,12 +39,14 @@
       json (>= 1.8, < 3)
       simplecov-html (~> 0.10.0)
     simplecov-html (0.10.2)
+    sync (0.5.0)
     term-ansicolor (1.7.1)
       tins (~> 1.0)
-    thor (0.20.3)
-    tins (1.20.3)
-    unicode-display_width (1.6.0)
-    yard (0.9.19)
+    thor (1.0.1)
+    tins (1.24.0)
+      sync
+    unicode-display_width (1.6.1)
+    yard (0.9.24)
 
 PLATFORMS
   ruby
@@ -59,4 +61,4 @@
   yard
 
 BUNDLED WITH
-   2.0.2
+   2.1.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/NEWS.md new/NEWS.md
--- old/NEWS.md 2019-06-14 21:07:31.000000000 +0200
+++ new/NEWS.md 2020-01-21 08:42:24.000000000 +0100
@@ -1,16 +1,22 @@
 # Cri News
 
+## 2.15.10
+
+Fixes:
+
+- Fixed warnings appearing in Ruby 2.7 (9a3d810)
+
 ## 2.15.9
 
 Fixes:
 
-* Fixed bug which could cause options from one command appear in other 
commands (#101, #102)
+- Fixed bug which could cause options from one command appear in other 
commands (#101, #102)
 
 ## 2.15.8
 
 Fixes:
 
-* Don’t explicitly set default values for options (#99)
+- Don’t explicitly set default values for options (#99)
 
 This release reverts a backwards-incompatible change introduced in 2.15.7.
 
@@ -63,89 +69,89 @@
 
 Fixes:
 
-* Options with a forbidden argument now default to false, rather than nil 
(#94, #96)
+- Options with a forbidden argument now default to false, rather than nil 
(#94, #96)
 
 ## 2.15.6
 
 Fixes:
 
-* Fixed problem with help header not being shown if the summary is missing 
(#93)
+- Fixed problem with help header not being shown if the summary is missing 
(#93)
 
 ## 2.15.5
 
 Fixes:
 
-* Restored compatibility with Ruby 2.3. (#91)
+- Restored compatibility with Ruby 2.3. (#91)
 
 ## 2.15.4
 
 Fixes:
 
-* Removed dependency on `colored`, which restores functionality to gems that 
`colored` breaks (e.g. `awesome_print`) (#89, #90)
+- Removed dependency on `colored`, which restores functionality to gems that 
`colored` breaks (e.g. `awesome_print`) (#89, #90)
 
 ## 2.15.3
 
 Fixes:
 
-* Made `ArgumentList#each` callable without a block, in which case it returns 
an `Enumerator` (mimicking `Array`) (#87, #88)
+- Made `ArgumentList#each` callable without a block, in which case it returns 
an `Enumerator` (mimicking `Array`) (#87, #88)
 
 ## 2.15.2
 
 Fixes:
 
-* Fixed option propagation for two levels or more (#85, #86)
+- Fixed option propagation for two levels or more (#85, #86)
 
 ## 2.15.1
 
 Fixes:
 
-* Made -h/--help not fail when parameters are defined for the command that 
-h/--help is called on (#76, #78)
+- Made -h/--help not fail when parameters are defined for the command that 
-h/--help is called on (#76, #78)
 
 Enhancements:
 
-* Made `#option` raise an error when unrecognised parameters are passed to it 
(#77) [Marc-André Lafortune]
+- Made `#option` raise an error when unrecognised parameters are passed to it 
(#77) [Marc-André Lafortune]
 
 ## 2.15.0
 
 Features:
 
-* Added support for parameter transformation (#72)
+- Added support for parameter transformation (#72)
 
 ## 2.14.0
 
 Features:
 
-* Added `Cri::Command.load_file`
+- Added `Cri::Command.load_file`
 
 ## 2.13.0
 
 Features:
 
-* Added support for explicitly specifying zero parameters using `#no_params` 
(#71)
+- Added support for explicitly specifying zero parameters using `#no_params` 
(#71)
 
 ## 2.12.0
 
 Features:
 
-* Added support for parameter naming and validation (#70)
+- Added support for parameter naming and validation (#70)
 
 ## 2.11.0
 
 Features:
 
-* Added support for transforming option values (#68)
+- Added support for transforming option values (#68)
 
 ## 2.10.1
 
 Fixes:
 
-* Restored Ruby 2.1 compatibility (for now)
+- Restored Ruby 2.1 compatibility (for now)
 
 ## 2.10.0
 
 Features:
 
-* Added support for skipping option parsing (#62) [Tim Sharpe]
+- Added support for skipping option parsing (#62) [Tim Sharpe]
 
 This release drops support for Ruby 2.1, which is no longer supported.
 
@@ -153,102 +159,102 @@
 
 Fixes:
 
-* Made default values be always returned, even when not explicitly specified 
(#57, #58)
+- Made default values be always returned, even when not explicitly specified 
(#57, #58)
 
 ## 2.9.0
 
 Features:
 
-* Allowed specifying default option value (#55)
+- Allowed specifying default option value (#55)
 
 Enhancements:
 
-* Added support for specifying values for combined options (#56)
+- Added support for specifying values for combined options (#56)
 
 ## 2.8.0
 
 Features:
 
-* Allowed passing `hard_exit: false` to `Command#run` to prevent `SystemExit` 
(#51)
-* Allowed specifying the default subcommand (#54)
+- Allowed passing `hard_exit: false` to `Command#run` to prevent `SystemExit` 
(#51)
+- Allowed specifying the default subcommand (#54)
 
 ## 2.7.1
 
 Fixes:
 
-* Fixed some grammatical mistakes
+- Fixed some grammatical mistakes
 
 ## 2.7.0
 
 Features:
 
-* Added support for hidden options (#43, #44) [Bart Mesuere]
+- Added support for hidden options (#43, #44) [Bart Mesuere]
 
 Enhancements:
 
-* Added option values to help output (#37, #40, #41)
-* Made option descriptions wrap (#36, #45) [Bart Mesuere]
+- Added option values to help output (#37, #40, #41)
+- Made option descriptions wrap (#36, #45) [Bart Mesuere]
 
 ## 2.6.1
 
-* Disable ANSI color codes when not supported (#31, #32)
+- Disable ANSI color codes when not supported (#31, #32)
 
 ## 2.6.0
 
-* Added support for multi-valued options (#29) [Toon Willems]
+- Added support for multi-valued options (#29) [Toon Willems]
 
 ## 2.5.0
 
-* Made the default help command handle subcommands (#27)
-* Added `#raw` method to argument arrays, returning all arguments including 
`--` (#22)
+- Made the default help command handle subcommands (#27)
+- Added `#raw` method to argument arrays, returning all arguments including 
`--` (#22)
 
 ## 2.4.1
 
-* Fixed ordering of option groups on Ruby 1.8.x (#14, #15)
-* Fixed ordering of commands when --verbose is passed (#16, #18)
+- Fixed ordering of option groups on Ruby 1.8.x (#14, #15)
+- Fixed ordering of commands when --verbose is passed (#16, #18)
 
 ## 2.4.0
 
-* Allowed either short or long option to be, eh, optional (#9, #10) [Ken Coar]
-* Fixed wrap-and-indent behavior (#12) [Ken Coar]
-* Moved version information into `cri/version`
+- Allowed either short or long option to be, eh, optional (#9, #10) [Ken Coar]
+- Fixed wrap-and-indent behavior (#12) [Ken Coar]
+- Moved version information into `cri/version`
 
 ## 2.3.0
 
-* Added colors (#1)
-* Added support for marking commands as hidden
+- Added colors (#1)
+- Added support for marking commands as hidden
 
 ## 2.2.1
 
-* Made command help sort subcommands
+- Made command help sort subcommands
 
 ## 2.2.0
 
-* Allowed commands with subcommands to have a run block
+- Allowed commands with subcommands to have a run block
 
 ## 2.1.0
 
-* Added support for runners
-* Split up local/global command options
+- Added support for runners
+- Split up local/global command options
 
 ## 2.0.2
 
-* Added command filename to stack traces
+- Added command filename to stack traces
 
 ## 2.0.1
 
-* Sorted ambiguous command names
-* Restored compatibility with Ruby 1.8.x
+- Sorted ambiguous command names
+- Restored compatibility with Ruby 1.8.x
 
 ## 2.0.0
 
-* Added DSL
-* Added support for nested commands
+- Added DSL
+- Added support for nested commands
 
 ## 1.0.1
 
-* Made gem actually include code. D'oh.
+- Made gem actually include code. D'oh.
 
 ## 1.0.0
 
-* Initial release!
+- Initial release!
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/cri/command.rb new/lib/cri/command.rb
--- old/lib/cri/command.rb      2019-06-14 21:07:31.000000000 +0200
+++ new/lib/cri/command.rb      2020-01-21 08:42:24.000000000 +0100
@@ -343,7 +343,7 @@
           explicitly_no_params?,
         )
         handle_errors_while { parser.run }
-        local_opts  = parser.options
+        local_opts = parser.options
         global_opts = parent_opts.merge(parser.options)
         global_opts = add_defaults(global_opts)
 
@@ -375,8 +375,8 @@
     #
     # @option params [IO] :io ($stdout) the IO the help text is intended for.
     #   This influences the decision to enable/disable colored output.
-    def help(params = {})
-      HelpRenderer.new(self, params).render
+    def help(**params)
+      HelpRenderer.new(self, **params).render
     end
 
     # Compares this command's name to the other given command's name.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/cri/command_dsl.rb new/lib/cri/command_dsl.rb
--- old/lib/cri/command_dsl.rb  2019-06-14 21:07:31.000000000 +0200
+++ new/lib/cri/command_dsl.rb  2020-01-21 08:42:24.000000000 +0100
@@ -215,9 +215,9 @@
     # @deprecated
     #
     # @see #option
-    def required(short, long, desc, params = {}, &block)
+    def required(short, long, desc, **params, &block)
       params = params.merge(argument: :required)
-      option(short, long, desc, params, &block)
+      option(short, long, desc, **params, &block)
     end
 
     # Adds a new option with a forbidden argument to the command. If a block
@@ -238,9 +238,9 @@
     # @return [void]
     #
     # @see #option
-    def flag(short, long, desc, params = {}, &block)
+    def flag(short, long, desc, **params, &block)
       params = params.merge(argument: :forbidden)
-      option(short, long, desc, params, &block)
+      option(short, long, desc, **params, &block)
     end
     alias forbidden flag
 
@@ -264,9 +264,9 @@
     # @deprecated
     #
     # @see #option
-    def optional(short, long, desc, params = {}, &block)
+    def optional(short, long, desc, **params, &block)
       params = params.merge(argument: :optional)
-      option(short, long, desc, params, &block)
+      option(short, long, desc, **params, &block)
     end
 
     # Sets the run block to the given block. The given block should have two
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/cri/help_renderer.rb new/lib/cri/help_renderer.rb
--- old/lib/cri/help_renderer.rb        2019-06-14 21:07:31.000000000 +0200
+++ new/lib/cri/help_renderer.rb        2020-01-21 08:42:24.000000000 +0100
@@ -19,7 +19,7 @@
     #
     # @option params [Boolean] :verbose true if the help output should be
     #   verbose, false otherwise.
-    def initialize(cmd, params = {})
+    def initialize(cmd, **params)
       @cmd        = cmd
       @is_verbose = params.fetch(:verbose, false)
       @io         = params.fetch(:io, $stdout)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/cri/option_definition.rb 
new/lib/cri/option_definition.rb
--- old/lib/cri/option_definition.rb    2019-06-14 21:07:31.000000000 +0200
+++ new/lib/cri/option_definition.rb    2020-01-21 08:42:24.000000000 +0100
@@ -13,16 +13,16 @@
     attr_reader :default
     attr_reader :transform
 
-    def initialize(params = {})
-      @short     = params.fetch(:short)
-      @long      = params.fetch(:long)
-      @desc      = params.fetch(:desc)
-      @argument  = params.fetch(:argument)
-      @multiple  = params.fetch(:multiple)
-      @block     = params.fetch(:block)
-      @hidden    = params.fetch(:hidden)
-      @default   = params.fetch(:default)
-      @transform = params.fetch(:transform)
+    def initialize(short:, long:, desc:, argument:, multiple:, block:, 
hidden:, default:, transform:)
+      @short     = short
+      @long      = long
+      @desc      = desc
+      @argument  = argument
+      @multiple  = multiple
+      @block     = block
+      @hidden    = hidden
+      @default   = default
+      @transform = transform
 
       if @short.nil? && @long.nil?
         raise ArgumentError, 'short and long options cannot both be nil'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/cri/version.rb new/lib/cri/version.rb
--- old/lib/cri/version.rb      2019-06-14 21:07:31.000000000 +0200
+++ new/lib/cri/version.rb      2020-01-21 08:42:24.000000000 +0100
@@ -2,5 +2,5 @@
 
 module Cri
   # The current Cri version.
-  VERSION = '2.15.9'
+  VERSION = '2.15.10'
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2019-06-14 21:07:31.000000000 +0200
+++ new/metadata        2020-01-21 08:42:24.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: cri
 version: !ruby/object:Gem::Version
-  version: 2.15.9
+  version: 2.15.10
 platform: ruby
 authors:
 - Denis Defreyne
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-06-14 00:00:00.000000000 Z
+date: 2020-01-21 00:00:00.000000000 Z
 dependencies: []
 description: Cri allows building easy-to-use command-line interfaces with 
support
   for subcommands.
@@ -74,7 +74,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubygems_version: 3.0.4
+rubygems_version: 3.1.2
 signing_key: 
 specification_version: 4
 summary: a library for building easy-to-use command-line tools
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/test_command.rb new/test/test_command.rb
--- old/test/test_command.rb    2019-06-14 21:07:31.000000000 +0200
+++ new/test/test_command.rb    2020-01-21 08:42:24.000000000 +0100
@@ -549,7 +549,7 @@
     end
 
     def test_hidden_commands_multiple
-      cmd    = nested_cmd
+      cmd = nested_cmd
 
       subcmd = simple_cmd
       cmd.add_command subcmd


Reply via email to