Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-path_expander for openSUSE:Factory checked in at 2022-08-09 15:26:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-path_expander (Old) and /work/SRC/openSUSE:Factory/.rubygem-path_expander.new.1521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-path_expander" Tue Aug 9 15:26:46 2022 rev:7 rq:993508 version:1.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-path_expander/rubygem-path_expander.changes 2020-03-07 21:39:27.068321275 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-path_expander.new.1521/rubygem-path_expander.changes 2022-08-09 15:27:02.313399950 +0200 @@ -1,0 +2,13 @@ +Thu Aug 4 13:22:14 UTC 2022 - Stephan Kulow <co...@suse.com> + +updated to version 1.1.1 + see installed History.rdoc + + === 1.1.1 / 2022-07-03 + + * 1 bug fix: + + * Process plain '-' as a file, not an option. + + +------------------------------------------------------------------- Old: ---- path_expander-1.1.0.gem New: ---- path_expander-1.1.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-path_expander.spec ++++++ --- /var/tmp/diff_new_pack.vLan7s/_old 2022-08-09 15:27:02.757401219 +0200 +++ /var/tmp/diff_new_pack.vLan7s/_new 2022-08-09 15:27:02.761401230 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-path_expander # -# Copyright (c) 2020 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-path_expander -Version: 1.1.0 +Version: 1.1.1 Release: 0 %define mod_name path_expander %define mod_full_name %{mod_name}-%{version} ++++++ path_expander-1.1.0.gem -> path_expander-1.1.1.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/History.rdoc new/History.rdoc --- old/History.rdoc 2019-09-23 01:39:57.000000000 +0200 +++ new/History.rdoc 2022-07-04 04:42:51.000000000 +0200 @@ -1,3 +1,9 @@ +=== 1.1.1 / 2022-07-03 + +* 1 bug fix: + + * Process plain '-' as a file, not an option. + === 1.1.0 / 2019-09-22 * 1 minor enhancement: @@ -39,4 +45,3 @@ * 1 major enhancement * Birthday! - Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ Binary files old/data.tar.gz.sig and new/data.tar.gz.sig differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/path_expander.rb new/lib/path_expander.rb --- old/lib/path_expander.rb 2019-09-23 01:39:57.000000000 +0200 +++ new/lib/path_expander.rb 2022-07-04 04:42:51.000000000 +0200 @@ -13,7 +13,7 @@ # PathExpander. class PathExpander - VERSION = "1.1.0" # :nodoc: + VERSION = "1.1.1" # :nodoc: ## # The args array to process. @@ -74,6 +74,7 @@ # -not_a_path :: Add to flags to be processed. # dir_path :: Expand and add to files to be processed. # file_path :: Add to files to be processed. + # - :: Add "-" (stdin) to files to be processed. # # See expand_dirs_to_files for details on how expansion occurs. # @@ -94,6 +95,8 @@ when /^@(.*)/ then # push back on, so they can have dirs/-/@ as well clean = false args.concat process_file $1 + when "-" then + pos_files << arg when /^-(.*)/ then if File.exist? $1 then clean = false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2019-09-23 01:39:57.000000000 +0200 +++ new/metadata 2022-07-04 04:42:51.000000000 +0200 @@ -1,18 +1,18 @@ --- !ruby/object:Gem::Specification name: path_expander version: !ruby/object:Gem::Version - version: 1.1.0 + version: 1.1.1 platform: ruby authors: - Ryan Davis -autorequire: +autorequire: bindir: bin cert_chain: - | -----BEGIN CERTIFICATE----- - MIIDPjCCAi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+t/Wrh3UpdkmX7TrEsjVmERC0pPqzQ5GQJgmEXDD7oMgaKXaAq + x2m+KSZDrqk7c8uho5OX6YMqg4KdxehfSLqqTZGoeV78qwf/jpPQZKTf+W9gUSJh + zsWpo4K50MP+QtdSbKXZwjAafpQ8hK0MnnZ/aeCsW9ov5vdXpYbf3dpg6ADXRGE7 + lQY2y1tJ5/chqu6h7dQmnm2ABUqx9O+JcN9hbCYoA5i/EeubUEtFIh2w3SpO6YfB + JFmxn4h9YO/pVdB962BdBNNDia0kgIjI3ENnkLq0dKpYU3+F3KhEuTksLO0L6X/V + YsuyUzsMz6GQA4khyaMgKNSD -----END CERTIFICATE----- -date: 2019-09-22 00:00:00.000000000 Z +date: 2022-07-04 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rdoc @@ -57,14 +57,14 @@ requirements: - - "~>" - !ruby/object:Gem::Version - version: '3.18' + version: '3.24' type: :development prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - "~>" - !ruby/object:Gem::Version - version: '3.18' + version: '3.24' description: |- PathExpander helps pre-process command-line arguments expanding directories into their constituent files. It further helps by @@ -99,8 +99,9 @@ homepage: https://github.com/seattlerb/path_expander licenses: - MIT -metadata: {} -post_install_message: +metadata: + homepage_uri: https://github.com/seattlerb/path_expander +post_install_message: rdoc_options: - "--main" - README.rdoc @@ -117,8 +118,8 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.0.6 -signing_key: +rubygems_version: 3.3.12 +signing_key: specification_version: 4 summary: PathExpander helps pre-process command-line arguments expanding directories into their constituent files Binary files old/metadata.gz.sig and new/metadata.gz.sig differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/test/test_path_expander.rb new/test/test_path_expander.rb --- old/test/test_path_expander.rb 2019-09-23 01:39:57.000000000 +0200 +++ new/test/test_path_expander.rb 2022-07-04 04:42:51.000000000 +0200 @@ -165,6 +165,12 @@ "-v") end + def test_process_args_dash + assert_process_args(%w[-], + %w[-v], + "-", "-v") + end + def test_process_flags exp = %w[a b c] act = expander.process_flags %w[a b c]