Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2-registration for openSUSE:Factory checked in at 2022-11-03 19:59:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-registration (Old) and /work/SRC/openSUSE:Factory/.yast2-registration.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-registration" Thu Nov 3 19:59:27 2022 rev:94 rq:1032491 version:4.5.8 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-registration/yast2-registration.changes 2022-10-27 13:54:44.236740409 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-registration.new.2275/yast2-registration.changes 2022-11-03 19:59:28.804011130 +0100 @@ -1,0 +2,6 @@ +Mon Oct 31 10:14:45 UTC 2022 - Martin Vidner <mvid...@suse.com> + +- Fix hash vs keyword arguments in RSpec expectations (bsc#1204871) +- 4.5.8 + +------------------------------------------------------------------- Old: ---- yast2-registration-4.5.7.tar.bz2 New: ---- yast2-registration-4.5.8.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-registration.spec ++++++ --- /var/tmp/diff_new_pack.oxKWtt/_old 2022-11-03 19:59:29.376014478 +0100 +++ /var/tmp/diff_new_pack.oxKWtt/_new 2022-11-03 19:59:29.388014548 +0100 @@ -17,7 +17,7 @@ Name: yast2-registration -Version: 4.5.7 +Version: 4.5.8 Release: 0 Summary: YaST2 - Registration Module License: GPL-2.0-only ++++++ yast2-registration-4.5.7.tar.bz2 -> yast2-registration-4.5.8.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.7/package/yast2-registration.changes new/yast2-registration-4.5.8/package/yast2-registration.changes --- old/yast2-registration-4.5.7/package/yast2-registration.changes 2022-10-26 09:28:13.000000000 +0200 +++ new/yast2-registration-4.5.8/package/yast2-registration.changes 2022-10-31 14:12:34.000000000 +0100 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Oct 31 10:14:45 UTC 2022 - Martin Vidner <mvid...@suse.com> + +- Fix hash vs keyword arguments in RSpec expectations (bsc#1204871) +- 4.5.8 + +------------------------------------------------------------------- Tue Oct 25 12:19:45 UTC 2022 - Ladislav Slez??k <lsle...@suse.cz> - Improve logging, use the new "log.group" call to group logs for diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.7/package/yast2-registration.spec new/yast2-registration-4.5.8/package/yast2-registration.spec --- old/yast2-registration-4.5.7/package/yast2-registration.spec 2022-10-26 09:28:13.000000000 +0200 +++ new/yast2-registration-4.5.8/package/yast2-registration.spec 2022-10-31 14:12:34.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-registration -Version: 4.5.7 +Version: 4.5.8 Release: 0 Summary: YaST2 - Registration Module License: GPL-2.0-only diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.7/test/helpers_spec.rb new/yast2-registration-4.5.8/test/helpers_spec.rb --- old/yast2-registration-4.5.7/test/helpers_spec.rb 2022-10-26 09:28:13.000000000 +0200 +++ new/yast2-registration-4.5.8/test/helpers_spec.rb 2022-10-31 14:12:34.000000000 +0100 @@ -166,14 +166,15 @@ describe ".write_config" do it "writes the current configuration" do url = "https://example.com" + config = { + url: url, + insecure: false + } expect(Registration::UrlHelpers).to receive(:registration_url) \ .and_return(url) expect(Registration::Helpers).to receive(:insecure_registration) \ .and_return(false) - expect(SUSE::Connect::YaST).to receive(:write_config).with( - url: url, - insecure: false - ) + expect(SUSE::Connect::YaST).to receive(:write_config).with(config) Registration::Helpers.write_config end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.7/test/registration/clients/scc_auto_test.rb new/yast2-registration-4.5.8/test/registration/clients/scc_auto_test.rb --- old/yast2-registration-4.5.7/test/registration/clients/scc_auto_test.rb 2022-10-26 09:28:13.000000000 +0200 +++ new/yast2-registration-4.5.8/test/registration/clients/scc_auto_test.rb 2022-10-31 14:12:34.000000000 +0100 @@ -47,8 +47,9 @@ end it "imports given hash" do - expect(config).to receive(:import).with("reg_code" => "SOME-CODE") - subject.import("reg_code" => "SOME-CODE") + settings = { "reg_code" => "SOME-CODE" } + expect(config).to receive(:import).with(settings) + subject.import(settings) end context "when the registration code is not specified" do @@ -65,7 +66,8 @@ end it "reads the code from the registration codes loader" do - expect(config).to receive(:import).with("reg_code" => "INTERNAL-USE-ONLY") + imported = { "reg_code" => "INTERNAL-USE-ONLY" } + expect(config).to receive(:import).with(imported) subject.import({}) end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-registration-4.5.7/test/registration_spec.rb new/yast2-registration-4.5.8/test/registration_spec.rb --- old/yast2-registration-4.5.7/test/registration_spec.rb 2022-10-26 09:28:13.000000000 +0200 +++ new/yast2-registration-4.5.8/test/registration_spec.rb 2022-10-31 14:12:34.000000000 +0100 @@ -62,8 +62,9 @@ receive(:registered) # the received product renames are passed to the software management + renames = { "SUSE_SLES_SAP" => "SLES_SAP" } expect(Registration::SwMgmt).to receive(:update_product_renames) - .with("SUSE_SLES_SAP" => "SLES_SAP") + .with(renames) allow(SUSE::Connect::YaST).to receive(:credentials) .with(SUSE::Connect::YaST::GLOBAL_CREDENTIALS_FILE)