Hello community,

here is the log from the commit of package ghc-case-insensitive for 
openSUSE:Factory checked in at 2019-05-12 11:34:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-case-insensitive (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-case-insensitive.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-case-insensitive"

Sun May 12 11:34:31 2019 rev:18 rq:701759 version:1.2.1.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/ghc-case-insensitive/ghc-case-insensitive.changes    
    2018-10-25 08:23:09.287889427 +0200
+++ 
/work/SRC/openSUSE:Factory/.ghc-case-insensitive.new.5148/ghc-case-insensitive.changes
      2019-05-12 11:34:31.950069065 +0200
@@ -1,0 +2,8 @@
+Mon May  6 02:01:36 UTC 2019 - [email protected]
+
+- Update case-insensitive to version 1.2.1.0.
+  1.2.1.0
+
+  *  Add traverse
+
+-------------------------------------------------------------------

Old:
----
  case-insensitive-1.2.0.11.tar.gz

New:
----
  case-insensitive-1.2.1.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-case-insensitive.spec ++++++
--- /var/tmp/diff_new_pack.5rt8yk/_old  2019-05-12 11:34:32.882071794 +0200
+++ /var/tmp/diff_new_pack.5rt8yk/_new  2019-05-12 11:34:32.882071794 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ghc-case-insensitive
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
 %global pkg_name case-insensitive
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        1.2.0.11
+Version:        1.2.1.0
 Release:        0
 Summary:        Case insensitive string comparison
 License:        BSD-3-Clause

++++++ case-insensitive-1.2.0.11.tar.gz -> case-insensitive-1.2.1.0.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/case-insensitive-1.2.0.11/CHANGELOG 
new/case-insensitive-1.2.1.0/CHANGELOG
--- old/case-insensitive-1.2.0.11/CHANGELOG     2018-03-14 21:11:22.000000000 
+0100
+++ new/case-insensitive-1.2.1.0/CHANGELOG      2019-05-05 06:35:04.000000000 
+0200
@@ -1,3 +1,7 @@
+1.2.1.0
+
+*  Add traverse
+
 1.2.0.11
 
 *  Dropped upper version bounds of dependencies because it's to much work to 
maintain.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/case-insensitive-1.2.0.11/Data/CaseInsensitive/Internal.hs 
new/case-insensitive-1.2.1.0/Data/CaseInsensitive/Internal.hs
--- old/case-insensitive-1.2.0.11/Data/CaseInsensitive/Internal.hs      
2018-03-14 21:11:22.000000000 +0100
+++ new/case-insensitive-1.2.1.0/Data/CaseInsensitive/Internal.hs       
2019-05-05 06:35:04.000000000 +0200
@@ -22,6 +22,7 @@
                                      , original
                                      , foldedCase
                                      , map
+                                     , traverse
                                      , FoldCase(foldCase)
                                      ) where
 
@@ -30,6 +31,7 @@
 
--------------------------------------------------------------------------------
 
 -- from base:
+import Control.Applicative (Applicative)
 import Data.Bool      ( (||) )
 import Data.Char      ( Char, toLower )
 import Data.Eq        ( Eq, (==) )
@@ -107,6 +109,10 @@
 map :: FoldCase s2 => (s1 -> s2) -> (CI s1 -> CI s2)
 map f = mk . f . original
 
+-- | Transform the original string-like value but keep it case insensitive.
+traverse :: (FoldCase s2, Applicative f) => (s1 -> f s2) -> CI s1 -> f (CI s2)
+traverse f = fmap mk . f . original
+
 instance (IsString s, FoldCase s) => IsString (CI s) where
     fromString = mk . fromString
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/case-insensitive-1.2.0.11/Data/CaseInsensitive.hs 
new/case-insensitive-1.2.1.0/Data/CaseInsensitive.hs
--- old/case-insensitive-1.2.0.11/Data/CaseInsensitive.hs       2018-03-14 
21:11:22.000000000 +0100
+++ new/case-insensitive-1.2.1.0/Data/CaseInsensitive.hs        2019-05-05 
06:35:04.000000000 +0200
@@ -28,6 +28,7 @@
                             , original
                             , foldedCase
                             , map
+                            , traverse
                             , FoldCase(foldCase)
                             ) where
 import Data.CaseInsensitive.Internal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/case-insensitive-1.2.0.11/case-insensitive.cabal 
new/case-insensitive-1.2.1.0/case-insensitive.cabal
--- old/case-insensitive-1.2.0.11/case-insensitive.cabal        2018-03-14 
21:11:22.000000000 +0100
+++ new/case-insensitive-1.2.1.0/case-insensitive.cabal 2019-05-05 
06:35:04.000000000 +0200
@@ -1,5 +1,5 @@
 name:          case-insensitive
-version:       1.2.0.11
+version:       1.2.1.0
 cabal-version: >=1.8
 build-type:    Simple
 license:       BSD3


Reply via email to