commit rubygem-mixlib-shellout for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-mixlib-shellout for openSUSE:Factory checked in at 2022-04-30 22:52:32 Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-shellout (Old) and /work/SRC/openSUSE:Factory/.rubygem-mixlib-shellout.new.1538 (New) Package is "rubygem-mixlib-shellout" Sat Apr 30 22:52:32 2022 rev:25 rq:974055 version:3.2.7 Changes: --- /work/SRC/openSUSE:Factory/rubygem-mixlib-shellout/rubygem-mixlib-shellout.changes 2021-07-02 13:28:40.640197169 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-mixlib-shellout.new.1538/rubygem-mixlib-shellout.changes 2022-04-30 22:52:40.984236042 +0200 @@ -1,0 +2,6 @@ +Thu Apr 28 05:36:15 UTC 2022 - Stephan Kulow + +updated to version 3.2.7 + no changelog found + +--- Old: mixlib-shellout-3.2.5.gem New: mixlib-shellout-3.2.7.gem Other differences: -- ++ rubygem-mixlib-shellout.spec ++ --- /var/tmp/diff_new_pack.ud2ZYK/_old 2022-04-30 22:52:41.476236708 +0200 +++ /var/tmp/diff_new_pack.ud2ZYK/_new 2022-04-30 22:52:41.476236708 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-mixlib-shellout # -# 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,12 +24,12 @@ # Name: rubygem-mixlib-shellout -Version:3.2.5 +Version:3.2.7 Release:0 %define mod_name mixlib-shellout %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{ruby >= 2.4} +BuildRequires: %{ruby >= 2.5} BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 URL:https://github.com/chef/mixlib-shellout ++ mixlib-shellout-3.2.5.gem -> mixlib-shellout-3.2.7.gem ++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/mixlib/shellout/version.rb new/lib/mixlib/shellout/version.rb --- old/lib/mixlib/shellout/version.rb 2021-02-13 20:47:28.0 +0100 +++ new/lib/mixlib/shellout/version.rb 2022-04-05 00:43:57.0 +0200 @@ -1,5 +1,5 @@ module Mixlib class ShellOut -VERSION = "3.2.5".freeze +VERSION = "3.2.7".freeze end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/mixlib/shellout.rb new/lib/mixlib/shellout.rb --- old/lib/mixlib/shellout.rb 2021-02-13 20:47:28.0 +0100 +++ new/lib/mixlib/shellout.rb 2022-04-05 00:43:57.0 +0200 @@ -28,7 +28,7 @@ READ_SIZE = 4096 DEFAULT_READ_TIMEOUT = 600 -if RUBY_PLATFORM =~ /mswin|mingw32|windows/ +if RUBY_PLATFORM =~ /mswin|mingw|windows/ require_relative "shellout/windows" include ShellOut::Windows else diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2021-02-13 20:47:28.0 +0100 +++ new/metadata2022-04-05 00:43:57.0 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: mixlib-shellout version: !ruby/object:Gem::Version - version: 3.2.5 + version: 3.2.7 platform: ruby authors: - Chef Software Inc. autorequire: bindir: bin cert_chain: [] -date: 2021-02-13 00:00:00.0 Z +date: 2022-04-04 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: chef-utils @@ -50,7 +50,7 @@ requirements: - - ">=" - !ruby/object:Gem::Version - version: '2.4' + version: '2.5' required_rubygems_version: !ruby/object:Gem::Requirement requirements: - - ">="
commit rubygem-mixlib-shellout for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-mixlib-shellout for openSUSE:Factory checked in at 2021-07-02 13:27:42 Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-shellout (Old) and /work/SRC/openSUSE:Factory/.rubygem-mixlib-shellout.new.2625 (New) Package is "rubygem-mixlib-shellout" Fri Jul 2 13:27:42 2021 rev:24 rq:903517 version:3.2.5 Changes: --- /work/SRC/openSUSE:Factory/rubygem-mixlib-shellout/rubygem-mixlib-shellout.changes 2021-01-21 21:55:57.117818863 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-mixlib-shellout.new.2625/rubygem-mixlib-shellout.changes 2021-07-02 13:28:40.640197169 +0200 @@ -1,0 +2,6 @@ +Thu Jun 24 17:37:44 UTC 2021 - Stephan Kulow + +updated to version 3.2.5 + no changelog found + +--- Old: mixlib-shellout-3.2.2.gem New: mixlib-shellout-3.2.5.gem Other differences: -- ++ rubygem-mixlib-shellout.spec ++ --- /var/tmp/diff_new_pack.EOxMke/_old 2021-07-02 13:28:41.016194252 +0200 +++ /var/tmp/diff_new_pack.EOxMke/_new 2021-07-02 13:28:41.020194221 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-mixlib-shellout -Version:3.2.2 +Version:3.2.5 Release:0 %define mod_name mixlib-shellout %define mod_full_name %{mod_name}-%{version} ++ mixlib-shellout-3.2.2.gem -> mixlib-shellout-3.2.5.gem ++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/mixlib/shellout/version.rb new/lib/mixlib/shellout/version.rb --- old/lib/mixlib/shellout/version.rb 2020-11-16 20:51:59.0 +0100 +++ new/lib/mixlib/shellout/version.rb 2021-02-13 20:47:28.0 +0100 @@ -1,5 +1,5 @@ module Mixlib class ShellOut -VERSION = "3.2.2".freeze +VERSION = "3.2.5".freeze end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2020-11-16 20:51:59.0 +0100 +++ new/metadata2021-02-13 20:47:28.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: mixlib-shellout version: !ruby/object:Gem::Version - version: 3.2.2 + version: 3.2.5 platform: ruby authors: - Chef Software Inc. autorequire: bindir: bin cert_chain: [] -date: 2020-11-16 00:00:00.0 Z +date: 2021-02-13 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: chef-utils @@ -39,7 +39,8 @@ - lib/mixlib/shellout/windows.rb - lib/mixlib/shellout/windows/core_ext.rb homepage: https://github.com/chef/mixlib-shellout -licenses: [] +licenses: +- Apache-2.0 metadata: {} post_install_message: rdoc_options: [] @@ -56,7 +57,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubygems_version: 3.0.3 +rubygems_version: 3.1.4 signing_key: specification_version: 4 summary: Run external commands on Unix or Windows
commit rubygem-mixlib-shellout for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-mixlib-shellout for openSUSE:Factory checked in at 2021-01-21 21:55:55 Comparing /work/SRC/openSUSE:Factory/rubygem-mixlib-shellout (Old) and /work/SRC/openSUSE:Factory/.rubygem-mixlib-shellout.new.28504 (New) Package is "rubygem-mixlib-shellout" Thu Jan 21 21:55:55 2021 rev:23 rq:865207 version:3.2.2 Changes: --- /work/SRC/openSUSE:Factory/rubygem-mixlib-shellout/rubygem-mixlib-shellout.changes 2020-03-07 21:39:00.616303414 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-mixlib-shellout.new.28504/rubygem-mixlib-shellout.changes 2021-01-21 21:55:57.117818863 +0100 @@ -1,0 +2,12 @@ +Wed Jan 20 12:55:40 UTC 2021 - Stephan Kulow + +updated to version 3.2.2 + no changelog found + +--- +Fri Sep 25 14:19:18 UTC 2020 - Stephan Kulow + +updated to version 3.1.6 + no changelog found + +--- Old: mixlib-shellout-3.0.9.gem New: mixlib-shellout-3.2.2.gem Other differences: -- ++ rubygem-mixlib-shellout.spec ++ --- /var/tmp/diff_new_pack.YSZil1/_old 2021-01-21 21:55:57.805819342 +0100 +++ /var/tmp/diff_new_pack.YSZil1/_new 2021-01-21 21:55:57.809819345 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-mixlib-shellout # -# 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,12 +24,12 @@ # Name: rubygem-mixlib-shellout -Version:3.0.9 +Version:3.2.2 Release:0 %define mod_name mixlib-shellout %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{ruby >= 2.2} +BuildRequires: %{ruby >= 2.4} BuildRequires: %{rubygem gem2rpm} BuildRequires: ruby-macros >= 5 URL:https://github.com/chef/mixlib-shellout ++ mixlib-shellout-3.0.9.gem -> mixlib-shellout-3.2.2.gem ++ Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/mixlib/shellout/helper.rb new/lib/mixlib/shellout/helper.rb --- old/lib/mixlib/shellout/helper.rb 1970-01-01 01:00:00.0 +0100 +++ new/lib/mixlib/shellout/helper.rb 2020-11-16 20:51:59.0 +0100 @@ -0,0 +1,197 @@ +#-- +# Author:: Daniel DeLeo () +# Copyright:: Copyright (c) Chef Software Inc. +# License:: Apache License, Version 2.0 +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +require_relative "../shellout" +require "chef-utils" unless defined?(ChefUtils) +require "chef-utils/dsl/default_paths" +require "chef-utils/internal" + +module Mixlib + class ShellOut +module Helper + include ChefUtils::Internal + include ChefUtils::DSL::DefaultPaths + + # + # These APIs are considered public for use in ohai and chef (by cookbooks and plugins, etc) + # but are considered private/experimental for now for the direct users of mixlib-shellout. + # + # You can see an example of how to handle the "dependency injection" in the rspec unit test. + # That backend API is left deliberately undocumented for now and may not follow SemVer and may + # break at any time (at least for the rest of 2020). + # + + def shell_out(*args, **options) +options = options.dup +options = __maybe_add_timeout(self, options) +if options.empty? + shell_out_compacted(*__clean_array(*args)) +else + shell_out_compacted(*__clean_array(*args), **options) +end + end + + def shell_out!(*args, **options) +options = options.dup +options = __maybe_add_timeout(self, options) +if options.empty? + shell_out_compacted!(*__clean_array(*args)) +else + shell_out_compacted!(*__clean_array(*args), **options) +end + end + + private + + # helper sugar for resources that support passing timeouts to shell_out + # + # m