packages feed

snap 0.5.2 → 0.5.3

raw patch · 2 files changed

+28/−20 lines, 2 filesdep −haskell98dep ~snap-coredep ~snap-serverdep ~template-haskellPVP ok

version bump matches the API change (PVP)

Dependencies removed: haskell98

Dependency ranges changed: snap-core, snap-server, template-haskell, time, unix

API changes (from Hackage documentation)

Files

snap.cabal view
@@ -1,5 +1,5 @@ name:           snap-version:        0.5.2+version:        0.5.3 synopsis:       Snap: A Haskell Web Framework: project starter executable and glue code library description:    Snap Framework project starter executable and glue code library license:        BSD3@@ -37,6 +37,9 @@   test/suite/Snap/TestCommon.hs,   test/suite/TestSuite.hs +Flag hint+  Description: Support dynamic project reloading via hint+  Default: True  Library   hs-source-dirs: src@@ -44,15 +47,18 @@   exposed-modules:     Snap.Extension.Heist,     Snap.Extension.Heist.Impl,-    Snap.Extension.Loader.Devel,     Snap.Extension.Server,     Snap.Extension -  other-modules:-    Snap.Extension.Loader.Devel.Evaluator,-    Snap.Extension.Loader.Devel.Signal,-    Snap.Extension.Loader.Devel.TreeWatcher+  if flag(hint)+    exposed-modules:+      Snap.Extension.Loader.Devel +    other-modules:+      Snap.Extension.Loader.Devel.Evaluator,+      Snap.Extension.Loader.Devel.Signal,+      Snap.Extension.Loader.Devel.TreeWatcher+   build-depends:     base                      >= 4 && < 5,     blaze-builder             >= 0.2.1.4 && <0.4,@@ -62,16 +68,18 @@     enumerator                >= 0.4.13.1 && <0.5,     filepath                  >= 1.1 && <1.3,     MonadCatchIO-transformers >= 0.2.1 && < 0.3,-    snap-core                 >= 0.5.2 && <0.6,+    snap-core                 >= 0.5.3 && <0.6,     heist                     >= 0.5 && < 0.6,-    hint                      >= 0.3.3.1 && < 0.4,-    template-haskell          >= 2.3 && < 2.6,-    time                      >= 1.0 && < 1.3+    template-haskell          >= 2.3 && < 2.7,+    time                      >= 1.0 && < 1.4 -  if !os(windows) {-      build-depends:    unix >= 2.2.0.0 && < 2.5-  }+  if flag(hint)+    build-depends:+      hint                    >= 0.3.3.1 && < 0.4 +  if !os(windows)+    build-depends:    unix >= 2.2.0.0 && < 2.6+   if impl(ghc >= 6.12.0)     ghc-options: -Wall -fwarn-tabs -funbox-strict-fields -O2                  -fno-warn-orphans -fno-warn-unused-do-bind@@ -97,15 +105,14 @@     dlist            >= 0.5 && < 0.6,     enumerator       >= 0.4.13.1 && <0.5,     filepath         >= 1.1 && <1.3,-    haskell98,     mtl              >= 2,     old-locale,     old-time,-    snap-core        >= 0.5.2 && <0.6,-    snap-server      >= 0.5.2 && <0.6,-    template-haskell >= 2.3 && < 2.6,+    snap-core        >= 0.5.3 && <0.6,+    snap-server      >= 0.5.3 && <0.6,+    template-haskell >= 2.3 && < 2.7,     text             >= 0.11 && <0.12,-    time,+    time             >= 1.0 && < 1.4,     unix-compat,     zlib 
src/Snap/Starter.hs view
@@ -2,13 +2,14 @@ module Main where  -------------------------------------------------------------------------------import           Char+import           Data.Char import           Data.List import qualified Data.ByteString.Char8 as S import qualified Data.Text as T import           Snap.Http.Server (snapServerVersion)-import           System import           System.Directory+import           System.Environment+import           System.Exit import           System.Console.GetOpt import           System.FilePath ------------------------------------------------------------------------------