themoviedb 1.1.1.0 → 1.1.2.0
raw patch · 6 files changed
+41/−38 lines, 6 filesdep ~http-typesdep ~tasty
Dependency ranges changed: http-types, tasty
Files
- CHANGES +0/−30
- CHANGES.md +32/−0
- LICENSE +1/−1
- src/Network/API/TheMovieDB/Internal/Date.hs +1/−1
- src/Network/API/TheMovieDB/Internal/TheMovieDB.hs +2/−1
- themoviedb.cabal +5/−5
− CHANGES
@@ -1,30 +0,0 @@--*- org -*--#+title: Version History-#+startup: showall--* 1.1.1.0 (July 22, 2015)-- - Widen dependencies for aeson, either, and text-binary--* 1.1.0.0 (May 22, 2015)-- - Added Ord instance for TV, Season, and Episode- - Removed unused dependencies from build-depends- - Changes to build with GHC 7.8.4. and 7.10.1--* 1.0.0.0 (April 5, 2015)-- - Major rewrite of the interface- - Removed utility functions for loading API keys- - Added types and functions for TV series information- - Fixed bug: https://github.com/pjones/themoviedb/issues/1- - Fixed bug: https://github.com/pjones/themoviedb/issues/2--* 0.1.0.1 (December 17, 2012)-- - Small internal changes to compile with GHC 7.6.1.- - Also compiles with GHC 7.4.2 and HP 2012.4.0.0.--* 0.1.0.0 (December 14, 2012)-- - Initial release.
+ CHANGES.md view
@@ -0,0 +1,32 @@+# Version History++## 1.1.2.0 (June 9, 2016)++ - Widen dependencies for LTS-5.15++## 1.1.1.0 (July 22, 2015)++ - Widen dependencies for aeson, either, and text-binary++## 1.1.0.0 (May 22, 2015)++ - Added Ord instance for TV, Season, and Episode+ - Removed unused dependencies from build-depends+ - Changes to build with GHC 7.8.4. and 7.10.1++## 1.0.0.0 (April 5, 2015)++ - Major rewrite of the interface+ - Removed utility functions for loading API keys+ - Added types and functions for TV series information+ - Fixed bug: https://github.com/pjones/themoviedb/issues/1+ - Fixed bug: https://github.com/pjones/themoviedb/issues/2++## 0.1.0.1 (December 17, 2012)++ - Small internal changes to compile with GHC 7.6.1.+ - Also compiles with GHC 7.4.2 and HP 2012.4.0.0.++## 0.1.0.0 (December 14, 2012)++ - Initial release.
LICENSE view
@@ -1,6 +1,6 @@ # Copyright and Authors - Copyright (C) 2012-2015 Peter Jones <pjones@devalot.com>+ Copyright (C) 2012-2016 Peter Jones <pjones@devalot.com> # License (MIT)
src/Network/API/TheMovieDB/Internal/Date.hs view
@@ -53,7 +53,7 @@ -------------------------------------------------------------------------------- -- | Parse release dates in JSON. instance FromJSON Date where- parseJSON (Null) = return (Date Nothing)+ parseJSON Null = return (Date Nothing) parseJSON (String t) | T.null t = return (Date Nothing) | otherwise = case parseTime defaultTimeLocale "%Y-%m-%d" (T.unpack t) of
src/Network/API/TheMovieDB/Internal/TheMovieDB.hs view
@@ -1,3 +1,4 @@+{-# OPTIONS_GHC -Wwarn #-} -- Kludge to not error out on withManager deprecation. {-# LANGUAGE GeneralizedNewtypeDeriving #-} {-@@ -85,7 +86,7 @@ :: Key -- ^ The API key to include in all requests. -> TheMovieDB a -- ^ The API calls to make. -> IO (Either Error a) -- ^ Response or error.-runTheMovieDB k t =+runTheMovieDB k t = -- TODO: replace withManager with newManager. withManager tlsManagerSettings (\m -> runTheMovieDBWithManager m k t) --------------------------------------------------------------------------------
themoviedb.cabal view
@@ -1,6 +1,6 @@ -------------------------------------------------------------------------------- name: themoviedb-version: 1.1.1.0+version: 1.1.2.0 synopsis: Haskell API bindings for http://themoviedb.org homepage: http://github.com/pjones/themoviedb bug-reports: http://github.com/pjones/themoviedb/issues@@ -20,7 +20,7 @@ -------------------------------------------------------------------------------- extra-source-files:- CHANGES+ CHANGES.md README.md TODO.org test/*.json@@ -59,7 +59,6 @@ if flag(maintainer) ghc-options: -Werror- ghc-prof-options: -prof -auto-all build-depends: aeson >= 0.6 && < 0.10 , base >= 4.6 && < 5.0@@ -68,7 +67,7 @@ , either >= 4.3 && < 4.5 , http-client >= 0.4 && < 0.5 , http-client-tls >= 0.2.2 && < 0.3- , http-types >= 0.8 && < 0.9+ , http-types >= 0.8 && < 0.10 , mtl >= 2.1 && < 2.3 , text >= 0.11 && < 1.3 , text-binary >= 0.1 && < 0.3@@ -86,6 +85,7 @@ if flag(maintainer) ghc-options: -Werror+ ghc-prof-options: -auto-all build-depends: base , text@@ -109,7 +109,7 @@ build-depends: base , bytestring- , tasty >= 0.10 && < 0.11+ , tasty >= 0.10 && < 0.12 , tasty-hunit >= 0.9 && < 0.10 , text , themoviedb