aur 4.0.1 → 4.0.2
raw patch · 2 files changed
+7/−22 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Linux.Arch.Aur.Types: [submissionDatOf] :: AurInfo -> Int
+ Linux.Arch.Aur.Types: [submissionDateOf] :: AurInfo -> Int
Files
- Linux/Arch/Aur/Types.hs +6/−6
- aur.cabal +1/−16
Linux/Arch/Aur/Types.hs view
@@ -9,6 +9,7 @@ module Linux.Arch.Aur.Types ( AurInfo(..) ) where +import Control.Applicative ((<|>)) import Control.Monad (mzero) import Data.Aeson import Data.Text@@ -27,7 +28,7 @@ , popularityOf :: Float , dateObsoleteOf :: Maybe Int , aurMaintainerOf :: Maybe Text- , submissionDatOf :: Int+ , submissionDateOf :: Int , modifiedDateOf :: Int , urlPathOf :: Text , dependsOf :: [Text]@@ -48,8 +49,8 @@ v .: "URL" <*> v .: "NumVotes" <*> v .: "Popularity" <*>- v .:? "OutOfDate" <*>- v .:? "Maintainer" <*>+ (v .: "OutOfDate" <|> pure Nothing) <*>+ (v .: "Maintainer" <|> pure Nothing) <*> v .: "FirstSubmitted" <*> v .: "LastModified" <*> v .: "URLPath" <*>@@ -58,6 +59,5 @@ v .:? "OptDepends" .!= [] <*> v .:? "Conflicts" .!= [] <*> v .:? "Provides" .!= []- where f :: Int -> Bool- f = (/= 0)- parseJSON _ = mzero++ parseJSON _ = mzero
aur.cabal view
@@ -1,10 +1,6 @@--- Initial aur.cabal generated by cabal init. For further documentation, --- see http://haskell.org/cabal/users-guide/---- The name of the package. name: aur -version: 4.0.1+version: 4.0.2 synopsis: Access metadata from the Arch Linux User Repository. @@ -22,7 +18,6 @@ build-type: Simple --- Constraint on the version of Cabal needed to build this package. cabal-version: >=1.10 description: Access package information from Arch Linux's AUR via its@@ -46,19 +41,12 @@ type: git location: git://github.com/aurapm/haskell-aur.git --- Extra files to be distributed with the package, such as examples or a--- README.--- extra-source-files:- library exposed-modules: Linux.Arch.Aur, Linux.Arch.Aur.Pkgbuild, Linux.Arch.Aur.Rpc, Linux.Arch.Aur.Types - -- Modules included in this library but not exported.- -- other-modules: - other-extensions: OverloadedStrings, ScopedTypeVariables build-depends: base >=4.8 && <4.9,@@ -71,8 +59,5 @@ text >=1.1 && <1.3, vector >=0.10, wreq >=0.4- - -- Directories containing source files.- -- hs-source-dirs: default-language: Haskell2010