packages feed

conduit-aeson 0.1.0.0 → 0.1.0.1

raw patch · 6 files changed

+11/−6 lines, 6 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Data.Conduit.Aeson: valueMaybeParser :: (Char -> Parser a) -> Parser (Maybe Value)

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog for `conduit-aeson` +## 0.1.1.0++* Expose `valueMaybeParser`+ ## 0.1.0.0  * Initial release
conduit-aeson.cabal view
@@ -1,5 +1,5 @@ name:                conduit-aeson-version:             0.1.0.0+version:             0.1.0.1 synopsis:            Short description description:         Please see the README on GitHub at <https://github.com/lehins/conduit-aeson#readme> homepage:            https://github.com/lehins/conduit-aeson@@ -65,7 +65,6 @@   hs-source-dirs:     tests   main-is:            Main.hs   other-modules:      Data.Conduit.AesonSpec-                    , Spec   build-depends:      base                     , aeson                     , conduit@@ -75,7 +74,6 @@                     , QuickCheck                     , scientific                     , text-  build-tool-depends: hspec-discover:hspec-discover    default-language:   Haskell2010   ghc-options:        -Wall
src/Data/Conduit/Aeson.hs view
@@ -27,6 +27,7 @@   , delimiterParser   , valuePrefixParser   , valueParser+  , valueMaybeParser   , objectEntryPrefixParser   , objectEntryParser   , objectEntryMaybeParser@@ -293,7 +294,7 @@ -- character @']'@, which is also supplied to the delimiter parser. Nothing is -- returned when terminating character is reached. ----- @since 0.1.0+-- @since 0.1.1 valueMaybeParser ::      (Char -> Atto.Parser a)   -- ^ Delimiter parser (accepts terminating character as argument)
tests/Data/Conduit/AesonSpec.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE ScopedTypeVariables #-} @@ -17,8 +18,10 @@ instance Arbitrary T.Text where   arbitrary = T.pack <$> arbitrary +#if !MIN_VERSION_aeson(2,0,3) instance Arbitrary Value where   arbitrary = sized sizedArbitraryValue+#endif  sizedArbitraryValue :: Int -> Gen Value sizedArbitraryValue n
tests/Main.hs view
@@ -1,6 +1,6 @@ module Main where -import Spec+import Data.Conduit.AesonSpec (spec) import System.IO (BufferMode (LineBuffering), hSetBuffering, hSetEncoding, stdout, utf8) import Test.Hspec 
− tests/Spec.hs
@@ -1,1 +0,0 @@-{-# OPTIONS_GHC -F -pgmF hspec-discover -optF --no-main #-}