Hello community,

here is the log from the commit of package python-ruamel.yaml for 
openSUSE:Factory checked in at 2018-01-09 14:56:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ruamel.yaml (Old)
 and      /work/SRC/openSUSE:Factory/.python-ruamel.yaml.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ruamel.yaml"

Tue Jan  9 14:56:15 2018 rev:4 rq:562789 version:0.15.35

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ruamel.yaml/python-ruamel.yaml.changes    
2017-10-13 14:19:35.642978298 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-ruamel.yaml.new/python-ruamel.yaml.changes   
    2018-01-09 14:56:16.475135161 +0100
@@ -1,0 +2,6 @@
+Tue Jan  9 08:52:38 UTC 2018 - [email protected]
+
+- update to 0.15.35
+ * allow None as stream when specifying transform parameters to YAML.dump()
+
+-------------------------------------------------------------------

Old:
----
  ruamel.yaml-0.15.34.tar.gz

New:
----
  ruamel.yaml-0.15.35.tar.gz

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

Other differences:
------------------
++++++ python-ruamel.yaml.spec ++++++
--- /var/tmp/diff_new_pack.Bo0suB/_old  2018-01-09 14:56:18.699030914 +0100
+++ /var/tmp/diff_new_pack.Bo0suB/_new  2018-01-09 14:56:18.703030726 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ruamel.yaml
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-ruamel.yaml
-Version:        0.15.34
+Version:        0.15.35
 Release:        0
 Summary:        Python YAML parser
 License:        MIT

++++++ ruamel.yaml-0.15.34.tar.gz -> ruamel.yaml-0.15.35.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.34/CHANGES 
new/ruamel.yaml-0.15.35/CHANGES
--- old/ruamel.yaml-0.15.34/CHANGES     2017-09-17 12:55:35.000000000 +0200
+++ new/ruamel.yaml-0.15.35/CHANGES     2017-12-03 11:01:58.000000000 +0100
@@ -1,3 +1,10 @@
+[0, 15, 35]: 2017-12-03
+  - allow ``None`` as stream when specifying ``transform`` parameters to
+    ``YAML.dump()``.
+    This is useful if the transforming function doesn't return a meaningful 
value
+    (inspired by `StackOverflow 
<https://stackoverflow.com/q/47614862/1307905>`__ by
+    `rsaw <https://stackoverflow.com/users/406281/rsaw>`__).
+
 [0, 15, 34]: 2017-09-17
   - fix for issue 157: CDumper not dumping floats (reported by Jan Smitka)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.34/PKG-INFO 
new/ruamel.yaml-0.15.35/PKG-INFO
--- old/ruamel.yaml-0.15.34/PKG-INFO    2017-09-17 12:59:03.000000000 +0200
+++ new/ruamel.yaml-0.15.35/PKG-INFO    2017-12-03 11:06:48.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: ruamel.yaml
-Version: 0.15.34
+Version: 0.15.35
 Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip 
preservation of comments, seq/map flow style, and map key order
 Home-page: https://bitbucket.org/ruamel/yaml
 Author: Anthon van der Neut
@@ -41,7 +41,14 @@
         ChangeLog
         =========
         
-        .. should insert NEXT: at the beginning of line for next key
+        .. should insert NEXT: at the beginning of line for next key (with 
empty line)
+        
+        0.15.35 (2017-12-03):
+          - allow ``None`` as stream when specifying ``transform`` parameters 
to
+            ``YAML.dump()``.
+            This is useful if the transforming function doesn't return a 
meaningful value
+            (inspired by `StackOverflow 
<https://stackoverflow.com/q/47614862/1307905>`__ by
+            `rsaw <https://stackoverflow.com/users/406281/rsaw>`__).
         
         0.15.34 (2017-09-17):
           - fix for issue 157: CDumper not dumping floats (reported by Jan 
Smitka)
@@ -107,7 +114,7 @@
           - fix for round_tripping singe excl. mark tags doubling (reported 
and fix by Jan Brezina)
         
         0.15.21 (2017-07-25):
