packages feed

HueAPI 0.1.1 → 0.1.2

raw patch · 2 files changed

+5/−5 lines, 2 filesdep ~aesondep ~basedep ~http-conduit

Dependency ranges changed: aeson, base, http-conduit

Files

HueAPI.cabal view
@@ -1,5 +1,5 @@ name:                HueAPI-version:             0.1.1+version:             0.1.2 synopsis:            API for controlling Philips Hue lights description: homepage:            https://github.com/sjoerdvisscher/HueAPI@@ -13,10 +13,10 @@  library   exposed-modules:     HueAPI-  build-depends:       base ==4.6.*,-                       aeson ==0.6.*,+  build-depends:       base >=4.6 && <4.8,+                       aeson >=0.6 && <0.8,                        utf8-string ==0.3.*,-                       http-conduit ==1.9.*,+                       http-conduit >=2.0 && <2.2,                        network ==2.4.*,                        containers ==0.5.*,                        transformers ==0.3.*,
HueAPI.hs view
@@ -126,7 +126,7 @@   d <- get   put $ d { lights = adjust (\light -> light { state = l }) name (lights d) }   -map2json :: ToJSON a => [(String, a)] -> RequestBody m+map2json :: ToJSON a => [(String, a)] -> RequestBody map2json = RequestBodyLBS . encode . fromList    updateLightProps :: ToJSON a => Name -> [(String, a)] -> Hue ()