commit rubygem-slop for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-slop for openSUSE:Factory checked in at 2022-10-12 18:25:15 Comparing /work/SRC/openSUSE:Factory/rubygem-slop (Old) and /work/SRC/openSUSE:Factory/.rubygem-slop.new.2275 (New) Package is "rubygem-slop" Wed Oct 12 18:25:15 2022 rev:30 rq:1010068 version:4.9.3 Changes: --- /work/SRC/openSUSE:Factory/rubygem-slop/rubygem-slop.changes 2022-04-30 22:53:08.764273627 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-slop.new.2275/rubygem-slop.changes 2022-10-12 18:27:04.742005201 +0200 @@ -1,0 +2,13 @@ +Mon Oct 10 13:23:21 UTC 2022 - Stephan Kulow + +updated to version 4.9.3 + see installed CHANGELOG.md + + v4.9.3 (2022-09-30) + --- + + Bug fixes: +* Fix explicitly false boolean options and allow for additional false arguments [#276](https://github.com/leejarvis/slop/pull/276) (Eugene Otto) + + +--- Old: slop-4.9.2.gem New: slop-4.9.3.gem Other differences: -- ++ rubygem-slop.spec ++ --- /var/tmp/diff_new_pack.E5iYkw/_old 2022-10-12 18:27:05.194006196 +0200 +++ /var/tmp/diff_new_pack.E5iYkw/_new 2022-10-12 18:27:05.202006214 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-slop -Version:4.9.2 +Version:4.9.3 Release:0 %define mod_name slop %define mod_full_name %{mod_name}-%{version} ++ slop-4.9.2.gem -> slop-4.9.3.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2022-03-26 10:01:48.0 +0100 +++ new/CHANGELOG.md2022-09-30 16:13:32.0 +0200 @@ -1,6 +1,12 @@ Changelog = +v4.9.3 (2022-09-30) +--- + +Bug fixes: + * Fix explicitly false boolean options and allow for additional false arguments [#276](https://github.com/leejarvis/slop/pull/276) (Eugene Otto) + v4.9.2 (2022-03-26) --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2022-03-26 10:01:48.0 +0100 +++ new/README.md 2022-09-30 16:13:32.0 +0200 @@ -22,17 +22,19 @@ o.bool '-v', '--verbose', 'enable verbose mode' o.bool '-q', '--quiet', 'suppress output (quiet mode)' o.bool '-c', '--check-ssl-certificate', 'check SSL certificate for host' + o.bool '-k', '--use-keychain', 'store passphrase in OS keychain' o.on '--version', 'print the version' do puts Slop::VERSION exit end end -ARGV #=> -v --login alice --host 192.168.0.1 -m post --check-ssl-certificate +ARGV #=> -v --login alice --host 192.168.0.1 -m post --check-ssl-certificate --use-keychain false opts[:host] #=> 192.168.0.1 opts[:login]#=> alice opts[:method] #=> :post +opts[:use_keychain] #=> false opts.verbose? #=> true opts.quiet? #=> false opts.check_ssl_certificate? #=> true @@ -53,7 +55,7 @@ ```ruby o.string #=> Slop::StringOption, expects an argument -o.bool#=> Slop::BoolOption, no argument, aliased to BooleanOption +o.bool#=> Slop::BoolOption, argument optional, aliased to BooleanOption o.integer #=> Slop::IntegerOption, expects an argument, aliased to IntOption o.float #=> Slop::FloatOption, expects an argument o.array #=> Slop::ArrayOption, expects an argument Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/slop/types.rb new/lib/slop/types.rb --- old/lib/slop/types.rb 2022-03-26 10:01:48.0 +0100 +++ new/lib/slop/types.rb 2022-09-30 16:13:32.0 +0200 @@ -21,6 +21,8 @@ class BoolOption < Option attr_accessor :explicit_value +FALSE_VALUES = [false, 'false', 'no', 'off', '0'].freeze + def call(value) self.explicit_value = value !force_false? @@ -35,7 +37,7 @@ end def force_false? - explicit_value == false + FALSE_VALUES.include?(explicit_value) end def default_value diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/slop.rb new/lib/slop.rb --- old/lib/slop.rb 2022-03-26 10:01:48.0 +0100 +++ new/lib/slop.rb 2022-09-30 16:13:32.0 +0200 @@ -6,7 +6,7 @@ require 'slop/error' module Slop - VERSION = '4.9.2' + VERSION = '4.9.3' # Parse an array of options (defaults to ARGV). Accepts an # optional hash of configuration options and block. diff -urN '--exclude=CVS' '--exclude=.
commit rubygem-slop for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-slop for openSUSE:Factory checked in at 2022-04-30 22:52:55 Comparing /work/SRC/openSUSE:Factory/rubygem-slop (Old) and /work/SRC/openSUSE:Factory/.rubygem-slop.new.1538 (New) Package is "rubygem-slop" Sat Apr 30 22:52:55 2022 rev:29 rq:974080 version:4.9.2 Changes: --- /work/SRC/openSUSE:Factory/rubygem-slop/rubygem-slop.changes 2021-07-02 13:28:52.828102604 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-slop.new.1538/rubygem-slop.changes 2022-04-30 22:53:08.764273627 +0200 @@ -1,0 +2,13 @@ +Thu Apr 28 05:51:32 UTC 2022 - Stephan Kulow + +updated to version 4.9.2 + see installed CHANGELOG.md + + v4.9.2 (2022-03-26) + --- + + Bug fixes: +* Handle flag arguments that contain equals character [#275](https://github.com/leejarvis/slop/pull/275) (ConnorWGarvey) + + +--- Old: slop-4.9.1.gem New: slop-4.9.2.gem Other differences: -- ++ rubygem-slop.spec ++ --- /var/tmp/diff_new_pack.NqeRPL/_old 2022-04-30 22:53:09.352274422 +0200 +++ /var/tmp/diff_new_pack.NqeRPL/_new 2022-04-30 22:53:09.356274428 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-slop # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 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-slop -Version:4.9.1 +Version:4.9.2 Release:0 %define mod_name slop %define mod_full_name %{mod_name}-%{version} ++ slop-4.9.1.gem -> slop-4.9.2.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.github/workflows/ci.yml new/.github/workflows/ci.yml --- old/.github/workflows/ci.yml1970-01-01 01:00:00.0 +0100 +++ new/.github/workflows/ci.yml2022-03-26 10:01:48.0 +0100 @@ -0,0 +1,35 @@ +name: CI + +on: + push: +branches: [ master ] +paths: + - "lib/**" + - "test/**" + - ".github/**" + - "Rakefile" + pull_request: +branches: ["**"] +paths: + - "lib/**" + - "test/**" + - ".github/**" + - "Rakefile" + +jobs: + tests: +runs-on: ubuntu-latest +strategy: + fail-fast: false + matrix: +ruby: [ "2.0", "2.1", "2.2", "2.3", "2.4", "2.5", "2.6", "2.7", "3.0", "3.1", head, jruby, truffleruby ] +name: Ruby ${{ matrix.ruby }} +steps: + - uses: actions/checkout@v2 + - name: Set up Ruby +uses: ruby/setup-ruby@v1 +with: + ruby-version: ${{ matrix.ruby }} + bundler: none + - name: Run tests +run: rake test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2021-05-28 20:25:35.0 +0200 +++ new/.travis.yml 1970-01-01 01:00:00.0 +0100 @@ -1,30 +0,0 @@ -cache: bundler -before_install: - - | -export RVM_CURRENT=`rvm current|cut -c6-8` -if [ "${RVM_CURRENT}" = "2.0" ] || \ - [ "${RVM_CURRENT}" = "2.1" ] || \ - [ "${RVM_CURRENT}" = "2.2" ]; then - gem install bundler -v '< 2' -fi - -rvm: - - 2.0.0 - - 2.1 - - 2.2 - - 2.3.4 - - 2.4.10 - - 2.5.9 - - 2.6.7 - - 2.7.3 - - 3.0.1 - - jruby-9.2.17.0 - - jruby-head - - ruby-head - - truffleruby-head -jdk: - - openjdk8 -notifications: - email: -on_success: change -on_failure: always diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2021-05-28 20:25:35.0 +0200 +++ new/CHANGELOG.md2022-03-26 10:01:48.0 +0100 @@ -1,6 +1,12 @@ Changelog = +v4.9.2 (2022-03-26) +--- + +Bug fixes: + * Handle flag arguments that contain equals character [#275](https://github.com/leejarvis/slop/pull/275) (ConnorWGarvey) + v4.9.1 (2021-05-28) --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2021-05-28 20:25:35.0 +0200 +++ new/README.md 2022-03-26 10:01:48.0 +0100 @@ -3,7 +3,7 @@ Slop is a simple option parser with an easy to remember syntax and friendly API. -[![Build Status](https://travis-ci.org/leejarvis/slop.svg?branch=master)](http://travis-ci.org/leejarvis/slop) +[![Build Status](https://github.com/leejarvis/slop/actions/workflows/ci.yml/badge.svg)](https://github.com/leejarvis/slop/actions/workflows/ci.
commit rubygem-slop for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-slop for openSUSE:Factory checked in at 2021-07-02 13:27:52 Comparing /work/SRC/openSUSE:Factory/rubygem-slop (Old) and /work/SRC/openSUSE:Factory/.rubygem-slop.new.2625 (New) Package is "rubygem-slop" Fri Jul 2 13:27:52 2021 rev:28 rq:903541 version:4.9.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-slop/rubygem-slop.changes 2020-10-05 19:33:59.297250784 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-slop.new.2625/rubygem-slop.changes 2021-07-02 13:28:52.828102604 +0200 @@ -1,0 +2,23 @@ +Thu Jun 24 18:01:30 UTC 2021 - Stephan Kulow + +updated to version 4.9.1 + see installed CHANGELOG.md + + v4.9.1 (2021-05-28) + --- + + Bug fixes: +* Fixed a bug where `flag=arg` syntax would raise an error when an + empty value was passed. [#266](https://github.com/leejarvis/slop/issues/266) + + v4.9.0 (2021-05-11) + --- + + Features: +* Add SymbolOption [#263](https://github.com/leejarvis/slop/pull/263) + + Bug fixes: +* Use `+=` over `<<` to handle frozen string literals. [255](https://github.com/leejarvis/slop/pull/255) + + +--- Old: slop-4.8.2.gem New: slop-4.9.1.gem Other differences: -- ++ rubygem-slop.spec ++ --- /var/tmp/diff_new_pack.jUc6W2/_old 2021-07-02 13:28:53.204099687 +0200 +++ /var/tmp/diff_new_pack.jUc6W2/_new 2021-07-02 13:28:53.208099656 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-slop # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 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-slop -Version:4.8.2 +Version:4.9.1 Release:0 %define mod_name slop %define mod_full_name %{mod_name}-%{version} ++ slop-4.8.2.gem -> slop-4.9.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2020-07-10 09:41:33.0 +0200 +++ new/.travis.yml 2021-05-28 20:25:35.0 +0200 @@ -13,13 +13,15 @@ - 2.1 - 2.2 - 2.3.4 - - 2.4.9 - - 2.5.7 - - 2.6.5 - - 2.7.0 - - jruby-9.2.9.0 + - 2.4.10 + - 2.5.9 + - 2.6.7 + - 2.7.3 + - 3.0.1 + - jruby-9.2.17.0 - jruby-head - ruby-head + - truffleruby-head jdk: - openjdk8 notifications: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md --- old/CHANGELOG.md2020-07-10 09:41:33.0 +0200 +++ new/CHANGELOG.md2021-05-28 20:25:35.0 +0200 @@ -1,6 +1,22 @@ Changelog = +v4.9.1 (2021-05-28) +--- + +Bug fixes: + * Fixed a bug where `flag=arg` syntax would raise an error when an +empty value was passed. [#266](https://github.com/leejarvis/slop/issues/266) + +v4.9.0 (2021-05-11) +--- + +Features: + * Add SymbolOption [#263](https://github.com/leejarvis/slop/pull/263) + +Bug fixes: + * Use `+=` over `<<` to handle frozen string literals. [255](https://github.com/leejarvis/slop/pull/255) + v4.8.2 (2020-07-10) --- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.md new/README.md --- old/README.md 2020-07-10 09:41:33.0 +0200 +++ new/README.md 2021-05-28 20:25:35.0 +0200 @@ -18,6 +18,7 @@ o.string '-h', '--host', 'a hostname' o.integer '--port', 'custom port', default: 80 o.string '-l', '--login', required: true + o.symbol '-m', '--method', default: :get o.bool '-v', '--verbose', 'enable verbose mode' o.bool '-q', '--quiet', 'suppress output (quiet mode)' o.bool '-c', '--check-ssl-certificate', 'check SSL certificate for host' @@ -27,15 +28,16 @@ end end -ARGV #=> -v --login alice --host 192.168.0.1 --check-ssl-certificate +ARGV #=> -v --login alice --host 192.168.0.1 -m post --check-ssl-certificate opts[:host] #=> 192.168.0.1 opts[:login]#=> alice +opts[:method] #=> :post opts.verbose? #=> true opts.quiet? #=> false opts.check_ssl_certificate? #=> true -opts.to_hash #=> { host: "192.168.0.1", login: "alice", port: 80, verbose: true, quiet: false, check_ssl_certificate: true } +opts.to_hash #=> { host: "192.168.0.1", port: 80, login: "alice", method: :post, verbose: true, quiet: false, check_ssl_certificate: true } ``` Note that the block we've added to the `--vers