Hello community, here is the log from the commit of package ghc-data-check for openSUSE:Factory checked in at 2017-06-22 10:37:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-data-check (Old) and /work/SRC/openSUSE:Factory/.ghc-data-check.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-data-check" Thu Jun 22 10:37:17 2017 rev:2 rq:504063 version:0.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-data-check/ghc-data-check.changes 2017-04-12 18:05:55.225307049 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-data-check.new/ghc-data-check.changes 2017-06-22 10:37:20.475437267 +0200 @@ -1,0 +2,5 @@ +Wed May 31 14:01:09 UTC 2017 - [email protected] + +- Update to version 0.1.1. + +------------------------------------------------------------------- Old: ---- data-check-0.1.0.tar.gz New: ---- data-check-0.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-data-check.spec ++++++ --- /var/tmp/diff_new_pack.lQwrEH/_old 2017-06-22 10:37:21.031358896 +0200 +++ /var/tmp/diff_new_pack.lQwrEH/_new 2017-06-22 10:37:21.031358896 +0200 @@ -19,7 +19,7 @@ %global pkg_name data-check %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.1.0 +Version: 0.1.1 Release: 0 Summary: Library for checking and normalization of data (e.g. from web forms) License: BSD-3-Clause ++++++ data-check-0.1.0.tar.gz -> data-check-0.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/data-check-0.1.0/CHANGELOG.md new/data-check-0.1.1/CHANGELOG.md --- old/data-check-0.1.0/CHANGELOG.md 2016-07-21 22:12:31.000000000 +0200 +++ new/data-check-0.1.1/CHANGELOG.md 2017-05-21 19:08:28.000000000 +0200 @@ -1,3 +1,7 @@ +## Data Check 0.1.1 + +* Minor documentation and metadata changes. + ## Data Check 0.1.0 * Initial release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/data-check-0.1.0/Data/Check.hs new/data-check-0.1.1/Data/Check.hs --- old/data-check-0.1.0/Data/Check.hs 2016-07-22 23:50:27.000000000 +0200 +++ new/data-check-0.1.1/Data/Check.hs 2017-05-21 18:42:15.000000000 +0200 @@ -1,14 +1,14 @@ -- | -- Module : Data.Check --- Copyright : © 2016 Mark Karpov +-- Copyright : © 2016–2017 Mark Karpov -- License : BSD 3 clause -- --- Maintainer : Mark Karpov <[email protected]> +-- Maintainer : Mark Karpov <[email protected]> -- Stability : experimental -- Portability : portable -- --- This module provides generalized approach to checking and verification of --- data, it's useful, for example, for validation of fields on web forms. +-- This module provides a generalized approach to checking and verification +-- of data. It's useful, for example, for validation of fields on web forms. -- -- Typically, there are a number of transformations and checks you may want -- to perform on a particular type of data, such as text. Thus, it makes @@ -20,8 +20,8 @@ -- However, if we have many normalizing operations, we need a way to specify -- in which order they should be performed, or result can be unpredictable. -- --- To specify order in which transformations are performed, 'normalizer' and --- 'normalizerM' functions take a “priority” argument, which is just a +-- To specify the order in which transformations are performed, 'normalizer' +-- and 'normalizerM' functions take a “priority” argument, which is just a -- 'Natural' number. The bigger the number, the later the function will be -- applied, so the transformation with priority 0 will always run first. -- @@ -75,7 +75,7 @@ instance Ord (Normalizer m a) where (Normalizer x _) `compare` (Normalizer y _) = x `compare` y --- | Create a normalizing 'Checker'. Every normalizer has a priority — the +-- | Create a normalizing 'Checker'. Every normalizer has a priority—the -- bigger the number, the later the normalizer runs. Every normalizer you -- use should have a unique priority number. @@ -109,7 +109,7 @@ instance Ord (Validator m e a) where (Validator x _) `compare` (Validator y _) = x `compare` y --- | Create a validating 'Checker'. Every validator has a priority — the +-- | Create a validating 'Checker'. Every validator has a priority—the -- bigger the number, the later the validation step runs. Every validator -- you use should have a unique priority number. @@ -134,8 +134,8 @@ -- | @'Checker' m e a@ is a checker that checks value of type @a@, can -- perform the check in @m@ monad, returning @e@ message when check fails. -- --- 'Checker' is a 'Semigroup' and 'Monoid' — this is how you combine --- different checkers and build more complex ones. +-- 'Checker' is a 'Semigroup' and 'Monoid'—this is how you combine different +-- checkers and build more complex ones. data Checker m e a where Checker :: Monad m diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/data-check-0.1.0/LICENSE.md new/data-check-0.1.1/LICENSE.md --- old/data-check-0.1.0/LICENSE.md 2016-01-03 14:37:56.000000000 +0100 +++ new/data-check-0.1.1/LICENSE.md 2017-01-27 21:18:44.000000000 +0100 @@ -1,4 +1,4 @@ -Copyright © 2016 Mark Karpov +Copyright © 2016–2017 Mark Karpov All rights reserved. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/data-check-0.1.0/README.md new/data-check-0.1.1/README.md --- old/data-check-0.1.0/README.md 2016-07-23 13:09:51.000000000 +0200 +++ new/data-check-0.1.1/README.md 2017-05-21 18:40:40.000000000 +0200 @@ -8,7 +8,7 @@ [](https://coveralls.io/github/mrkkrp/data-check?branch=master) This is a library that implements generalized approach to checking and -verification of data, it's useful, for example, for validation of fields on +verification of data. It's useful, for example, for validation of fields on web forms. Typically, there are a number of transformations and checks you may want to @@ -40,6 +40,6 @@ ## License -Copyright © 2016 Mark Karpov +Copyright © 2016–2017 Mark Karpov Distributed under BSD 3 clause license. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/data-check-0.1.0/data-check.cabal new/data-check-0.1.1/data-check.cabal --- old/data-check-0.1.0/data-check.cabal 2016-07-23 10:28:25.000000000 +0200 +++ new/data-check-0.1.1/data-check.cabal 2017-05-21 19:09:01.000000000 +0200 @@ -1,49 +1,18 @@ --- --- Cabal configuration for ‘data-check’ package. --- --- Copyright © 2016 Mark Karpov <[email protected]> --- --- Redistribution and use in source and binary forms, with or without --- modification, are permitted provided that the following conditions are --- met: --- --- * Redistributions of source code must retain the above copyright notice, --- this list of conditions and the following disclaimer. --- --- * Redistributions in binary form must reproduce the above copyright --- notice, this list of conditions and the following disclaimer in the --- documentation and/or other materials provided with the distribution. --- --- * Neither the name Mark Karpov nor the names of contributors may be used --- to endorse or promote products derived from this software without --- specific prior written permission. --- --- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS “AS IS” AND ANY --- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED --- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE --- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY --- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL --- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS --- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) --- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, --- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN --- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE --- POSSIBILITY OF SUCH DAMAGE. - name: data-check -version: 0.1.0 +version: 0.1.1 cabal-version: >= 1.10 +tested-with: GHC==7.10.3, GHC==8.0.2, GHC==8.2.1 license: BSD3 license-file: LICENSE.md -author: Mark Karpov <[email protected]> -maintainer: Mark Karpov <[email protected]> +author: Mark Karpov <[email protected]> +maintainer: Mark Karpov <[email protected]> homepage: https://github.com/mrkkrp/data-check bug-reports: https://github.com/mrkkrp/data-check/issues category: Data, Web synopsis: Library for checking and normalization of data (e.g. from web forms) build-type: Simple description: Library for checking and normalization of data (e.g. from web forms). -extra-source-files: CHANGELOG.md +extra-doc-files: CHANGELOG.md , README.md source-repository head @@ -73,7 +42,7 @@ type: exitcode-stdio-1.0 build-depends: base >= 4.7 && < 5.0 , QuickCheck >= 2.4 && < 3.0 - , data-check >= 0.1.0 + , data-check , hspec >= 2.0 && < 3.0 if flag(dev) ghc-options: -Wall -Werror diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/data-check-0.1.0/tests/Main.hs new/data-check-0.1.1/tests/Main.hs --- old/data-check-0.1.0/tests/Main.hs 2016-07-23 12:48:56.000000000 +0200 +++ new/data-check-0.1.1/tests/Main.hs 2017-05-21 18:38:25.000000000 +0200 @@ -1,35 +1,3 @@ --- --- Tests for the ‘data-check’ package. --- --- Copyright © 2016 Mark Karpov <[email protected]> --- --- Redistribution and use in source and binary forms, with or without --- modification, are permitted provided that the following conditions are --- met: --- --- * Redistributions of source code must retain the above copyright notice, --- this list of conditions and the following disclaimer. --- --- * Redistributions in binary form must reproduce the above copyright --- notice, this list of conditions and the following disclaimer in the --- documentation and/or other materials provided with the distribution. --- --- * Neither the name Mark Karpov nor the names of contributors may be used --- to endorse or promote products derived from this software without --- specific prior written permission. --- --- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS “AS IS” AND ANY --- EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED --- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE --- DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY --- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL --- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS --- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) --- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, --- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN --- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE --- POSSIBILITY OF SUCH DAMAGE. - {-# LANGUAGE MultiWayIf #-} module Main (main) where
