packages feed

lackey 0.1.0 → 0.1.1

raw patch · 6 files changed

+104/−62 lines, 6 filesdep ~tastysetup-changedPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: tasty

API changes (from Hackage documentation)

- Lackey.Internal.Endpoint: endpointHasBody :: Endpoint -> Bool
- Lackey.Internal.Endpoint: endpointHeaders :: Endpoint -> [Header]
- Lackey.Internal.Endpoint: endpointMethod :: Endpoint -> Method
- Lackey.Internal.Endpoint: endpointPathSegments :: Endpoint -> [PathSegment]
- Lackey.Internal.Endpoint: endpointQueryItems :: Endpoint -> [QueryItem]
- Lackey.Internal.Endpoint: instance Eq Endpoint
- Lackey.Internal.Endpoint: instance Ord Endpoint
- Lackey.Internal.Endpoint: instance Read Endpoint
- Lackey.Internal.Endpoint: instance Show Endpoint
- Lackey.Internal.HasCode: instance (HasCode a, HasCode b) => HasCode (a :<|> b)
- Lackey.Internal.HasCode: instance (KnownSymbol s, HasCode a) => HasCode (MatrixFlag s :> a)
- Lackey.Internal.HasCode: instance (KnownSymbol s, HasCode a) => HasCode (QueryFlag s :> a)
- Lackey.Internal.HasCode: instance (KnownSymbol s, HasCode a) => HasCode (s :> a)
- Lackey.Internal.HasCode: instance (KnownSymbol s, HasCode b) => HasCode (Capture s a :> b)
- Lackey.Internal.HasCode: instance (KnownSymbol s, HasCode b) => HasCode (Header s a :> b)
- Lackey.Internal.HasCode: instance (KnownSymbol s, HasCode b) => HasCode (MatrixParam s a :> b)
- Lackey.Internal.HasCode: instance (KnownSymbol s, HasCode b) => HasCode (MatrixParams s a :> b)
- Lackey.Internal.HasCode: instance (KnownSymbol s, HasCode b) => HasCode (QueryParam s a :> b)
- Lackey.Internal.HasCode: instance (KnownSymbol s, HasCode b) => HasCode (QueryParams s a :> b)
- Lackey.Internal.HasCode: instance HasCode (Delete a b)
- Lackey.Internal.HasCode: instance HasCode (Get a b)
- Lackey.Internal.HasCode: instance HasCode (Patch a b)
- Lackey.Internal.HasCode: instance HasCode (Post a b)
- Lackey.Internal.HasCode: instance HasCode (Put a b)
- Lackey.Internal.HasCode: instance HasCode Raw
- Lackey.Internal.HasCode: instance HasCode c => HasCode (ReqBody a b :> c)
- Lackey.Internal.HasRuby: instance (HasRuby a, HasRuby b) => HasRuby (a :<|> b)
- Lackey.Internal.HasRuby: instance HasRuby ()
- Lackey.Internal.HasRuby: instance HasRuby Endpoint
- Lackey.Internal.Header: instance Eq Header
- Lackey.Internal.Header: instance Ord Header
- Lackey.Internal.Header: instance Read Header
- Lackey.Internal.Header: instance Show Header
- Lackey.Internal.MatrixItem: instance Eq MatrixItem
- Lackey.Internal.MatrixItem: instance Ord MatrixItem
- Lackey.Internal.MatrixItem: instance Read MatrixItem
- Lackey.Internal.MatrixItem: instance Show MatrixItem
- Lackey.Internal.Method: instance Bounded Method
- Lackey.Internal.Method: instance Enum Method
- Lackey.Internal.Method: instance Eq Method
- Lackey.Internal.Method: instance Ord Method
- Lackey.Internal.Method: instance Read Method
- Lackey.Internal.Method: instance Show Method
- Lackey.Internal.PathSegment: instance Eq PathSegment
- Lackey.Internal.PathSegment: instance Ord PathSegment
- Lackey.Internal.PathSegment: instance Read PathSegment
- Lackey.Internal.PathSegment: instance Show PathSegment
- Lackey.Internal.QueryItem: instance Eq QueryItem
- Lackey.Internal.QueryItem: instance Ord QueryItem
- Lackey.Internal.QueryItem: instance Read QueryItem
- Lackey.Internal.QueryItem: instance Show QueryItem
+ Lackey.Internal.Endpoint: [endpointHasBody] :: Endpoint -> Bool
+ Lackey.Internal.Endpoint: [endpointHeaders] :: Endpoint -> [Header]
+ Lackey.Internal.Endpoint: [endpointMethod] :: Endpoint -> Method
+ Lackey.Internal.Endpoint: [endpointPathSegments] :: Endpoint -> [PathSegment]
+ Lackey.Internal.Endpoint: [endpointQueryItems] :: Endpoint -> [QueryItem]
+ Lackey.Internal.Endpoint: instance GHC.Classes.Eq Lackey.Internal.Endpoint.Endpoint
+ Lackey.Internal.Endpoint: instance GHC.Classes.Ord Lackey.Internal.Endpoint.Endpoint
+ Lackey.Internal.Endpoint: instance GHC.Read.Read Lackey.Internal.Endpoint.Endpoint
+ Lackey.Internal.Endpoint: instance GHC.Show.Show Lackey.Internal.Endpoint.Endpoint
+ Lackey.Internal.HasCode: instance (GHC.TypeLits.KnownSymbol s, Lackey.Internal.HasCode.HasCode a) => Lackey.Internal.HasCode.HasCode (Servant.API.MatrixParam.MatrixFlag s Servant.API.Sub.:> a)
+ Lackey.Internal.HasCode: instance (GHC.TypeLits.KnownSymbol s, Lackey.Internal.HasCode.HasCode a) => Lackey.Internal.HasCode.HasCode (Servant.API.QueryParam.QueryFlag s Servant.API.Sub.:> a)
+ Lackey.Internal.HasCode: instance (GHC.TypeLits.KnownSymbol s, Lackey.Internal.HasCode.HasCode a) => Lackey.Internal.HasCode.HasCode (s Servant.API.Sub.:> a)
+ Lackey.Internal.HasCode: instance (GHC.TypeLits.KnownSymbol s, Lackey.Internal.HasCode.HasCode b) => Lackey.Internal.HasCode.HasCode (Servant.API.Capture.Capture s a Servant.API.Sub.:> b)
+ Lackey.Internal.HasCode: instance (GHC.TypeLits.KnownSymbol s, Lackey.Internal.HasCode.HasCode b) => Lackey.Internal.HasCode.HasCode (Servant.API.Header.Header s a Servant.API.Sub.:> b)
+ Lackey.Internal.HasCode: instance (GHC.TypeLits.KnownSymbol s, Lackey.Internal.HasCode.HasCode b) => Lackey.Internal.HasCode.HasCode (Servant.API.MatrixParam.MatrixParam s a Servant.API.Sub.:> b)
+ Lackey.Internal.HasCode: instance (GHC.TypeLits.KnownSymbol s, Lackey.Internal.HasCode.HasCode b) => Lackey.Internal.HasCode.HasCode (Servant.API.MatrixParam.MatrixParams s a Servant.API.Sub.:> b)
+ Lackey.Internal.HasCode: instance (GHC.TypeLits.KnownSymbol s, Lackey.Internal.HasCode.HasCode b) => Lackey.Internal.HasCode.HasCode (Servant.API.QueryParam.QueryParam s a Servant.API.Sub.:> b)
+ Lackey.Internal.HasCode: instance (GHC.TypeLits.KnownSymbol s, Lackey.Internal.HasCode.HasCode b) => Lackey.Internal.HasCode.HasCode (Servant.API.QueryParam.QueryParams s a Servant.API.Sub.:> b)
+ Lackey.Internal.HasCode: instance (Lackey.Internal.HasCode.HasCode a, Lackey.Internal.HasCode.HasCode b) => Lackey.Internal.HasCode.HasCode (a Servant.API.Alternative.:<|> b)
+ Lackey.Internal.HasCode: instance Lackey.Internal.HasCode.HasCode (Servant.API.Delete.Delete a b)
+ Lackey.Internal.HasCode: instance Lackey.Internal.HasCode.HasCode (Servant.API.Get.Get a b)
+ Lackey.Internal.HasCode: instance Lackey.Internal.HasCode.HasCode (Servant.API.Patch.Patch a b)
+ Lackey.Internal.HasCode: instance Lackey.Internal.HasCode.HasCode (Servant.API.Post.Post a b)
+ Lackey.Internal.HasCode: instance Lackey.Internal.HasCode.HasCode (Servant.API.Put.Put a b)
+ Lackey.Internal.HasCode: instance Lackey.Internal.HasCode.HasCode Servant.API.Raw.Raw
+ Lackey.Internal.HasCode: instance Lackey.Internal.HasCode.HasCode c => Lackey.Internal.HasCode.HasCode (Servant.API.ReqBody.ReqBody a b Servant.API.Sub.:> c)
+ Lackey.Internal.HasRuby: instance (Lackey.Internal.HasRuby.HasRuby a, Lackey.Internal.HasRuby.HasRuby b) => Lackey.Internal.HasRuby.HasRuby (a Servant.API.Alternative.:<|> b)
+ Lackey.Internal.HasRuby: instance Lackey.Internal.HasRuby.HasRuby ()
+ Lackey.Internal.HasRuby: instance Lackey.Internal.HasRuby.HasRuby Lackey.Internal.Endpoint.Endpoint
+ Lackey.Internal.Header: instance GHC.Classes.Eq Lackey.Internal.Header.Header
+ Lackey.Internal.Header: instance GHC.Classes.Ord Lackey.Internal.Header.Header
+ Lackey.Internal.Header: instance GHC.Read.Read Lackey.Internal.Header.Header
+ Lackey.Internal.Header: instance GHC.Show.Show Lackey.Internal.Header.Header
+ Lackey.Internal.MatrixItem: instance GHC.Classes.Eq Lackey.Internal.MatrixItem.MatrixItem
+ Lackey.Internal.MatrixItem: instance GHC.Classes.Ord Lackey.Internal.MatrixItem.MatrixItem
+ Lackey.Internal.MatrixItem: instance GHC.Read.Read Lackey.Internal.MatrixItem.MatrixItem
+ Lackey.Internal.MatrixItem: instance GHC.Show.Show Lackey.Internal.MatrixItem.MatrixItem
+ Lackey.Internal.Method: instance GHC.Classes.Eq Lackey.Internal.Method.Method
+ Lackey.Internal.Method: instance GHC.Classes.Ord Lackey.Internal.Method.Method
+ Lackey.Internal.Method: instance GHC.Enum.Bounded Lackey.Internal.Method.Method
+ Lackey.Internal.Method: instance GHC.Enum.Enum Lackey.Internal.Method.Method
+ Lackey.Internal.Method: instance GHC.Read.Read Lackey.Internal.Method.Method
+ Lackey.Internal.Method: instance GHC.Show.Show Lackey.Internal.Method.Method
+ Lackey.Internal.PathSegment: instance GHC.Classes.Eq Lackey.Internal.PathSegment.PathSegment
+ Lackey.Internal.PathSegment: instance GHC.Classes.Ord Lackey.Internal.PathSegment.PathSegment
+ Lackey.Internal.PathSegment: instance GHC.Read.Read Lackey.Internal.PathSegment.PathSegment
+ Lackey.Internal.PathSegment: instance GHC.Show.Show Lackey.Internal.PathSegment.PathSegment
+ Lackey.Internal.QueryItem: instance GHC.Classes.Eq Lackey.Internal.QueryItem.QueryItem
+ Lackey.Internal.QueryItem: instance GHC.Classes.Ord Lackey.Internal.QueryItem.QueryItem
+ Lackey.Internal.QueryItem: instance GHC.Read.Read Lackey.Internal.QueryItem.QueryItem
+ Lackey.Internal.QueryItem: instance GHC.Show.Show Lackey.Internal.QueryItem.QueryItem