-          - fix for writing unicode in new API, (reported on 
+          - fix for writing unicode in new API, (reported on
             `StackOverflow <https://stackoverflow.com/a/45281922/1307905>`__
         
         0.15.20 (2017-07-23):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.34/README.rst 
new/ruamel.yaml-0.15.35/README.rst
--- old/ruamel.yaml-0.15.34/README.rst  2017-09-17 12:55:35.000000000 +0200
+++ new/ruamel.yaml-0.15.35/README.rst  2017-12-03 11:01:58.000000000 +0100
@@ -33,7 +33,14 @@
 ChangeLog
 =========
 
-.. should insert NEXT: at the beginning of line for next key
+.. should insert NEXT: at the beginning of line for next key (with empty line)
+
+0.15.35 (2017-12-03):
+  - allow ``None`` as stream when specifying ``transform`` parameters to
+    ``YAML.dump()``.
+    This is useful if the transforming function doesn't return a meaningful 
value
+    (inspired by `StackOverflow 
<https://stackoverflow.com/q/47614862/1307905>`__ by
+    `rsaw <https://stackoverflow.com/users/406281/rsaw>`__).
 
 0.15.34 (2017-09-17):
   - fix for issue 157: CDumper not dumping floats (reported by Jan Smitka)
@@ -99,7 +106,7 @@
   - fix for round_tripping singe excl. mark tags doubling (reported and fix by 
Jan Brezina)
 
 0.15.21 (2017-07-25):
-  - fix for writing unicode in new API, (reported on 
+  - fix for writing unicode in new API, (reported on
     `StackOverflow <https://stackoverflow.com/a/45281922/1307905>`__
 
 0.15.20 (2017-07-23):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.34/__init__.py 
new/ruamel.yaml-0.15.35/__init__.py
--- old/ruamel.yaml-0.15.34/__init__.py 2017-09-17 12:55:50.000000000 +0200
+++ new/ruamel.yaml-0.15.35/__init__.py 2017-12-03 11:03:09.000000000 +0100
@@ -7,8 +7,8 @@
 
 _package_data = dict(
     full_package_name='ruamel.yaml',
-    version_info=(0, 15, 34),
-    __version__='0.15.34',
+    version_info=(0, 15, 35),
+    __version__='0.15.35',
     author='Anthon van der Neut',
     author_email='[email protected]',
     description='ruamel.yaml is a YAML parser/emitter that supports roundtrip 
preservation of comments, seq/map flow style, and map key order',  # NOQA
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.34/main.py 
new/ruamel.yaml-0.15.35/main.py
--- old/ruamel.yaml-0.15.34/main.py     2017-09-17 12:47:57.000000000 +0200
+++ new/ruamel.yaml-0.15.35/main.py     2017-12-03 10:49:19.000000000 +0100
@@ -399,7 +399,10 @@
             val = stream.getvalue()  # type: ignore
             if self.encoding:
                 val = val.decode(self.encoding)
-            fstream.write(transform(val))
+            if fstream is None:
+                transform(val)
+            else:
+                fstream.write(transform(val))
         return None
 
     def get_serializer_representer_emitter(self, stream, tlca):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruamel.yaml-0.15.34/ruamel.yaml.egg-info/PKG-INFO 
new/ruamel.yaml-0.15.35/ruamel.yaml.egg-info/PKG-INFO
--- old/ruamel.yaml-0.15.34/ruamel.yaml.egg-info/PKG-INFO       2017-09-17 
12:59:03.000000000 +0200
+++ new/ruamel.yaml-0.15.35/ruamel.yaml.egg-info/PKG-INFO       2017-12-03 
11:06:47.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: ruamel.yaml
-Version: 0.15.34
+Version: 0.15.35
 Summary: ruamel.yaml is a YAML parser/emitter that supports roundtrip 
preservation of comments, seq/map flow style, and map key order
 Home-page: https://bitbucket.org/ruamel/yaml
 Author: Anthon van der Neut
@@ -41,7 +41,14 @@
         ChangeLog
         =========
         
-        .. should insert NEXT: at the beginning of line for next key
+        .. should insert NEXT: at the beginning of line for next key (with 
empty line)
+        
+        0.15.35 (2017-12-03):
+          - allow ``None`` as stream when specifying ``transform`` parameters 
to
+            ``YAML.dump()``.
+            This is useful if the transforming function doesn't return a 
meaningful value
+            (inspired by `StackOverflow 
<https://stackoverflow.com/q/47614862/1307905>`__ by
+            `rsaw <https://stackoverflow.com/users/406281/rsaw>`__).
         
         0.15.34 (2017-09-17):
           - fix for issue 157: CDumper not dumping floats (reported by Jan 
Smitka)
@@ -107,7 +114,7 @@
           - fix for round_tripping singe excl. mark tags doubling (reported 
and fix by Jan Brezina)
         
         0.15.21 (2017-07-25):
-          - fix for writing unicode in new API, (reported on 
+          - fix for writing unicode in new API, (reported on
             `StackOverflow <https://stackoverflow.com/a/45281922/1307905>`__
         
         0.15.20 (2017-07-23):


Reply via email to