| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: ruby3.4-rubygem-cri | Distribution: openSUSE Tumbleweed |
| Version: 2.15.12 | Vendor: openSUSE |
| Release: 1.5 | Build date: Fri Jun 21 11:43:32 2024 |
| Group: Unspecified | Build host: reproducible |
| Size: 114867 | Source RPM: rubygem-cri-2.15.12-1.5.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://github.com/ddfreyne/cri | |
| Summary: a library for building easy-to-use command-line tools | |
Cri allows building easy-to-use command-line interfaces with support for subcommands.
MIT
* Fri Jun 21 2024 Dan Čermák <dan.cermak@posteo.net>
- New upstream release 2.15.12, see bundled NEWS.md
* Sat Feb 05 2022 Dominique Leuenberger <dimstar@opensuse.org>
- 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 <dimstar@opensuse.org>
- 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 <coolo@suse.com>
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 <mrueckert@suse.de>
- limit to ruby 2.7 on TW
* Mon Feb 10 2020 Stephan Kulow <coolo@suse.com>
- 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 <coolo@suse.com>
- 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 <coolo@suse.com>
- 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 <coolo@suse.com>
- 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 <coolo@suse.com>
- updated to version 2.15.2
see installed NEWS.md
[#]# 2.15.2
Fixes:
* Fixed option propagation for two levels or more (#85, #86)
/usr/lib/ruby/gems/3.4.0/build_info /usr/lib/ruby/gems/3.4.0/cache/cri-2.15.12.gem /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12 /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/CODE_OF_CONDUCT.md /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/Gemfile /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/Gemfile.lock /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/LICENSE /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/NEWS.md /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/README.md /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/Rakefile /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/cri.gemspec /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri.rb /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/argument_list.rb /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/command.rb /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/command_dsl.rb /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/command_runner.rb /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/commands /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/commands/basic_help.rb /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/commands/basic_root.rb /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/help_renderer.rb /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/option_definition.rb /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/param_definition.rb /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/parser.rb /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/platform.rb /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/string_formatter.rb /usr/lib/ruby/gems/3.4.0/gems/cri-2.15.12/lib/cri/version.rb /usr/lib/ruby/gems/3.4.0/specifications/cri-2.15.12.gemspec /usr/share/doc/packages/ruby3.4-rubygem-cri /usr/share/doc/packages/ruby3.4-rubygem-cri/LICENSE /usr/share/doc/packages/ruby3.4-rubygem-cri/NEWS.md /usr/share/doc/packages/ruby3.4-rubygem-cri/README.md
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Oct 24 23:22:36 2025