Hello community,

here is the log from the commit of package ghc-hsemail for openSUSE:Factory 
checked in at 2020-11-11 20:46:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-hsemail (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-hsemail.new.26437 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-hsemail"

Wed Nov 11 20:46:03 2020 rev:8 rq:847472 version:2.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-hsemail/ghc-hsemail.changes  2020-08-28 
21:33:19.912665638 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-hsemail.new.26437/ghc-hsemail.changes       
2020-11-11 20:46:04.871627998 +0100
@@ -1,0 +2,7 @@
+Tue Nov  3 11:49:02 UTC 2020 - psim...@suse.com
+
+- Update hsemail to version 2.2.1.
+  Upstream has not updated the file "ChangeLog.md" since the last
+  release.
+
+-------------------------------------------------------------------

Old:
----
  hsemail-2.2.0.tar.gz

New:
----
  hsemail-2.2.1.tar.gz

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

Other differences:
------------------
++++++ ghc-hsemail.spec ++++++
--- /var/tmp/diff_new_pack.Ql4oxF/_old  2020-11-11 20:46:05.755628876 +0100
+++ /var/tmp/diff_new_pack.Ql4oxF/_new  2020-11-11 20:46:05.763628883 +0100
@@ -19,7 +19,7 @@
 %global pkg_name hsemail
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        2.2.0
+Version:        2.2.1
 Release:        0
 Summary:        Parsec parsers for the Internet Message format (e-mail)
 License:        BSD-3-Clause

++++++ hsemail-2.2.0.tar.gz -> hsemail-2.2.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hsemail-2.2.0/hsemail.cabal 
new/hsemail-2.2.1/hsemail.cabal
--- old/hsemail-2.2.0/hsemail.cabal     2019-06-26 13:30:32.000000000 +0200
+++ new/hsemail-2.2.1/hsemail.cabal     2001-09-09 03:46:40.000000000 +0200
@@ -1,5 +1,5 @@
 name:               hsemail
-version:            2.2.0
+version:            2.2.1
 synopsis:           Parsec parsers for the Internet Message format (e-mail)
 description:        Parsec parsers for the Internet Message format defined in 
RFC2822.
 license:            BSD3
@@ -10,7 +10,7 @@
                     Marty Pauley
 maintainer:         Peter Simons <sim...@cryp.to>
 stability:          stable
-tested-with:        GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, 
GHC == 8.6.5
+tested-with:        GHC == 7.10.3 || == 8.0.2 || == 8.2.2 || == 8.4.4 || == 
8.6.5 || == 8.8.4 || == 8.10.2
 category:           Parsing
 homepage:           https://github.com/peti/hsemail#readme
 bug-reports:        https://github.com/peti/hsemail/issues
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hsemail-2.2.0/src/Text/Parsec/Rfc2822.hs 
new/hsemail-2.2.1/src/Text/Parsec/Rfc2822.hs
--- old/hsemail-2.2.0/src/Text/Parsec/Rfc2822.hs        2019-06-26 
13:30:32.000000000 +0200
+++ new/hsemail-2.2.1/src/Text/Parsec/Rfc2822.hs        2001-09-09 
03:46:40.000000000 +0200
@@ -309,7 +309,7 @@
 
 day_of_month :: Stream s m Char => ParsecT s u m Int
 day_of_month = do r <- fmap read (manyNtoM 1 2 digit)
-                  guard (r >= 1 && r < 31)
+                  guard (r >= 1 && r <= 31)
                   return r
 
 -- | Match a 1 or 2-digit number (day of month), recognizing both standard and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/hsemail-2.2.0/test/spec.hs 
new/hsemail-2.2.1/test/spec.hs
--- old/hsemail-2.2.0/test/spec.hs      2019-06-26 13:30:32.000000000 +0200
+++ new/hsemail-2.2.1/test/spec.hs      2001-09-09 03:46:40.000000000 +0200
@@ -35,12 +35,14 @@
 
   describe "Rfc2822.day" $ do
     it "parses a hand-picked day-of-months correctly" $ do
+      parseTest day "1" `shouldReturn` 1
       parseTest day "09" `shouldReturn` 9
       parseTest day "15" `shouldReturn` 15
+      parseTest day "31" `shouldReturn` 31
 
     it "does perform range checking" $ do
       parseFailure day "00"
-      parseFailure day "99"
+      parseFailure day "32"
 
     it "fails properly on incomplete input" $ do
       parseFailure day "Mon"
_______________________________________________
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org

Reply via email to