Hello community,
here is the log from the commit of package yast2-ruby-bindings for
openSUSE:Leap:15.2 checked in at 2020-01-17 11:58:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/yast2-ruby-bindings (Old)
and /work/SRC/openSUSE:Leap:15.2/.yast2-ruby-bindings.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-ruby-bindings"
Fri Jan 17 11:58:42 2020 rev:53 rq:761868 version:4.2.7
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/yast2-ruby-bindings/yast2-ruby-bindings.changes
2020-01-15 16:32:20.804883012 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.yast2-ruby-bindings.new.26092/yast2-ruby-bindings.changes
2020-01-17 11:58:43.204432193 +0100
@@ -1,0 +2,7 @@
+Fri Jan 3 15:02:24 UTC 2020 - Josef Reidinger <[email protected]>
+
+- Fix previous fix to really set exit code in ruby wrapper
+ (bsc#1144351)
+- 4.2.7
+
+-------------------------------------------------------------------
Old:
----
yast2-ruby-bindings-4.2.6.tar.bz2
New:
----
yast2-ruby-bindings-4.2.7.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yast2-ruby-bindings.spec ++++++
--- /var/tmp/diff_new_pack.QH8tcm/_old 2020-01-17 11:58:43.504432325 +0100
+++ /var/tmp/diff_new_pack.QH8tcm/_new 2020-01-17 11:58:43.508432327 +0100
@@ -1,7 +1,7 @@
#
# spec file for package yast2-ruby-bindings
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: yast2-ruby-bindings
-Version: 4.2.6
+Version: 4.2.7
Release: 0
Url: https://github.com/yast/yast-ruby-bindings
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ yast2-ruby-bindings-4.2.6.tar.bz2 -> yast2-ruby-bindings-4.2.7.tar.bz2
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ruby-bindings-4.2.6/package/yast2-ruby-bindings.changes
new/yast2-ruby-bindings-4.2.7/package/yast2-ruby-bindings.changes
--- old/yast2-ruby-bindings-4.2.6/package/yast2-ruby-bindings.changes
2019-12-19 11:55:34.000000000 +0100
+++ new/yast2-ruby-bindings-4.2.7/package/yast2-ruby-bindings.changes
2020-01-06 12:22:34.000000000 +0100
@@ -1,4 +1,11 @@
-------------------------------------------------------------------
+Fri Jan 3 15:02:24 UTC 2020 - Josef Reidinger <[email protected]>
+
+- Fix previous fix to really set exit code in ruby wrapper
+ (bsc#1144351)
+- 4.2.7
+
+-------------------------------------------------------------------
Tue Dec 17 14:48:01 UTC 2019 - Josef Reidinger <[email protected]>
- Fix returning error codes from y2start start point. Helps with
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/yast2-ruby-bindings-4.2.6/package/yast2-ruby-bindings.spec
new/yast2-ruby-bindings-4.2.7/package/yast2-ruby-bindings.spec
--- old/yast2-ruby-bindings-4.2.6/package/yast2-ruby-bindings.spec
2019-12-19 11:55:34.000000000 +0100
+++ new/yast2-ruby-bindings-4.2.7/package/yast2-ruby-bindings.spec
2020-01-06 12:22:34.000000000 +0100
@@ -17,7 +17,7 @@
Name: yast2-ruby-bindings
-Version: 4.2.6
+Version: 4.2.7
Url: https://github.com/yast/yast-ruby-bindings
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ruby-bindings-4.2.6/src/ruby/yast/wfm.rb
new/yast2-ruby-bindings-4.2.7/src/ruby/yast/wfm.rb
--- old/yast2-ruby-bindings-4.2.6/src/ruby/yast/wfm.rb 2019-12-19
11:55:34.000000000 +0100
+++ new/yast2-ruby-bindings-4.2.7/src/ruby/yast/wfm.rb 2020-01-06
12:22:34.000000000 +0100
@@ -331,6 +331,9 @@
handle_abort_exception(e, client)
exit
rescue Exception => e
+ # Don't interfere with RSpec, such as
RSpec::Mocks::MockExpectationError
+ raise e if e.class.to_s.start_with?("RSpec::")
+
handle_exception(e, client)
false
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/yast2-ruby-bindings-4.2.6/src/y2start/y2start
new/yast2-ruby-bindings-4.2.7/src/y2start/y2start
--- old/yast2-ruby-bindings-4.2.6/src/y2start/y2start 2019-12-19
11:55:34.000000000 +0100
+++ new/yast2-ruby-bindings-4.2.7/src/y2start/y2start 2020-01-06
12:22:34.000000000 +0100
@@ -56,6 +56,6 @@
Yast::Y2StartHelpers.application_title(args[:client_name])) if set_title
-Yast::Y2StartHelpers.generate_exit_code(
+exit Yast::Y2StartHelpers.generate_exit_code(
Yast::WFM.CallFunction(args[:client_name], args[:client_options][:params])
)