|
|
|
|
Changelog for ruby2.7-rubygem-cri-2.15.11-lp155.14.5.x86_64.rpm :
* Sat Feb 05 2022 Dominique Leuenberger - Do not pin to Ruby 2.7 on Tumbleweed: ruby 2.7 no longer exists, and Ruby 3 support has been added in versoin 2.15.11. * Thu Nov 25 2021 Dominique Leuenberger - TW is not hard set on version 1550 - comparision to 1550 should only ever by done >= 1550, as it means TW and future CODE branches thereof. * Wed Jan 20 2021 Stephan Kulow updated to version 2.15.11 see installed NEWS.md [#]# 2.15.11 Fixes: - Added support for Ruby 3.0 (#111) Changes: - Dropped support for Ruby 2.3 and 2.4 (#112) * Wed Dec 30 2020 Marcus Rueckert - limit to ruby 2.7 on TW * Mon Feb 10 2020 Stephan Kulow - updated to version 2.15.10 see installed NEWS.md [#]# 2.15.10 Fixes: - Fixed warnings appearing in Ruby 2.7 (9a3d810) * Fri Jul 19 2019 Stephan Kulow - updated to version 2.15.9 see installed NEWS.md [#]# 2.15.9 Fixes: * 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) This release reverts a backwards-incompatible change introduced in 2.15.7. To illustrate this, compare the behavior of the following command in recent versions of Cri: ```ruby option :f, :force, \'use force\', argument: :forbidden run do |opts, args, cmd| puts \"Options = #{opts.inspect}\" puts \"Force? #{opts[:force]}\" puts \"Option given? #{opts.key?(:force)}\" end ``` In Cri 2.15.6, the default is not set in the options hash, so the value is `nil` and `#key?` returns false: ```sh % ./run Options = {} Force? nil Option given? false ``` This behavior was inconsistent with what was documented: flag options were (and still are) documented to default to `false` rather than `nil`. In Cri 2.15.7, the default value is `false`, and explicitly set in the options hash (`#key?` returns `true`): ```sh % ./run Options = {:force=>false} Force? false Option given? true ``` This change made it impossible to detect options that were not explicitly specified, because the behavior of `#key?` also changed. In Cri 2.15.8, the default value is also `false` (as in 2.15.7), but not explicitly set in the options hash (`#key?` returns `false`, as in 2.15.6): ```sh % ./run Options = {} Force? false Option given? false ``` This backwards-incompatible change was not intentional. To fix issue #94, a change in behavior was needed, but this change also affected other, previously-undefined behavior. The new behavior in 2.15.8 should fix the bug fixed in 2.15.7 (#94, #96), without causing the problems introduced in that version. [#]# 2.15.7 Fixes: * 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) * Sun May 05 2019 Stephan Kulow - updated to version 2.15.5 see installed NEWS.md [#]# 2.15.5 Fixes: * 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) * Sat Mar 02 2019 Stephan Kulow - updated to version 2.15.3 see installed NEWS.md [#]# 2.15.3 Fixes: * Made `ArgumentList#each` callable without a block, in which case it returns an `Enumerator` (mimicking `Array`) (#87, #88) * Thu Nov 22 2018 Stephan Kulow - updated to version 2.15.2 see installed NEWS.md [#]# 2.15.2 Fixes: * Fixed option propagation for two levels or more (#85, #86) * Wed Sep 05 2018 cooloAATTsuse.com- updated to version 2.15.1 see installed NEWS.md * Sun Dec 03 2017 cooloAATTsuse.com- updated to version 2.10.1 see installed NEWS.md [#]# 2.10.1 Fixes: * Restored Ruby 2.1 compatibility (for now) [#]# 2.10.0 Features: * Added support for skipping option parsing (#62) [Tim Sharpe] This release drops support for Ruby 2.1, which is no longer supported. * Tue Jun 06 2017 cooloAATTsuse.com- updated to version 2.9.1 see installed NEWS.md * Sun Apr 02 2017 cooloAATTsuse.com- updated to version 2.8.0 see installed NEWS.md 2.8.0 - ---- Features: * Allow passing `hard_exit: false` to `Command#run` to prevent `SystemExit` (#51) * Allow specifying the default subcommand (#54) * Sun Dec 04 2016 cooloAATTsuse.com- updated to version 2.7.1 see installed NEWS.md 2.7.1 - ---- Fixes: * Fixed some grammatical mistakes * Thu Apr 30 2015 cooloAATTsuse.com- updated to version 2.7.0 see installed NEWS.md 2.7.0 - ---- Features: * 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] * Mon Oct 13 2014 cooloAATTsuse.com- adapt to new rubygem packaging
|
|
|