Hello community,

here is the log from the commit of package lua-lua-mpris for openSUSE:Factory 
checked in at 2017-09-20 17:10:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lua-lua-mpris (Old)
 and      /work/SRC/openSUSE:Factory/.lua-lua-mpris.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lua-lua-mpris"

Wed Sep 20 17:10:13 2017 rev:3 rq:527220 version:0.0+git20170918.28b1c75

Changes:
--------
--- /work/SRC/openSUSE:Factory/lua-lua-mpris/lua-lua-mpris.changes      
2017-08-28 15:17:44.867814443 +0200
+++ /work/SRC/openSUSE:Factory/.lua-lua-mpris.new/lua-lua-mpris.changes 
2017-09-20 17:10:13.662360247 +0200
@@ -1,0 +2,6 @@
+Mon Sep 18 17:10:58 UTC 2017 - [email protected]
+
+- Update to version 0.0+git20170918.28b1c75:
+  * Check if the table parameter of table_contains is nil
+
+-------------------------------------------------------------------

Old:
----
  lua-mpris-0.0+git20170820.2126067.tar.xz

New:
----
  lua-mpris-0.0+git20170918.28b1c75.tar.xz

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

Other differences:
------------------
++++++ lua-lua-mpris.spec ++++++
--- /var/tmp/diff_new_pack.BnM0us/_old  2017-09-20 17:10:14.602227943 +0200
+++ /var/tmp/diff_new_pack.BnM0us/_new  2017-09-20 17:10:14.606227379 +0200
@@ -19,7 +19,7 @@
 %define flavor @BUILD_FLAVOR@
 %define mod_name lua-mpris
 %define mpv_lua_flavor lua51
-Version:        0.0+git20170820.2126067
+Version:        0.0+git20170918.28b1c75
 Release:        0
 Summary:        MPRIS api for lua
 License:        MIT

++++++ _service ++++++
--- /var/tmp/diff_new_pack.BnM0us/_old  2017-09-20 17:10:14.694214994 +0200
+++ /var/tmp/diff_new_pack.BnM0us/_new  2017-09-20 17:10:14.694214994 +0200
@@ -4,7 +4,7 @@
     <param name="filename">lua-mpris</param>
     <param name="versionformat">0.0+git%cd.%h</param>
     <param name="scm">git</param>
-    <param name="revision">212606758eb243d54416f254b09357fc89a10235</param>
+    <param name="revision">28b1c75444eccee91eaf648d9d75361de31605bd</param>
     <param name="changesgenerate">enable</param>
   </service>
   <service name="recompress" mode="disabled">

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.BnM0us/_old  2017-09-20 17:10:14.718211616 +0200
+++ /var/tmp/diff_new_pack.BnM0us/_new  2017-09-20 17:10:14.718211616 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/antlarr/lua-mpris</param>
-              <param 
name="changesrevision">212606758eb243d54416f254b09357fc89a10235</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">28b1c75444eccee91eaf648d9d75361de31605bd</param></service></servicedata>
\ No newline at end of file

++++++ lua-mpris-0.0+git20170820.2126067.tar.xz -> 
lua-mpris-0.0+git20170918.28b1c75.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lua-mpris-0.0+git20170820.2126067/mpv.lua 
new/lua-mpris-0.0+git20170918.28b1c75/mpv.lua
--- old/lua-mpris-0.0+git20170820.2126067/mpv.lua       2017-08-20 
19:22:22.000000000 +0200
+++ new/lua-mpris-0.0+git20170918.28b1c75/mpv.lua       2017-09-18 
19:03:38.000000000 +0200
@@ -125,8 +125,10 @@
 end
 
 local function table_contains(table, item)
-    for key, value in pairs(table) do
-        if value == item then return key end
+    if table then
+        for key, value in pairs(table) do
+            if value == item then return key end
+        end
     end
     return false
 end


Reply via email to