servant-auth-swagger 0.2.7.0 → 0.2.8.0
raw patch · 3 files changed
+14/−137 lines, 3 filesdep −Globdep −doctestdep −yamldep ~QuickCheckdep ~basedep ~servant-authnew-uploaderPVP ok
version bump matches the API change (PVP)
Dependencies removed: Glob, doctest, yaml
Dependency ranges changed: QuickCheck, base, servant-auth, swagger2
API changes (from Hackage documentation)
Files
- package.yaml +0/−70
- servant-auth-swagger.cabal +14/−41
- test/Doctest.hs +0/−26
− package.yaml
@@ -1,70 +0,0 @@-name: servant-auth-swagger-version: 0.2.7.0-synopsis: servant-swagger/servant-auth compatibility-description: Please see README.md-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--ghc-options: -Wall--extra-source-files:- - package.yaml--dependencies:- - base >= 4.7 && < 4.10- - text- - servant-swagger- - swagger2 >= 2 && < 3- - servant- - servant-auth == 0.2.*- - lens---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-swagger- - yaml- - 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-swagger.cabal view
@@ -1,9 +1,5 @@--- This file has been generated from package.yaml by hpack version 0.15.0.------ see: https://github.com/sol/hpack- name: servant-auth-swagger-version: 0.2.7.0+version: 0.2.8.0 synopsis: servant-swagger/servant-auth compatibility description: Please see README.md category: Web, Servant, Authentication@@ -14,13 +10,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@@ -31,40 +24,17 @@ 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.7 && < 4.10+ base >= 4.8 && < 4.11 , text , servant-swagger , swagger2 >= 2 && < 3 , servant- , servant-auth == 0.2.*+ , servant-auth == 0.3.* , lens exposed-modules: Servant.Auth.Swagger 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.7 && < 4.10- , text- , servant-swagger- , swagger2 >= 2 && < 3- , servant- , servant-auth == 0.2.*- , lens- , doctest >= 0.9 && < 0.12- , Glob >= 0.7 && < 0.8- , yaml == 0.8.*- other-modules:- Servant.Auth.SwaggerSpec- Spec- default-language: Haskell2010- test-suite spec type: exitcode-stdio-1.0 main-is: Spec.hs@@ -72,19 +42,22 @@ 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-tool-depends: hspec-discover:hspec-discover+ -- dependencies with bounds inherited from the library stanza build-depends:- base >= 4.7 && < 4.10+ base , text , servant-swagger- , swagger2 >= 2 && < 3+ , swagger2 , servant- , servant-auth == 0.2.*+ , servant-auth , lens- , servant-auth-swagger- , yaml++ -- test dependencies+ build-depends:+ servant-auth-swagger , hspec > 2 && < 3- , QuickCheck >= 2.8 && < 2.10+ , QuickCheck >= 2.8 && < 2.11 other-modules:- Doctest Servant.Auth.SwaggerSpec 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)