packages feed

yesod 0.7.0 → 0.7.1

raw patch · 3 files changed

+25/−16 lines, 3 filesdep ~attoparsec-textdep ~hamletdep ~mime-mail

Dependency ranges changed: attoparsec-text, hamlet, mime-mail, wai-extra, warp, yesod-core, yesod-form, yesod-json, yesod-persistent

Files

Yesod.hs view
@@ -15,7 +15,9 @@       -- * Running your application     , warp     , warpDebug+#if !PRODUCTION     , develServer+#endif       -- * Commonly referenced functions/datatypes     , Application     , lift@@ -60,7 +62,7 @@ import Yesod.Persist import Network.Wai (Application) import Network.Wai.Middleware.Debug-#if !GHC7+#if !PRODUCTION import Network.Wai.Handler.DevelServer (runQuit) #endif import Control.Monad.Trans.Class (lift)@@ -97,15 +99,14 @@     hPutStrLn stderr $ "Application launched, listening on port " ++ show port     toWaiApp a >>= run port . debug +#if !PRODUCTION -- | Run a development server, where your code changes are automatically -- reloaded. develServer :: Int -- ^ port number             -> String -- ^ module name holding the code             -> String -- ^ name of function providing a with-application             -> IO ()-#if GHC7-develServer = error "Unfortunately, the hint package has not yet been ported to GHC 7, and therefore wai-handler-devel has not either. Once this situation is addressed, a new version of Yesod will be released."-#else+ develServer port modu func = do     mapM_ putStrLn         [ "Starting your server process. Code changes will be automatically"@@ -114,6 +115,7 @@         , ""         ]     runQuit port modu func determineHamletDeps+ #endif  data TempType = Hamlet | Cassius | Julius | Widget
scaffold/Root_hs.cg view
@@ -1,4 +1,4 @@-{-# LANGUAGE TemplateHaskell, OverloadedStrings #-}+{-# LANGUAGE TemplateHaskell, QuasiQuotes, OverloadedStrings #-} module Handler.Root where  import ~sitearg~
yesod.cabal view
@@ -1,5 +1,5 @@ name:            yesod-version:         0.7.0+version:         0.7.1 license:         BSD3 license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>@@ -18,28 +18,35 @@  flag ghc7 +flag production+    Description: Skip the wai-handler-devel and hint dependencies.+    Default:     False+ library+    if flag(production)+        cpp-options: -DPRODUCTION+    else+        build-depends: wai-handler-devel   >= 0.2      && < 0.3     if flag(ghc7)         build-depends:   base                  >= 4.3      && < 5         cpp-options:     -DGHC7     else         build-depends:   base                  >= 4        && < 4.3-                       , wai-handler-devel     >= 0.2      && < 0.3-    build-depends:   yesod-core                >= 0.7      && < 0.8+    build-depends:   yesod-core                >= 0.7.0.1  && < 0.8                    , yesod-auth                >= 0.3      && < 0.4-                   , yesod-json                >= 0.0      && < 0.1-                   , yesod-persistent          >= 0.0      && < 0.1+                   , yesod-json                >= 0.0.0.1  && < 0.1+                   , yesod-persistent          >= 0.0.0.1  && < 0.1                    , yesod-static              >= 0.0      && < 0.1-                   , yesod-form                >= 0.0      && < 0.1+                   , yesod-form                >= 0.0.0.1  && < 0.1                    , monad-peel                >= 0.1      && < 0.2                    , transformers              >= 0.2      && < 0.3                    , wai                       >= 0.3      && < 0.4-                   , wai-extra                 >= 0.3      && < 0.4-                   , hamlet                    >= 0.7      && < 0.8-                   , warp                      >= 0.3      && < 0.4-                   , mime-mail                 >= 0.1      && < 0.2+                   , wai-extra                 >= 0.3.2    && < 0.4+                   , hamlet                    >= 0.7.1    && < 0.8+                   , warp                      >= 0.3.2.1  && < 0.4+                   , mime-mail                 >= 0.1.0.1  && < 0.2                    , hjsmin                    >= 0.0.12   && < 0.1-                   , attoparsec-text           >= 0.8      && < 0.9+                   , attoparsec-text           >= 0.8.2.1  && < 0.9     exposed-modules: Yesod     ghc-options:     -Wall