Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ghc-pandoc-lua-marshal for
openSUSE:Factory checked in at 2024-04-07 22:11:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-pandoc-lua-marshal (Old)
and /work/SRC/openSUSE:Factory/.ghc-pandoc-lua-marshal.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-pandoc-lua-marshal"
Sun Apr 7 22:11:04 2024 rev:7 rq:1165723 version:0.2.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-pandoc-lua-marshal/ghc-pandoc-lua-marshal.changes
2024-03-20 21:16:20.770429145 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-pandoc-lua-marshal.new.1905/ghc-pandoc-lua-marshal.changes
2024-04-07 22:13:17.798622269 +0200
@@ -1,0 +2,12 @@
+Fri Mar 29 17:56:57 UTC 2024 - Peter Simons <[email protected]>
+
+- Update pandoc-lua-marshal to version 0.2.6.
+ ## 0.2.6
+
+ Released 2024-03-29.
+
+ - Fixed a bug that caused problems with empty Block lists in
+ the `content` attributes of *Div*, *Figure*, and *BlockQuote*
+ elements.
+
+-------------------------------------------------------------------
Old:
----
pandoc-lua-marshal-0.2.5.tar.gz
New:
----
pandoc-lua-marshal-0.2.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-pandoc-lua-marshal.spec ++++++
--- /var/tmp/diff_new_pack.wa1dSQ/_old 2024-04-07 22:13:18.786658454 +0200
+++ /var/tmp/diff_new_pack.wa1dSQ/_new 2024-04-07 22:13:18.786658454 +0200
@@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 0.2.5
+Version: 0.2.6
Release: 0
Summary: Use pandoc types in Lua
License: MIT
++++++ pandoc-lua-marshal-0.2.5.tar.gz -> pandoc-lua-marshal-0.2.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pandoc-lua-marshal-0.2.5/CHANGELOG.md
new/pandoc-lua-marshal-0.2.6/CHANGELOG.md
--- old/pandoc-lua-marshal-0.2.5/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
+++ new/pandoc-lua-marshal-0.2.6/CHANGELOG.md 2001-09-09 03:46:40.000000000
+0200
@@ -2,6 +2,14 @@
`pandoc-lua-marshal` uses [PVP Versioning][].
+## 0.2.6
+
+Released 2024-03-29.
+
+- Fixed a bug that caused problems with empty Block lists in
+ the `content` attributes of *Div*, *Figure*, and *BlockQuote*
+ elements.
+
## 0.2.5
Released 2024-03-04.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pandoc-lua-marshal-0.2.5/pandoc-lua-marshal.cabal
new/pandoc-lua-marshal-0.2.6/pandoc-lua-marshal.cabal
--- old/pandoc-lua-marshal-0.2.5/pandoc-lua-marshal.cabal 2001-09-09
03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.2.6/pandoc-lua-marshal.cabal 2001-09-09
03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
cabal-version: 2.4
name: pandoc-lua-marshal
-version: 0.2.5
+version: 0.2.6
synopsis: Use pandoc types in Lua
description: This package provides functions to marshal and unmarshal
pandoc document types to and from Lua.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pandoc-lua-marshal-0.2.5/src/Text/Pandoc/Lua/Marshal/Block.hs
new/pandoc-lua-marshal-0.2.6/src/Text/Pandoc/Lua/Marshal/Block.hs
--- old/pandoc-lua-marshal-0.2.5/src/Text/Pandoc/Lua/Marshal/Block.hs
2001-09-09 03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.2.6/src/Text/Pandoc/Lua/Marshal/Block.hs
2001-09-09 03:46:40.000000000 +0200
@@ -294,6 +294,7 @@
"expected Inlines, got " <> contentTypeDescription c
blockContent = \case
ContentBlocks blks -> blks
+ ContentInlines [] -> []
ContentInlines inlns -> [Plain inlns]
c -> throwM . luaException @e $
"expected Blocks, got " <> contentTypeDescription c
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pandoc-lua-marshal-0.2.5/test/test-block.lua
new/pandoc-lua-marshal-0.2.6/test/test-block.lua
--- old/pandoc-lua-marshal-0.2.5/test/test-block.lua 2001-09-09
03:46:40.000000000 +0200
+++ new/pandoc-lua-marshal-0.2.6/test/test-block.lua 2001-09-09
03:46:40.000000000 +0200
@@ -120,6 +120,12 @@
Div('word', {'my-other-div', {'example'}}),
div
)
+ end),
+ test('accessing the content does not change the value', function ()
+ local div = Div {}
+ assert.are_equal(div, Div{})
+ x = div.content
+ assert.are_equal(div, Div{})
end)
},
group 'Figure' {