Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2 for openSUSE:Factory checked in at 2021-12-26 13:30:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2 (Old) and /work/SRC/openSUSE:Factory/.yast2.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2" Sun Dec 26 13:30:18 2021 rev:522 rq:942460 version:4.4.32 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2/yast2.changes 2021-12-21 18:40:26.705863794 +0100 +++ /work/SRC/openSUSE:Factory/.yast2.new.2520/yast2.changes 2021-12-26 13:30:23.202954387 +0100 @@ -1,0 +2,6 @@ +Thu Dec 23 18:08:19 UTC 2021 - Josef Reidinger <jreidin...@suse.com> + +- properly pass named arguments in ruby3 (bsc#1193192) +- 4.4.32 + +------------------------------------------------------------------- Old: ---- yast2-4.4.31.tar.bz2 New: ---- yast2-4.4.32.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2.spec ++++++ --- /var/tmp/diff_new_pack.NZfQYM/_old 2021-12-26 13:30:25.362955892 +0100 +++ /var/tmp/diff_new_pack.NZfQYM/_new 2021-12-26 13:30:25.366955895 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version: 4.4.31 +Version: 4.4.32 Release: 0 Summary: YaST2 Main Package ++++++ yast2-4.4.31.tar.bz2 -> yast2-4.4.32.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.31/library/cwm/src/lib/cwm/dialog.rb new/yast2-4.4.32/library/cwm/src/lib/cwm/dialog.rb --- old/yast2-4.4.31/library/cwm/src/lib/cwm/dialog.rb 2021-12-20 16:45:07.000000000 +0100 +++ new/yast2-4.4.32/library/cwm/src/lib/cwm/dialog.rb 2021-12-25 17:57:25.000000000 +0100 @@ -27,8 +27,8 @@ abstract_method :contents # A shortcut for `.new(*args).run` - def self.run(*args) - new(*args).run + def self.run(*args, **kws) + new(*args, **kws).run end # The entry point. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.31/library/cwm/test/dialog_test.rb new/yast2-4.4.32/library/cwm/test/dialog_test.rb --- old/yast2-4.4.31/library/cwm/test/dialog_test.rb 2021-12-20 16:45:07.000000000 +0100 +++ new/yast2-4.4.32/library/cwm/test/dialog_test.rb 2021-12-25 17:57:25.000000000 +0100 @@ -6,10 +6,17 @@ describe "CWM::Dialog" do class TestCWMDialog < CWM::Dialog + attr_reader :title, :disable + def initialize(title = "test", disable: :abort) + @title = title + @disable = disable + end + def contents VBox() end end + subject { TestCWMDialog.new } include_examples "CWM::Dialog" @@ -19,6 +26,13 @@ allow(Yast::Wizard).to receive(:IsWizardDialog).and_return(false) allow(Yast::Wizard).to receive(:CreateDialog) allow(Yast::Wizard).to receive(:CloseDialog) + allow(Yast::CWM).to receive(:show).and_return(:next) + end + + it "pass all arguments to constructor" do + expect(TestCWMDialog).to receive(:new).with("test2", disable: :next).and_call_original + + TestCWMDialog.run("test2", disable: :next) end it "opens a dialog when needed, and calls CWM#show" do diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.31/library/general/src/lib/ui/text_helpers.rb new/yast2-4.4.32/library/general/src/lib/ui/text_helpers.rb --- old/yast2-4.4.31/library/general/src/lib/ui/text_helpers.rb 2021-12-20 16:45:07.000000000 +0100 +++ new/yast2-4.4.32/library/general/src/lib/ui/text_helpers.rb 2021-12-25 17:57:25.000000000 +0100 @@ -30,18 +30,8 @@ end # (see Yast2::Refinements::StringManipulations#wrap_text) - def wrap_text(text, *args) - width = args.find { |a| a.is_a?(Integer) } - map = args.find { |a| a.is_a?(Hash) } - if map && width - text.wrap_text(width, **map) - elsif width - text.wrap_text(width) - elsif map - text.wrap_text(**map) - else - text.wrap_text - end + def wrap_text(text, *args, **kwa) + text.wrap_text(*args, **kwa) end # (see Yast2::Refinements::StringManipulations#head) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.31/package/yast2.changes new/yast2-4.4.32/package/yast2.changes --- old/yast2-4.4.31/package/yast2.changes 2021-12-20 16:45:07.000000000 +0100 +++ new/yast2-4.4.32/package/yast2.changes 2021-12-25 17:57:25.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Dec 23 18:08:19 UTC 2021 - Josef Reidinger <jreidin...@suse.com> + +- properly pass named arguments in ruby3 (bsc#1193192) +- 4.4.32 + +------------------------------------------------------------------- Mon Dec 20 11:07:31 UTC 2021 - Imobach Gonzalez Sosa <igonzalezs...@suse.com> - Do not reinitialize the packaging system during offline diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-4.4.31/package/yast2.spec new/yast2-4.4.32/package/yast2.spec --- old/yast2-4.4.31/package/yast2.spec 2021-12-20 16:45:07.000000000 +0100 +++ new/yast2-4.4.32/package/yast2.spec 2021-12-25 17:57:25.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2 -Version: 4.4.31 +Version: 4.4.32 Release: 0 Summary: YaST2 Main Package