Files

CHANGELOG.md view
@@ -1,9 +1,7 @@ # Change log  Lackey uses [Semantic Versioning][].--## v0.1.0 (2015-08-25)---   Initially created.+The change log is available through the [releases on GitHub][]. -[semantic versioning]: http://semver.org/spec/v2.0.0.html+[Semantic Versioning]: http://semver.org/spec/v2.0.0.html+[releases on GitHub]: https://github.com/tfausak/lackey/releases
LICENSE.md view
@@ -1,21 +1,23 @@-The MIT License (MIT)+[The MIT License (MIT)][] -Copyright (c) 2015 Taylor Fausak+Copyright (c) 2016 Taylor Fausak -Permission is hereby granted, free of charge, to any person obtaining a copy-of this software and associated documentation files (the "Software"), to deal-in the Software without restriction, including without limitation the rights-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell-copies of the Software, and to permit persons to whom the Software is-furnished to do so, subject to the following conditions:+Permission is hereby granted, free of charge, to any person obtaining a copy of+this software and associated documentation files (the "Software"), to deal in+the Software without restriction, including without limitation the rights to+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies+of the Software, and to permit persons to whom the Software is furnished to do+so, subject to the following conditions: -The above copyright notice and this permission notice shall be included in-all copies or substantial portions of the Software.+The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN-THE SOFTWARE.+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.++[The MIT License (MIT)]: https://opensource.org/licenses/MIT
Setup.hs view
@@ -1,6 +1,4 @@-module Main (main) where--import Distribution.Simple (defaultMain)+import qualified Distribution.Simple  main :: IO ()-main = defaultMain+main = Distribution.Simple.defaultMain
lackey.cabal view
@@ -1,50 +1,60 @@-name: lackey-version: 0.1.0-cabal-version: >=1.10-build-type: Simple-license: MIT-license-file: LICENSE.md-maintainer: Taylor Fausak-synopsis: A library for generating Ruby consumers of Servant APIs.-description:-    <https://github.com/tfausak/lackey#readme>-category: Web+-- This file has been generated from package.yaml by hpack version 0.9.0.+--+-- see: https://github.com/sol/hpack++name:           lackey+version:        0.1.1+synopsis:       Generate Ruby consumers of Servant APIs.+description:    Lackey generates Ruby consumers of Servant APIs.+category:       Web+homepage:       https://github.com/tfausak/lackey#readme+bug-reports:    https://github.com/tfausak/lackey/issues+maintainer:     Taylor Fausak+license:        MIT+build-type:     Simple+cabal-version:  >= 1.10+ extra-source-files:     CHANGELOG.md+    LICENSE.md+    package.yaml     README.md+    stack.yaml  source-repository head-    type: git-    location: https://github.com/tfausak/lackey+  type: git+  location: https://github.com/tfausak/lackey  library-    exposed-modules:-        Lackey-        Lackey.Internal-        Lackey.Internal.Endpoint-        Lackey.Internal.HasCode-        Lackey.Internal.HasRuby-        Lackey.Internal.Header-        Lackey.Internal.MatrixItem-        Lackey.Internal.Method-        Lackey.Internal.PathSegment-        Lackey.Internal.QueryItem-    build-depends:-        base >=4.7 && <4.9,-        servant >=0.4 && <0.5-    default-language: Haskell2010-    hs-source-dirs: library-    ghc-options: -Wall+  hs-source-dirs:+      library+  ghc-options: -Wall+  build-depends:+      base >=4.7 && <4.9+    , servant >=0.4 && <0.5+  exposed-modules:+      Lackey+      Lackey.Internal+      Lackey.Internal.Endpoint+      Lackey.Internal.HasCode+      Lackey.Internal.HasRuby+      Lackey.Internal.Header+      Lackey.Internal.MatrixItem+      Lackey.Internal.Method+      Lackey.Internal.PathSegment+      Lackey.Internal.QueryItem+  default-language: Haskell2010  test-suite lackey-test-suite-    type: exitcode-stdio-1.0-    main-is: Main.hs-    build-depends:-        base -any,-        lackey -any,-        servant -any,-        tasty >=0.10 && <0.11,-        tasty-hspec >=1.1 && <1.2-    default-language: Haskell2010-    hs-source-dirs: test-suite-    ghc-options: -threaded -Wall+  type: exitcode-stdio-1.0+  main-is: Main.hs+  hs-source-dirs:+      test-suite+  ghc-options: -Wall+  build-depends:+      base+    , lackey+    , servant+    , tasty >=0.10 && <0.12+    , tasty-hspec >=1.1 && <1.2+  default-language: Haskell2010
+ package.yaml view
@@ -0,0 +1,31 @@+category: Web+description: Lackey generates Ruby consumers of Servant APIs.+extra-source-files:+- CHANGELOG.md+- LICENSE.md+- package.yaml+- README.md+- stack.yaml+ghc-options:+- -Wall+github: tfausak/lackey+library:+  dependencies:+  - base >=4.7 && <4.9+  - servant >=0.4 && <0.5+  source-dirs: library+license: MIT+maintainer: Taylor Fausak+name: lackey+synopsis: Generate Ruby consumers of Servant APIs.+tests:+  lackey-test-suite:+    dependencies:+    - base+    - lackey+    - servant+    - tasty >=0.10 && <0.12+    - tasty-hspec >=1.1 && <1.2+    source-dirs: test-suite+    main: Main.hs+version: '0.1.1'
+ stack.yaml view
@@ -0,0 +1,3 @@+install-ghc: true+require-stack-version: ! '>=1.0.4'+resolver: lts-5.8