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-02-28 19:43:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-registration (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-registration.new.1958 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-registration"

Mon Feb 28 19:43:12 2022 rev:85 rq:958074 version:4.4.17

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-registration/yast2-registration.changes    
2022-02-24 18:18:45.982733434 +0100
+++ 
/work/SRC/openSUSE:Factory/.yast2-registration.new.1958/yast2-registration.changes
  2022-02-28 19:43:18.957935616 +0100
@@ -1,0 +2,6 @@
+Mon Feb 28 08:33:10 UTC 2022 - David Diaz <dgonza...@suse.com>
+
+- Adapt test code for work with Ruby >= 3 (related to bsc#1193192)
+- 4.4.17
+
+-------------------------------------------------------------------

Old:
----
  yast2-registration-4.4.16.tar.bz2

New:
----
  yast2-registration-4.4.17.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-registration.spec ++++++
--- /var/tmp/diff_new_pack.xHi7ki/_old  2022-02-28 19:43:19.541935834 +0100
+++ /var/tmp/diff_new_pack.xHi7ki/_new  2022-02-28 19:43:19.545935836 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-registration
-Version:        4.4.16
+Version:        4.4.17
 Release:        0
 Summary:        YaST2 - Registration Module
 License:        GPL-2.0-only

++++++ yast2-registration-4.4.16.tar.bz2 -> yast2-registration-4.4.17.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-registration-4.4.16/package/yast2-registration.changes 
new/yast2-registration-4.4.17/package/yast2-registration.changes
--- old/yast2-registration-4.4.16/package/yast2-registration.changes    
2022-02-23 17:48:56.000000000 +0100
+++ new/yast2-registration-4.4.17/package/yast2-registration.changes    
2022-02-28 10:56:52.000000000 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Mon Feb 28 08:33:10 UTC 2022 - David Diaz <dgonza...@suse.com>
+
+- Adapt test code for work with Ruby >= 3 (related to bsc#1193192)
+- 4.4.17
+
+-------------------------------------------------------------------
 Wed Feb 23 11:34:03 UTC 2022 - David Diaz <dgonza...@suse.com>
 
 - Makes the addon selector more "themeable" (bsc#1196362).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-registration-4.4.16/package/yast2-registration.spec 
new/yast2-registration-4.4.17/package/yast2-registration.spec
--- old/yast2-registration-4.4.16/package/yast2-registration.spec       
2022-02-23 17:48:56.000000000 +0100
+++ new/yast2-registration-4.4.17/package/yast2-registration.spec       
2022-02-28 10:56:52.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-registration
-Version:        4.4.16
+Version:        4.4.17
 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.4.16/test/autoyast_addons_spec.rb 
new/yast2-registration-4.4.17/test/autoyast_addons_spec.rb
--- old/yast2-registration-4.4.16/test/autoyast_addons_spec.rb  2022-02-23 
17:48:56.000000000 +0100
+++ new/yast2-registration-4.4.17/test/autoyast_addons_spec.rb  2022-02-28 
10:56:52.000000000 +0100
@@ -85,14 +85,17 @@
 
   describe "#register" do
     it "registers the selected addons" do
-      expect(registration).to receive(:register_product).with(
+      basesystem_module = {
         "name" => "sle-module-basesystem", "reg_code" => nil, "arch" => 
"x86_64",
         "version" => "15"
-      ).ordered
-      expect(registration).to receive(:register_product).with(
+      }
+      desktop_apps_module = {
         "name" => "sle-module-desktop-applications", "reg_code" => nil,
         "arch" => "x86_64", "version" => "15"
-      ).ordered
+      }
+
+      expect(registration).to 
receive(:register_product).with(basesystem_module).ordered
+      expect(registration).to 
receive(:register_product).with(desktop_apps_module).ordered
 
       ayaddons = Registration::AutoyastAddons.new(unsorted_addons, 
registration)
       ayaddons.select
@@ -100,10 +103,12 @@
     end
 
     it "registers the selected addon using the provided reg. key" do
-      expect(registration).to receive(:register_product).with(
+      basesystem_module = {
         "name" => "sle-module-basesystem", "reg_code" => "abcd42", "arch" => 
"x86_64",
         "version" => "15"
-      )
+      }
+
+      expect(registration).to 
receive(:register_product).with(basesystem_module)
 
       ayaddons = Registration::AutoyastAddons.new(addons_with_reg_key, 
registration)
       ayaddons.select

Reply via email to