packages feed

wai-app-static 1.2.0.2 → 1.2.0.3

raw patch · 3 files changed

+21/−30 lines, 3 filesdep ~bytestringdep ~containersdep ~hspec

Dependency ranges changed: bytestring, containers, hspec

Files

LICENSE view
@@ -1,25 +1,20 @@-The following license covers this documentation, and the source code, except-where otherwise indicated.--Copyright 2010, Michael Snoyman. All rights reserved.--Redistribution and use in source and binary forms, with or without-modification, are permitted provided that the following conditions are met:+Copyright (c) 2012 Michael Snoyman, http://www.yesodweb.com/ -* Redistributions of source code must retain the above copyright notice, this-  list of conditions and the following disclaimer.+Permission is hereby granted, free of charge, to any person obtaining+a copy of this software and associated documentation files (the+"Software"), to deal in the Software without restriction, including+without limitation the rights to use, copy, modify, merge, publish,+distribute, sublicense, and/or sell copies of the Software, and to+permit persons to whom the Software is furnished to do so, subject to+the following conditions: -* 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.+The above copyright notice and this permission notice shall be+included in all copies or substantial portions of the Software. -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.+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
test/WaiAppStaticTest.hs view
@@ -11,7 +11,6 @@ import qualified Data.ByteString.Char8 as S8 -- import qualified Data.ByteString.Lazy.Char8 as L8 import qualified Data.Text as T-import qualified Data.Text.Encoding as TE import System.PosixCompat.Files (getFileStatus, modificationTime)  import Network.HTTP.Date@@ -21,10 +20,7 @@ import Network.Wai import Network.Wai.Test -import Network.Socket.Internal as Sock-import qualified Network.HTTP.Types as H import Control.Monad.IO.Class (liftIO)-import Data.Monoid (mempty)  defRequest :: Request defRequest = defaultRequest
wai-app-static.cabal view
@@ -1,5 +1,5 @@ name:            wai-app-static-version:         1.2.0.2+version:         1.2.0.3 license:         MIT license-file:    LICENSE author:          Michael Snoyman <michael@snoyman.com>@@ -29,12 +29,12 @@ library     build-depends:   base                      >= 4        && < 5                    , wai                       >= 1.2      && < 1.3-                   , bytestring                >= 0.9.1.4  && < 0.10+                   , bytestring                >= 0.9.1.4                    , http-types                >= 0.6      && < 0.7                    , transformers              >= 0.2.2    && < 0.4                    , unix-compat               >= 0.2                    , directory                 >= 1.0.1    && < 1.2-                   , containers                >= 0.2      && < 0.5+                   , containers                >= 0.2                    , time                      >= 1.1.4                    , old-locale                >= 1.0.0.2  && < 1.1                    , file-embed                >= 0.0.3.1  && < 0.1@@ -65,7 +65,7 @@     type: exitcode-stdio-1.0      build-depends:   base                      >= 4        && < 5-                   , hspec >= 0.8 && < 0.10+                   , hspec                     >= 0.8      && < 1.2                    , HUnit                    , unix-compat               >= 0.2                    , time                      >= 1.1.4