servant-ruby 0.1.2.0 → 0.2.0.0
raw patch · 3 files changed
+8/−5 lines, 3 filesdep −Cabal
Dependencies removed: Cabal
Files
- README.md +2/−0
- servant-ruby.cabal +5/−3
- src/Servant/Ruby.hs +1/−2
README.md view
@@ -1,3 +1,5 @@ # servant-ruby +[](https://travis-ci.org/joneshf/servant-ruby)+ Create a Ruby client from a Servant API using `Net::HTTP`.
servant-ruby.cabal view
@@ -1,5 +1,5 @@ name: servant-ruby-version: 0.1.2.0+version: 0.2.0.0 synopsis: Generate a Ruby client from a Servant API with Net::HTTP. description: Generate a Ruby client from a Servant API with Net::HTTP. homepage: https://github.com/joneshf/servant-ruby#readme@@ -12,11 +12,12 @@ build-type: Simple extra-source-files: README.md cabal-version: >=1.10+tested-with: GHC == 7.10.1, GHC == 7.10.2, GHC == 7.10.3, GHC == 8.0.1, GHC == 8.0.2 library hs-source-dirs: src exposed-modules: Servant.Ruby- build-depends: base >= 4.7 && < 5+ build-depends: base >= 4.8 && < 5 , casing >= 0.1 && < 0.2 , lens >= 4.15 && < 4.16 , servant-foreign >= 0.9 && < 0.11@@ -25,12 +26,13 @@ ghc-options: -Wall test-suite doc-test+ default-language: Haskell2010 type: exitcode-stdio-1.0 main-is: Main.hs hs-source-dirs: test build-depends: base- , Cabal >= 1.24 && < 1.25 , doctest >= 0.11 && < 0.12+ default-language: Haskell2010 source-repository head type: git
src/Servant/Ruby.hs view
@@ -15,9 +15,8 @@ module Servant.Ruby (NameSpace(..), ruby) where -import Control.Lens (filtered, folded, to, view, (^.), (^..))+import Control.Lens (filtered, folded, to, view, (^.), (^..), (&)) -import Data.Function ((&)) import Data.Monoid ((<>)) import Data.Proxy (Proxy(Proxy)) import Data.Text (Text)