Hello community,

here is the log from the commit of package yast2 for openSUSE:Factory checked 
in at 2017-08-13 14:54:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2 (Old)
 and      /work/SRC/openSUSE:Factory/.yast2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2"

Sun Aug 13 14:54:18 2017 rev:411 rq:515849 version:3.3.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2/yast2.changes      2017-08-04 
11:57:40.810023718 +0200
+++ /work/SRC/openSUSE:Factory/.yast2.new/yast2.changes 2017-08-13 
14:54:21.817427892 +0200
@@ -1,0 +2,7 @@
+Wed Aug  9 14:06:05 UTC 2017 - jreidin...@suse.com
+
+- workaround false warning from Forwardable when using OpenStruct
+  in ruby 2.4 (bsc#1049433)
+- 3.3.8
+
+-------------------------------------------------------------------

Old:
----
  yast2-3.3.7.tar.bz2

New:
----
  yast2-3.3.8.tar.bz2

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

Other differences:
------------------
++++++ yast2.spec ++++++
--- /var/tmp/diff_new_pack.HlTOwb/_old  2017-08-13 14:54:23.073251676 +0200
+++ /var/tmp/diff_new_pack.HlTOwb/_new  2017-08-13 14:54:23.073251676 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2
-Version:        3.3.7
+Version:        3.3.8
 Release:        0
 Summary:        YaST2 - Main Package
 License:        GPL-2.0

++++++ yast2-3.3.7.tar.bz2 -> yast2-3.3.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.3.7/.travis.yml new/yast2-3.3.8/.travis.yml
--- old/yast2-3.3.7/.travis.yml 2017-08-03 10:29:13.371219746 +0200
+++ new/yast2-3.3.8/.travis.yml 2017-08-10 10:09:28.168270412 +0200
@@ -5,6 +5,9 @@
 
 before_install:
   - docker build -t yast-yast2-image .
+  # list the installed packages (just for easier debugging)
+  - docker run --rm -it yast-yast2-image rpm -qa | sort
+
 script:
   # the "yast-travis-ruby" script is included in the base yastdevel/ruby image
   # see https://github.com/yast/docker-yast-ruby/blob/master/yast-travis-ruby
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-3.3.7/library/systemd/src/lib/yast2/systemd_unit.rb 
new/yast2-3.3.8/library/systemd/src/lib/yast2/systemd_unit.rb
--- old/yast2-3.3.7/library/systemd/src/lib/yast2/systemd_unit.rb       
2017-08-03 10:29:13.791219746 +0200
+++ new/yast2-3.3.8/library/systemd/src/lib/yast2/systemd_unit.rb       
2017-08-10 10:09:28.268270412 +0200
@@ -1,7 +1,6 @@
 require "yast2/systemctl"
 
 require "ostruct"
-require "forwardable"
 
 module Yast
   ###
@@ -48,12 +47,14 @@
       path:            "FragmentPath"
     }.freeze
 
-    extend Forwardable
-
-    def_delegators :@properties, :id, :path, :description, :active?, 
:enabled?, :loaded?
-
     attr_reader :name, :unit_name, :unit_type, :input_properties, :error, 
:properties
 
+    # with ruby 2.4 delegating ostruct with Forwardable start to write warning
+    # so define it manually (bsc#1049433)
+    [:id, :path, :description, :active?, :enabled?, :loaded?].each do |m|
+      define_method(m) { properties.public_send(m) }
+    end
+
     def initialize(full_unit_name, properties = {})
       @unit_name, @unit_type = full_unit_name.split(".")
       raise "Missing unit type suffix" unless unit_type
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.3.7/package/yast2.changes 
new/yast2-3.3.8/package/yast2.changes
--- old/yast2-3.3.7/package/yast2.changes       2017-08-03 10:29:13.839219746 
+0200
+++ new/yast2-3.3.8/package/yast2.changes       2017-08-10 10:09:28.296270412 
+0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Wed Aug  9 14:06:05 UTC 2017 - jreidin...@suse.com
+
+- workaround false warning from Forwardable when using OpenStruct
+  in ruby 2.4 (bsc#1049433)
+- 3.3.8
+
+-------------------------------------------------------------------
 Thu Aug  3 07:39:49 UTC 2017 - lsle...@suse.cz
 
 - run_ifconfig.scr - make "inet" section optional, handle
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-3.3.7/package/yast2.spec 
new/yast2-3.3.8/package/yast2.spec
--- old/yast2-3.3.7/package/yast2.spec  2017-08-03 10:29:13.839219746 +0200
+++ new/yast2-3.3.8/package/yast2.spec  2017-08-10 10:09:28.296270412 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           yast2
-Version:        3.3.7
+Version:        3.3.8
 Release:        0
 Summary:        YaST2 - Main Package
 License:        GPL-2.0


Reply via email to