scotty 0.7.2 → 0.7.3
raw patch · 4 files changed
+13/−8 lines, 4 filesdep ~case-insensitivedep ~mtldep ~transformersnew-uploader
Dependency ranges changed: case-insensitive, mtl, transformers
Files
- README.md +3/−3
- Web/Scotty/Route.hs +2/−1
- changelog.md +4/−0
- scotty.cabal +4/−4
README.md view
@@ -9,9 +9,9 @@ import Data.Monoid (mconcat) main = scotty 3000 $ do-get "/:word" $ do- beam <- param "word"- html $ mconcat ["<h1>Scotty, ", beam, " me up!</h1>"]+ get "/:word" $ do+ beam <- param "word"+ html $ mconcat ["<h1>Scotty, ", beam, " me up!</h1>"] ``` Scotty is the cheap and cheerful way to write RESTful, declarative web applications.
Web/Scotty/Route.hs view
@@ -17,6 +17,7 @@ import Data.Either (partitionEithers) import Data.Maybe (fromMaybe) import Data.Monoid (mconcat)+import Data.String (fromString) import qualified Data.Text.Lazy as T import qualified Data.Text as TS @@ -164,7 +165,7 @@ -- -- are equivalent. capture :: String -> RoutePattern-capture = Capture . T.pack+capture = fromString -- | Build a route based on a function which can match using the entire 'Request' object. -- 'Nothing' indicates the route does not match. A 'Just' value indicates
changelog.md view
@@ -1,3 +1,7 @@+## 0.7.3++* Bump upper bound for `case-insensitive`, `mtl` and `transformers`.+ ## 0.7.2 * Bump lower bound on conduit, add conduit-extra to cabal build depends.
scotty.cabal view
@@ -1,5 +1,5 @@ Name: scotty-Version: 0.7.2+Version: 0.7.3 Synopsis: Haskell web framework inspired by Ruby's Sinatra, using WAI and Warp Homepage: https://github.com/scotty-web/scotty Bug-reports: https://github.com/scotty-web/scotty/issues@@ -72,15 +72,15 @@ base >= 4.3.1 && < 5, blaze-builder >= 0.3.3.0 && < 0.4, bytestring >= 0.10.0.2 && < 0.11,- case-insensitive >= 1.0.0.1 && < 1.2,+ case-insensitive >= 1.0.0.1 && < 1.3, conduit >= 1.1 && < 1.2, conduit-extra >= 1.1 && < 1.2, data-default >= 0.5.3 && < 0.6, http-types >= 0.8.2 && < 0.9,- mtl >= 2.1.2 && < 2.2,+ mtl >= 2.1.2 && < 2.3, regex-compat >= 0.95.1 && < 0.96, text >= 0.11.3.1 && < 1.2,- transformers >= 0.3.0.0 && < 0.4,+ transformers >= 0.3.0.0 && < 0.5, wai >= 2.0.0 && < 2.2, wai-extra >= 2.0.1 && < 2.2, warp >= 2.1.1 && < 2.2