packages feed

yesod-static 1.6.1.1 → 1.6.1.2

raw patch · 3 files changed

+10/−3 lines, 3 files

Files

ChangeLog.md view
@@ -2,11 +2,13 @@  ## 1.6.1.2 -* Set `base >= 4.11` for less CPP and imports [#1876](https://github.com/yesodweb/yesod/pull/1876)+* Allow JavaScript MIME type used by `mime-types >= 0.1.2.1` in test suite [#1898](https://github.com/yesodweb/yesod/pull/1898)  ## 1.6.1.1  * Use crypton instead of cryptonite [#1838](https://github.com/yesodweb/yesod/pull/1838)+* Set `base >= 4.11` for less CPP and imports [#1876](https://github.com/yesodweb/yesod/pull/1876)+  ## 1.6.1.0 
test/EmbedProductionTest.hs view
@@ -121,5 +121,10 @@             get $ TL.toStrict $ TL.decodeUtf8 src             statusIs 200             hasCacheControl-            assertHeader "Content-Type" "application/javascript"+            withResponse $ \resp -> liftIO $+              assertBool "Content-Type header is application/javascript or text/javascript" $+                lookup "Content-Type" (simpleHeaders resp) `elem`+                  [ Just "text/javascript"         -- mime-types >= 0.1.2.1+                  , Just "application/javascript"  -- mime-types <= 0.1.2.0+                  ]             bodyEquals "console.log(\"Hello World\");"
yesod-static.cabal view
@@ -1,5 +1,5 @@ name:            yesod-static-version:         1.6.1.1+version:         1.6.1.2 license:         MIT license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>