servant-auth 0.3.0.0 → 0.3.0.1
raw patch · 4 files changed
+3/−139 lines, 4 filesdep −Globdep −QuickCheckdep −doctestdep ~basenew-uploader
Dependencies removed: Glob, QuickCheck, doctest, hspec, servant-auth, yaml
Dependency ranges changed: base
Files
- package.yaml +0/−70
- servant-auth.cabal +3/−42
- test/Doctest.hs +0/−26
- test/Spec.hs +0/−1
− package.yaml
@@ -1,70 +0,0 @@-name: servant-auth-version: 0.3.0.0-synopsis: Authentication combinators for servant-description: |- This package provides an @Auth@ combinator for 'servant'. This combinator- allows using different authentication schemes in a straightforward way,- and possibly in conjunction with one another.-- 'servant-auth' additionally provides concrete authentication schemes, such- as Basic Access Authentication, JSON Web Tokens, and Cookies.-- For more details on how to use this, see the <http://github.com/plow-technologies/servant-auth#readme README>.-homepage: http://github.com/plow-technologies/servant-auth#readme-license: BSD3-license-file: LICENSE-author: Julian K. Arni-maintainer: jkarni@gmail.com-category: Web, Servant, Authentication-copyright: (c) Julian K. Arni-github: plow-technologies/servant-auth-tested-with: GHC == 7.10.2, GHC == 8.0.1--extra-source-files:- - package.yaml--ghc-options: -Wall--dependencies:- - base >= 4.8 && < 4.10--default-extensions:- - AutoDeriveTypeable- - ConstraintKinds- - DataKinds- - DefaultSignatures- - DeriveFoldable- - DeriveFunctor- - DeriveGeneric- - DeriveTraversable- - FlexibleContexts- - FlexibleInstances- - FunctionalDependencies- - GADTs- - KindSignatures- - MultiParamTypeClasses- - OverloadedStrings- - RankNTypes- - ScopedTypeVariables- - TypeFamilies- - TypeOperators--library:- source-dirs: src- other-modules: []--tests:- spec:- main: Spec.hs- source-dirs: test- dependencies:- - servant-auth- - hspec > 2 && < 3- - QuickCheck >= 2.8 && < 2.10- doctest:- main: Doctest.hs- source-dirs: test- dependencies:- - doctest >= 0.9 && < 0.12- - Glob >= 0.7 && < 0.8- - yaml == 0.8.*
servant-auth.cabal view
@@ -1,9 +1,5 @@--- This file has been generated from package.yaml by hpack version 0.17.0.------ see: https://github.com/sol/hpack- name: servant-auth-version: 0.3.0.0+version: 0.3.0.1 synopsis: Authentication combinators for servant description: This package provides an @Auth@ combinator for 'servant'. This combinator allows using different authentication schemes in a straightforward way,@@ -21,13 +17,10 @@ copyright: (c) Julian K. Arni license: BSD3 license-file: LICENSE-tested-with: GHC == 7.10.2, GHC == 8.0.1+tested-with: GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.1 build-type: Simple cabal-version: >= 1.10 -extra-source-files:- package.yaml- source-repository head type: git location: https://github.com/plow-technologies/servant-auth@@ -38,39 +31,7 @@ default-extensions: AutoDeriveTypeable ConstraintKinds DataKinds DefaultSignatures DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GADTs KindSignatures MultiParamTypeClasses OverloadedStrings RankNTypes ScopedTypeVariables TypeFamilies TypeOperators ghc-options: -Wall build-depends:- base >= 4.8 && < 4.10+ base >= 4.8 && < 4.11 exposed-modules: Servant.Auth- default-language: Haskell2010--test-suite doctest- type: exitcode-stdio-1.0- main-is: Doctest.hs- hs-source-dirs:- test- default-extensions: AutoDeriveTypeable ConstraintKinds DataKinds DefaultSignatures DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GADTs KindSignatures MultiParamTypeClasses OverloadedStrings RankNTypes ScopedTypeVariables TypeFamilies TypeOperators- ghc-options: -Wall- build-depends:- base >= 4.8 && < 4.10- , doctest >= 0.9 && < 0.12- , Glob >= 0.7 && < 0.8- , yaml == 0.8.*- other-modules:- Spec- default-language: Haskell2010--test-suite spec- type: exitcode-stdio-1.0- main-is: Spec.hs- hs-source-dirs:- test- default-extensions: AutoDeriveTypeable ConstraintKinds DataKinds DefaultSignatures DeriveFoldable DeriveFunctor DeriveGeneric DeriveTraversable FlexibleContexts FlexibleInstances FunctionalDependencies GADTs KindSignatures MultiParamTypeClasses OverloadedStrings RankNTypes ScopedTypeVariables TypeFamilies TypeOperators- ghc-options: -Wall- build-depends:- base >= 4.8 && < 4.10- , servant-auth- , hspec > 2 && < 3- , QuickCheck >= 2.8 && < 2.10- other-modules:- Doctest default-language: Haskell2010
− test/Doctest.hs
@@ -1,26 +0,0 @@-module Main (main) where---- Runs doctest on all files in "src" dir. Assumes:--- (a) You are using hpack--- (b) The top-level "default-extensions" are the only extensions besides the--- ones in the files.--import System.FilePath.Glob (glob)-import Test.DocTest (doctest)-import Data.Yaml--newtype Exts = Exts { getExts :: [String] }- deriving (Eq, Show, Read)--instance FromJSON Exts where- parseJSON (Object v) = Exts <$> v .: "default-extensions"- parseJSON _ = fail "expecting object"--main :: IO ()-main = do- hpack' <- decodeFile "package.yaml"- hpack <- case hpack' of- Nothing -> return $ Exts []- Just v -> return v- files <- glob "src/**/*.hs"- doctest $ files ++ fmap ("-X" ++) (getExts hpack)
− test/Spec.hs
@@ -1,1 +0,0 @@-{-# OPTIONS_GHC -F -pgmF hspec-discover #-}