Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rubygem-diffy for openSUSE:Factory checked in at 2022-08-09 15:26:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-diffy (Old) and /work/SRC/openSUSE:Factory/.rubygem-diffy.new.1521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-diffy" Tue Aug 9 15:26:24 2022 rev:7 rq:993472 version:3.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-diffy/rubygem-diffy.changes 2020-09-27 11:50:16.796075989 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-diffy.new.1521/rubygem-diffy.changes 2022-08-09 15:26:33.993319032 +0200 @@ -1,0 +2,20 @@ +Thu Aug 4 13:07:04 UTC 2022 - Stephan Kulow <[email protected]> + +updated to version 3.4.2 + see installed CHANGELOG + + == 3.4.2 == + Silence warning from unused variable when using `ruby -w`. Thanks + @sambostock! + + == 3.4.1 == + Prevent remote code execution from user controlled diff file paths. This + issue was only present in Windows platforms. Thanks @tehryanx for reporting + and testing the fix! + + == 3.4.0 == + Remove space between U diff option and context number. Thanks @tomas! + Add option to ignore CRLF diffs in HTML comparisons. Thanks @ptyagi16! + + +------------------------------------------------------------------- Old: ---- diffy-3.4.0.gem New: ---- diffy-3.4.2.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-diffy.spec ++++++ --- /var/tmp/diff_new_pack.0wat2h/_old 2022-08-09 15:26:34.473320404 +0200 +++ /var/tmp/diff_new_pack.0wat2h/_new 2022-08-09 15:26:34.477320415 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-diffy # -# 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-diffy -Version: 3.4.0 +Version: 3.4.2 Release: 0 %define mod_name diffy %define mod_full_name %{mod_name}-%{version} ++++++ diffy-3.4.0.gem -> diffy-3.4.2.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/CHANGELOG new/CHANGELOG --- old/CHANGELOG 2020-08-07 18:27:59.000000000 +0200 +++ new/CHANGELOG 2022-06-20 21:43:34.000000000 +0200 @@ -1,3 +1,16 @@ +== 3.4.2 == +Silence warning from unused variable when using `ruby -w`. Thanks +@sambostock! + +== 3.4.1 == +Prevent remote code execution from user controlled diff file paths. This +issue was only present in Windows platforms. Thanks @tehryanx for reporting +and testing the fix! + +== 3.4.0 == +Remove space between U diff option and context number. Thanks @tomas! +Add option to ignore CRLF diffs in HTML comparisons. Thanks @ptyagi16! + == 3.3.0 == Fix diff lines that begin with -- or ++. Thanks @dark-panda! Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/diffy/diff.rb new/lib/diffy/diff.rb --- old/lib/diffy/diff.rb 2020-08-07 18:27:59.000000000 +0200 +++ new/lib/diffy/diff.rb 2022-06-20 21:43:34.000000000 +0200 @@ -49,13 +49,7 @@ [string1, string2] end - if WINDOWS - # don't use open3 on windows - cmd = sprintf '"%s" %s %s', diff_bin, diff_options.join(' '), @paths.map { |s| %("#{s}") }.join(' ') - diff = `#{cmd}` - else - diff = Open3.popen3(diff_bin, *(diff_options + @paths)) { |i, o, e| o.read } - end + diff, _stderr, _process_status = Open3.capture3(diff_bin, *(diff_options + @paths)) diff.force_encoding('ASCII-8BIT') if diff.respond_to?(:valid_encoding?) && !diff.valid_encoding? if diff =~ /\A\s*\Z/ && !options[:allow_empty_diff] diff = case options[:source] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/diffy/version.rb new/lib/diffy/version.rb --- old/lib/diffy/version.rb 2020-08-07 18:27:59.000000000 +0200 +++ new/lib/diffy/version.rb 2022-06-20 21:43:34.000000000 +0200 @@ -1,3 +1,3 @@ module Diffy - VERSION = '3.4.0' + VERSION = '3.4.2' end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2020-08-07 18:27:59.000000000 +0200 +++ new/metadata 2022-06-20 21:43:34.000000000 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: diffy version: !ruby/object:Gem::Version - version: 3.4.0 + version: 3.4.2 platform: ruby authors: - Sam Goldstein autorequire: bindir: bin cert_chain: [] -date: 2020-08-07 00:00:00.000000000 Z +date: 2022-06-20 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: rake
