packages feed

flac-picture 0.1.1 → 0.1.2

raw patch · 6 files changed

+27/−14 lines, 6 filesdep −data-default-classdep ~basedep ~bytestringdep ~flac

Dependencies removed: data-default-class

Dependency ranges changed: base, bytestring, flac

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+## FLAC Picture 0.1.2++* Test suite is compatible with `flac-0.2.0` and later.+ ## FLAC Picture 0.1.1  * Improved documentation and metadata.
Codec/Audio/FLAC/Metadata/Picture.hs view
@@ -1,6 +1,6 @@ -- | -- Module      :  Codec.Audio.FLAC.Metadata.Picture--- Copyright   :  © 2017 Mark Karpov+-- Copyright   :  © 2017–2019 Mark Karpov -- License     :  BSD 3 clause -- -- Maintainer  :  Mark Karpov <markkarpov92@gmail.com>
LICENSE.md view
@@ -1,4 +1,4 @@-Copyright © 2017 Mark Karpov+Copyright © 2017–2018 Mark Karpov  All rights reserved. 
README.md view
@@ -5,13 +5,12 @@ [![Stackage Nightly](http://stackage.org/package/flac-picture/badge/nightly)](http://stackage.org/nightly/package/flac-picture) [![Stackage LTS](http://stackage.org/package/flac-picture/badge/lts)](http://stackage.org/lts/package/flac-picture) [![Build Status](https://travis-ci.org/mrkkrp/flac-picture.svg?branch=master)](https://travis-ci.org/mrkkrp/flac-picture)-[![Coverage Status](https://coveralls.io/repos/mrkkrp/flac-picture/badge.svg?branch=master&service=github)](https://coveralls.io/github/mrkkrp/flac-picture?branch=master)  I bet you always wanted to write a picture into FLAC metadata blocks. I'll tell you what, with **Haskell** you can do it.  ## License -Copyright © 2017 Mark Karpov+Copyright © 2017–2019 Mark Karpov  Distributed under BSD 3 clause license.
flac-picture.cabal view
@@ -1,7 +1,7 @@ name:                 flac-picture-version:              0.1.1-cabal-version:        >= 1.10-tested-with:          GHC==7.10.3, GHC==8.0.2, GHC==8.2.1+version:              0.1.2+cabal-version:        1.18+tested-with:          GHC==7.10.3, GHC==8.0.2, GHC==8.2.2, GHC==8.4.4, GHC==8.6.3 license:              BSD3 license-file:         LICENSE.md author:               Mark Karpov <markkarpov92@gmail.com>@@ -29,14 +29,20 @@  library   build-depends:      JuicyPixels      >= 3.2.6.5 && < 4.0-                    , base             >= 4.7 && < 5.0+                    , base             >= 4.8 && < 5.0                     , bytestring       >= 0.2 && < 0.11-                    , flac             >= 0.1 && < 0.2+                    , flac             >= 0.1 && < 0.3   exposed-modules:    Codec.Audio.FLAC.Metadata.Picture   if flag(dev)     ghc-options:      -Wall -Werror   else     ghc-options:      -O2 -Wall+  if flag(dev) && impl(ghc >= 8.0)+    ghc-options:      -Wcompat+                      -Wincomplete-record-updates+                      -Wincomplete-uni-patterns+                      -Wnoncanonical-monad-instances+                      -Wnoncanonical-monadfail-instances   default-language:   Haskell2010  test-suite tests@@ -45,14 +51,14 @@   hs-source-dirs:     tests   type:               exitcode-stdio-1.0   build-depends:      JuicyPixels      >= 3.2.6.5 && < 4.0-                    , base             >= 4.7 && < 5.0+                    , base             >= 4.8 && < 5.0                     , bytestring       >= 0.2 && < 0.11-                    , data-default-class                     , directory        >= 1.2.2 && < 1.4-                    , flac             >= 0.1 && < 0.2+                    , flac             >= 0.1 && < 0.3                     , flac-picture                     , hspec            >= 2.0 && < 3.0-                    , temporary        >= 1.1 && < 1.3+                    , temporary        >= 1.1 && < 1.4+  build-tools:        hspec-discover   >= 2.0 && < 3.0   if flag(dev)     ghc-options:      -Wall -Werror   else
tests/Codec/Audio/FLAC/Metadata/PictureSpec.hs view
@@ -10,7 +10,6 @@ import Codec.Audio.FLAC.Metadata.Picture import Codec.Picture import Control.Monad-import Data.Default.Class import Data.Function (on) import System.Directory import System.IO@@ -71,3 +70,8 @@   (shouldBe `on` imageWidth)  img0 img1   (shouldBe `on` imageHeight) img0 img1   (shouldBe `on` imageData)   img0 img1++-- | A shortcut for 'defaultMetaSettings'.++def :: MetaSettings+def = defaultMetaSettings