packages feed

stompl 0.1.1 → 0.2.0

raw patch · 2 files changed

+25/−5 lines, 2 filesdep +textdep ~mime

Dependencies added: text

Dependency ranges changed: mime

Files

Network/Mom/Stompl/Frame.hs view
@@ -79,8 +79,9 @@   import           Data.List (find, sortBy, foldl', nub)   import           Data.List.Split (splitWhen)   import           Data.Maybe (catMaybes, fromMaybe)-  import           Codec.MIME.Type as Mime (showType, Type, nullType)-  import           Codec.MIME.Parse        (parseMIMEType)+  import qualified Codec.MIME.Type as Mime (showType, Type, nullType)+  import qualified Codec.MIME.Parse as MP  (parseMIMEType)+  import qualified Data.Text as T    ------------------------------------------------------------------------   -- | Tuple of (key, value)@@ -140,6 +141,15 @@    noBeat :: Heart   noBeat = (0,0)++  -------------------------------------------------------------------------+  -- Convert MIME Type+  -------------------------------------------------------------------------+  showType :: Mime.Type -> String+  showType = T.unpack . Mime.showType++  parseMIMEType :: String -> Maybe Mime.Type+  parseMIMEType = MP.parseMIMEType . T.pack    defMime :: Mime.Type   defMime =  Mime.nullType
stompl.cabal view
@@ -1,8 +1,8 @@ Name:            stompl Category:        Message-Oriented Middleware, Network, Stomp, Parser-Version:         0.1.1+Version:         0.2.0 Cabal-Version:   >= 1.8-Copyright:       Copyright (c) Tobias Schoofs, 2011 - 2013+Copyright:       Copyright (c) Tobias Schoofs, 2011 - 2014 License:         LGPL license-file:    license/lgpl-3.0.txt Author:          Tobias Schoofs@@ -39,6 +39,15 @@    . +  [0.2.0] The mime package (Codec.MIME) switch from String+          to Text in 0.4. We follow. Thanks, Dave!++  .++  [0.1.1] Dependency for bytestring set to 0.10++  .+   [0.1.0] Major changes:            .@@ -118,7 +127,8 @@                    utf8-string >= 0.3.6,                    attoparsec  >= 0.10,                    split       >= 0.1.4.1,-                   mime        >= 0.3.3+                   mime        >= 0.4,+                   text        >= 1.0                    -- 3.0.3.2,                       Exposed-Modules: Network.Mom.Stompl.Frame, Network.Mom.Stompl.Parser