Hello community, here is the log from the commit of package ghc-cookie for openSUSE:Factory checked in at 2015-06-30 10:19:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-cookie (Old) and /work/SRC/openSUSE:Factory/.ghc-cookie.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-cookie" Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-cookie/ghc-cookie.changes 2015-05-22 09:53:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-cookie.new/ghc-cookie.changes 2015-06-30 10:19:02.000000000 +0200 @@ -1,0 +2,5 @@ +Sun Jun 28 16:33:58 UTC 2015 - mimi...@gmail.com + +- update to 0.4.1.6 + +------------------------------------------------------------------- Old: ---- cookie-0.4.1.5.tar.gz New: ---- cookie-0.4.1.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-cookie.spec ++++++ --- /var/tmp/diff_new_pack.A3UXll/_old 2015-06-30 10:19:02.000000000 +0200 +++ /var/tmp/diff_new_pack.A3UXll/_new 2015-06-30 10:19:02.000000000 +0200 @@ -19,7 +19,7 @@ %global pkg_name cookie Name: ghc-cookie -Version: 0.4.1.5 +Version: 0.4.1.6 Release: 0 Summary: HTTP cookie parsing and rendering License: BSD-2-Clause ++++++ cookie-0.4.1.5.tar.gz -> cookie-0.4.1.6.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cookie-0.4.1.5/Web/Cookie.hs new/cookie-0.4.1.6/Web/Cookie.hs --- old/cookie-0.4.1.5/Web/Cookie.hs 2015-04-28 13:32:24.000000000 +0200 +++ new/cookie-0.4.1.6/Web/Cookie.hs 2015-06-23 10:20:33.000000000 +0200 @@ -98,16 +98,30 @@ renderCookie :: (S.ByteString, S.ByteString) -> Builder renderCookie (k, v) = fromByteString k `mappend` fromChar '=' `mappend` fromByteString v - +-- | Data type representing the key-value pair to use for a cookie, as well as configuration options for it. +-- +-- ==== Creating a SetCookie +-- +-- 'SetCookie' does not export a constructor; instead, use the 'Default' instance to create one and override values (see <http://www.yesodweb.com/book/settings-types> for details): +-- +-- @ +-- import Web.Cookie +-- :set -XOverloadedStrings +-- let cookie = 'def' { 'setCookieName' = "cookieName", 'setCookieValue' = "cookieValue" } +-- @ +-- +-- ==== Cookie Configuration +-- +-- Cookies have several configuration options; a brief summary of each option is given below. For more information, see <http://tools.ietf.org/html/rfc6265#section-4.1.2 RFC 6265> or <https://en.wikipedia.org/wiki/HTTP_cookie#Cookie_attributes Wikipedia>. data SetCookie = SetCookie - { setCookieName :: S.ByteString - , setCookieValue :: S.ByteString - , setCookiePath :: Maybe S.ByteString - , setCookieExpires :: Maybe UTCTime - , setCookieMaxAge :: Maybe DiffTime - , setCookieDomain :: Maybe S.ByteString - , setCookieHttpOnly :: Bool - , setCookieSecure :: Bool + { setCookieName :: S.ByteString -- ^ The name of the cookie. Default value: @"name"@ + , setCookieValue :: S.ByteString -- ^ The value of the cookie. Default value: @"value"@ + , setCookiePath :: Maybe S.ByteString -- ^ The URL path for which the cookie should be sent. Default value: @Nothing@ (The browser defaults to the path of the request that sets the cookie). + , setCookieExpires :: Maybe UTCTime -- ^ The time at which to expire the cookie. Default value: @Nothing@ (The browser will default to expiring a cookie when the browser is closed). + , setCookieMaxAge :: Maybe DiffTime -- ^ The maximum time to keep the cookie, in seconds. Default value: @Nothing@ (The browser defaults to expiring a cookie when the browser is closed). + , setCookieDomain :: Maybe S.ByteString -- ^ The domain for which the cookie should be sent. Default value: @Nothing@ (The browser defaults to the current domain). + , setCookieHttpOnly :: Bool -- ^ Marks the cookie as "HTTP only", i.e. not accessible from Javascript. Default value: @False@ + , setCookieSecure :: Bool -- ^ Instructs the browser to only send the cookie over HTTPS. Default value: @False@ } deriving (Eq, Show) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cookie-0.4.1.5/cookie.cabal new/cookie-0.4.1.6/cookie.cabal --- old/cookie-0.4.1.5/cookie.cabal 2015-04-28 13:32:24.000000000 +0200 +++ new/cookie-0.4.1.6/cookie.cabal 2015-06-23 10:20:33.000000000 +0200 @@ -1,5 +1,5 @@ name: cookie -version: 0.4.1.5 +version: 0.4.1.6 license: BSD3 license-file: LICENSE author: Michael Snoyman <mich...@snoyman.com> @@ -16,7 +16,7 @@ , bytestring >= 0.9.1.4 , blaze-builder >= 0.2.1 , old-locale >= 1 - , time >= 1.1.4 + , time >= 1.4 , text >= 0.7 , data-default-class , deepseq