packages feed

yesod-auth-kerberos 1.2.0 → 1.4.1

raw patch · 3 files changed

+10/−28 lines, 3 filesdep +shakespearedep −hamletdep ~basedep ~textdep ~yesod-auth

Dependencies added: shakespeare

Dependencies removed: hamlet

Dependency ranges changed: base, text, yesod-auth, yesod-core, yesod-form

Files

Yesod/Auth/Kerberos.hs view
@@ -52,7 +52,7 @@ -- | A configurable version of 'authKerberos' genericAuthKerberos :: YesodAuth m => KerberosConfig -> AuthPlugin m genericAuthKerberos config = AuthPlugin "kerberos" dispatch $ \tm -> toWidget-    [QQ(hamlet)|$newline never+    [hamlet|$newline never     <div id="header">         <h1>Login @@ -96,7 +96,7 @@         <*> iopt textField "password"      let errorMessage (message :: Text) = do-        lift $ setMessage [QQ(shamlet)|$newline never+        lift $ setMessage [shamlet|$newline never             Error: #{message}           |]         redirect LoginR
− include/qq.h
@@ -1,10 +0,0 @@---- CPP macro which choses which quasyquotes syntax to use depending--- on GHC version.------ QQ stands for quasyquote.-#if GHC7-# define QQ(x) x-#else-# define QQ(x) $x-#endif
yesod-auth-kerberos.cabal view
@@ -1,5 +1,5 @@ name:            yesod-auth-kerberos-version:         1.2.0+version:         1.4.1 license:         BSD3 license-file:    LICENSE author:          Arash Rouhani@@ -10,29 +10,21 @@ cabal-version:   >= 1.6.0 build-type:      Simple homepage:        http://www.yesodweb.com/-extra-source-files: include/qq.h description:     Kerberos Authentication for Yesod. -flag ghc7- library-    if flag(ghc7)-        build-depends:   base                >= 4.3      && < 5-        cpp-options:     -DGHC7-    else-        build-depends:   base                >= 4        && < 4.3-    build-depends:   authenticate-kerberos   >= 1.0       && < 1.1-                   , yesod-core              >= 1.2.0     && < 2.0.0-                   , yesod-auth              >= 1.2.0     && < 2.0.0-                   , yesod-form              >= 1.3.0     && < 2.0.0-                   , hamlet                  >= 1.1.0     && < 2.0.0+    build-depends:   base                    >= 4.3       && < 5+                   , authenticate-kerberos   >= 1.0       && < 1.1+                   , yesod-core              >= 1.4       && < 2.0+                   , yesod-auth              >= 1.4       && < 2.0+                   , yesod-form              >= 1.4       && < 2.0                    , bytestring              >= 0.9.1.4   && < 0.11-                   , text                    >= 0.7       && < 0.12+                   , shakespeare             >= 2.0       && < 2.1+                   , text                    >= 0.7       && < 2.0                    , transformers            >= 0.2.2     && < 0.4      exposed-modules: Yesod.Auth.Kerberos     ghc-options:     -Wall-    include-dirs: include  source-repository head   type:     git