git.iko.soy/typeable/bloodhound
on master help sign in
http-types-0.11, removed spurious oPath
commitdfae4ab3dad791f4a1dd223d81152df8c74bd980 authorChris Allen <cma@bitemyapp.com> dateThu 25 Jan 2018, 12:41 (9 years ago) parent35f1de1
3 files changed+5−6
bloodhound.cabal+2−2 src/Database/V5/Bloodhound/Client.hs−4 stack-8.2.yaml+3
bloodhound.cabal+2−2
@@ -1,5 +1,5 @@
11name: bloodhound
2−version: 0.15.0.0
2+version: 0.15.0.1
33synopsis: ElasticSearch client library for Haskell
44description: ElasticSearch made awesome for Haskell hackers
55homepage: https://github.com/bitemyapp/bloodhound
@@ -55,7 +55,7 @@ library
5555 text >= 0.11 && <1.3,
5656 mtl >= 1.0 && <2.3,
5757 transformers >= 0.2 && <0.6,
58− http-types >= 0.8 && <0.11,
58+ http-types >= 0.8 && <0.12,
5959 vector >= 0.10.9 && <0.13,
6060 scientific >= 0.3.0.0 && <0.4.0.0,
6161 exceptions,
src/Database/V5/Bloodhound/Client.hs−4
@@ -532,10 +532,6 @@ createIndexWith updates shards (IndexName indexName) =
532532 )
533533 ]
534534
535−oPath :: ToJSON a => NonEmpty Text -> a -> Value
536−oPath (k :| []) v = object [k .= v]
537−oPath (k:| (h:t)) v = object [k .= oPath (h :| t) v]
538−
539535-- | 'deleteIndex' will delete an index given a 'Server', and an 'IndexName'.
540536--
541537-- >>> _ <- runBH' $ createIndex defaultIndexSettings (IndexName "didimakeanindex")
stack-8.2.yaml+3
@@ -6,4 +6,7 @@ packages:
66 - '.'
77 - './examples'
88
9+extra-deps:
10+ - http-types-0.11
11+
912resolver: lts-10.0