Hello community,
here is the log from the commit of package ghc-wai-websockets for
openSUSE:Factory checked in at 2017-03-31 15:07:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-wai-websockets (Old)
and /work/SRC/openSUSE:Factory/.ghc-wai-websockets.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-wai-websockets"
Fri Mar 31 15:07:39 2017 rev:2 rq:482175 version:3.0.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-wai-websockets/ghc-wai-websockets.changes
2017-03-16 09:35:29.354117374 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-wai-websockets.new/ghc-wai-websockets.changes
2017-03-31 15:07:40.339782023 +0200
@@ -1,0 +2,5 @@
+Thu Sep 15 06:35:41 UTC 2016 - [email protected]
+
+- Update to version 3.0.1.1 revision 0 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
wai-websockets-3.0.1.tar.gz
New:
----
wai-websockets-3.0.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-wai-websockets.spec ++++++
--- /var/tmp/diff_new_pack.lb5qRJ/_old 2017-03-31 15:07:41.011687031 +0200
+++ /var/tmp/diff_new_pack.lb5qRJ/_new 2017-03-31 15:07:41.019685901 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ghc-wai-websockets
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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 @@
%global pkg_name wai-websockets
Name: ghc-%{pkg_name}
-Version: 3.0.1
+Version: 3.0.1.1
Release: 0
Summary: Provide a bridge between WAI and the websockets package
License: MIT
@@ -65,7 +65,7 @@
%install
%ghc_lib_install
-%ghc_fix_dynamic_rpath wai-websockets-example
+%ghc_fix_rpath %{pkg_name}-%{version}
%post devel
%ghc_pkg_recache
++++++ wai-websockets-3.0.1.tar.gz -> wai-websockets-3.0.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/wai-websockets-3.0.1/ChangeLog.md
new/wai-websockets-3.0.1.1/ChangeLog.md
--- old/wai-websockets-3.0.1/ChangeLog.md 2016-08-02 12:33:14.000000000
+0200
+++ new/wai-websockets-3.0.1.1/ChangeLog.md 2016-09-04 15:11:24.000000000
+0200
@@ -1,3 +1,7 @@
+## 3.0.1.1
+
+* Doc improvement
+
## 3.0.1
* Improved connection close logic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/wai-websockets-3.0.1/Network/Wai/Handler/WebSockets.hs
new/wai-websockets-3.0.1.1/Network/Wai/Handler/WebSockets.hs
--- old/wai-websockets-3.0.1/Network/Wai/Handler/WebSockets.hs 2016-08-02
12:33:14.000000000 +0200
+++ new/wai-websockets-3.0.1.1/Network/Wai/Handler/WebSockets.hs
2016-09-04 15:11:24.000000000 +0200
@@ -30,10 +30,10 @@
-- WebSocket requests.
--
-- @
--- websocketsOr opts ws_app backup_app = \\req send_response ->
+-- websocketsOr opts ws_app backup_app = \\req respond ->
-- __case__ 'websocketsApp' opts ws_app req __of__
-- 'Nothing' -> backup_app req send_response
--- 'Just' res -> send_response res
+-- 'Just' res -> respond res
-- @
--
-- For example, below is an 'Wai.Application' that sends @"Hello, client!"@ to
@@ -49,7 +49,7 @@
-- 'WS.sendTextData' conn ("Hello, client!" :: 'Data.Text.Text')
--
-- backupApp :: 'Wai.Application'
--- backupApp = 'Wai.respondLBS' 'Network.HTTP.Types.status400' [] "Not a
WebSocket request"
+-- backupApp _ respond = respond $ 'Wai.responseLBS'
'Network.HTTP.Types.status400' [] "Not a WebSocket request"
-- @
websocketsOr :: WS.ConnectionOptions
-> WS.ServerApp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/wai-websockets-3.0.1/wai-websockets.cabal
new/wai-websockets-3.0.1.1/wai-websockets.cabal
--- old/wai-websockets-3.0.1/wai-websockets.cabal 2016-08-02
12:33:14.000000000 +0200
+++ new/wai-websockets-3.0.1.1/wai-websockets.cabal 2016-09-04
15:11:24.000000000 +0200
@@ -1,5 +1,5 @@
Name: wai-websockets
-Version: 3.0.1
+Version: 3.0.1.1
Synopsis: Provide a bridge between WAI and the websockets package.
License: MIT
License-file: LICENSE