Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-ajsonrpc for openSUSE:Factory 
checked in at 2022-01-15 20:05:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ajsonrpc (Old)
 and      /work/SRC/openSUSE:Factory/.python-ajsonrpc.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ajsonrpc"

Sat Jan 15 20:05:23 2022 rev:2 rq:946665 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ajsonrpc/python-ajsonrpc.changes  
2021-04-12 12:40:28.413586124 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-ajsonrpc.new.1892/python-ajsonrpc.changes    
    2022-01-15 20:05:44.973784717 +0100
@@ -1,0 +2,6 @@
+Sat Jan 15 16:24:57 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 1.2.0: 
+  * add Quart backend 
+
+-------------------------------------------------------------------

Old:
----
  ajsonrpc-1.1.0.tar.gz

New:
----
  ajsonrpc-1.2.0.tar.gz

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

Other differences:
------------------
++++++ python-ajsonrpc.spec ++++++
--- /var/tmp/diff_new_pack.5fflPe/_old  2022-01-15 20:05:45.353785014 +0100
+++ /var/tmp/diff_new_pack.5fflPe/_new  2022-01-15 20:05:45.361785020 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ajsonrpc
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,19 +15,20 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-ajsonrpc
-Version:        1.1.0
+Version:        1.2.0
 Release:        0
 Summary:        Async JSON-RPC 20 protocol + server powered by asyncio
 License:        MIT
 URL:            https://github.com/pavlov99/ajsonrpc
 Source:         
https://files.pythonhosted.org/packages/source/a/ajsonrpc/ajsonrpc-%{version}.tar.gz
-BuildRequires:  python-rpm-macros
-BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
 %python_subpackages
 

++++++ ajsonrpc-1.1.0.tar.gz -> ajsonrpc-1.2.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ajsonrpc-1.1.0/PKG-INFO new/ajsonrpc-1.2.0/PKG-INFO
--- old/ajsonrpc-1.1.0/PKG-INFO 2021-03-01 11:37:56.429334000 +0100
+++ new/ajsonrpc-1.2.0/PKG-INFO 2021-07-21 22:41:45.593518700 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: ajsonrpc
-Version: 1.1.0
+Version: 1.2.0
 Summary: Async JSON-RPC 2.0 protocol + server powered by asyncio
 Home-page: https://github.com/pavlov99/ajsonrpc
 Author: Kirill Pavlov
@@ -140,6 +140,7 @@
         Backend support is a syntactic sugar that wraps dispatcher and manager 
under one api class and provides convenient boilerplate, such as handler 
generation. Currently supported frameworks:
         * Tornado
         * Sanic
+        * Quart
         
 Platform: any
 Classifier: Development Status :: 5 - Production/Stable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ajsonrpc-1.1.0/README.md new/ajsonrpc-1.2.0/README.md
--- old/ajsonrpc-1.1.0/README.md        2021-03-01 11:37:47.000000000 +0100
+++ new/ajsonrpc-1.2.0/README.md        2021-07-21 22:41:37.000000000 +0200
@@ -129,3 +129,4 @@
 Backend support is a syntactic sugar that wraps dispatcher and manager under 
one api class and provides convenient boilerplate, such as handler generation. 
Currently supported frameworks:
 * Tornado
 * Sanic
+* Quart
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ajsonrpc-1.1.0/ajsonrpc/__init__.py 
new/ajsonrpc-1.2.0/ajsonrpc/__init__.py
--- old/ajsonrpc-1.1.0/ajsonrpc/__init__.py     2021-03-01 11:37:47.000000000 
+0100
+++ new/ajsonrpc-1.2.0/ajsonrpc/__init__.py     2021-07-21 22:41:37.000000000 
+0200
@@ -2,4 +2,4 @@
 from .manager import AsyncJSONRPCResponseManager
 
 __version__ = "0.0.0"  # replaced with release tag in GitHub action
-__version__ = "1.1.0"
+__version__ = "1.2.0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ajsonrpc-1.1.0/ajsonrpc/backend/quart.py 
new/ajsonrpc-1.2.0/ajsonrpc/backend/quart.py
--- old/ajsonrpc-1.1.0/ajsonrpc/backend/quart.py        1970-01-01 
01:00:00.000000000 +0100
+++ new/ajsonrpc-1.2.0/ajsonrpc/backend/quart.py        2021-07-21 
22:41:37.000000000 +0200
@@ -0,0 +1,17 @@
+import json
+
+from quart import Response, request
+from .common import CommonBackend
+
+
+class JSONRPCQuart(CommonBackend):
+    @property
+    def handler(self):
+        """Get Quart Handler"""
+
+        async def handle():
+            request_body = await request.body
+            response = await 
self.manager.get_response_for_payload(request_body)
+            return Response(json.dumps(response.body), 
mimetype="application/json")
+
+        return handle
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ajsonrpc-1.1.0/ajsonrpc.egg-info/PKG-INFO 
new/ajsonrpc-1.2.0/ajsonrpc.egg-info/PKG-INFO
--- old/ajsonrpc-1.1.0/ajsonrpc.egg-info/PKG-INFO       2021-03-01 
11:37:56.000000000 +0100
+++ new/ajsonrpc-1.2.0/ajsonrpc.egg-info/PKG-INFO       2021-07-21 
22:41:45.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: ajsonrpc
-Version: 1.1.0
+Version: 1.2.0
 Summary: Async JSON-RPC 2.0 protocol + server powered by asyncio
 Home-page: https://github.com/pavlov99/ajsonrpc
 Author: Kirill Pavlov
@@ -140,6 +140,7 @@
         Backend support is a syntactic sugar that wraps dispatcher and manager 
under one api class and provides convenient boilerplate, such as handler 
generation. Currently supported frameworks:
         * Tornado
         * Sanic
+        * Quart
         
 Platform: any
 Classifier: Development Status :: 5 - Production/Stable
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ajsonrpc-1.1.0/ajsonrpc.egg-info/SOURCES.txt 
new/ajsonrpc-1.2.0/ajsonrpc.egg-info/SOURCES.txt
--- old/ajsonrpc-1.1.0/ajsonrpc.egg-info/SOURCES.txt    2021-03-01 
11:37:56.000000000 +0100
+++ new/ajsonrpc-1.2.0/ajsonrpc.egg-info/SOURCES.txt    2021-07-21 
22:41:45.000000000 +0200
@@ -14,6 +14,7 @@
 ajsonrpc.egg-info/top_level.txt
 ajsonrpc/backend/__init__.py
 ajsonrpc/backend/common.py
+ajsonrpc/backend/quart.py
 ajsonrpc/backend/sanic.py
 ajsonrpc/backend/tornado.py
 ajsonrpc/scripts/server.py

Reply via email to