snaplet-fay 0.3.3.1 → 0.3.3.2
raw patch · 5 files changed
+94/−43 lines, 5 files
Files
- CHANGELOG.md +37/−0
- README.md +2/−35
- example/LICENSE +30/−0
- example/example.cabal +6/−5
- snaplet-fay.cabal +19/−3
+ CHANGELOG.md view
@@ -0,0 +1,37 @@+## Changelog++#### 0.3.3.2 (2013-11-07)++* example: Allow fay-text 0.3+* example: Remove bounds on snaplet-fay++#### 0.3.3.1 (2013-11-07)++* Allow fay-jquery 0.5++### 0.3.3 (2013-11-07)++* Format Fay compile errors using Fay's builtin (doesn't break on apostrophes)+* Only treat compile errors as Success in development mode (for in browser error reporting)+* Fixes a bug where error strings would be encoded twice+* Requires fay 0.18+* Update example for fay-jquery 0.4+* Upper bounds for dependencies++### 0.3.2.0++* Expose Snap.Snaplet.Fay.Internal++### 0.3.1.1++* Hackage version now includes the example application+* Updated repository location++### 0.3.1.0++* Add `packages` flag in the config which lets you use other fay packages without using includeDirs+* On errors in development mode a js file is produced that prints the error to the console (Thanks Daniel Bruegmann)++#### 0.3.0.1++* Bump to support snap 0.10 and fay 0.11
README.md view
@@ -1,6 +1,8 @@ Snaplet Fay =========== +[Changelog](CHANGELOG.md)+ Snaplet Fay integrates [Snap](http://www.snapframework.com) with [Fay](http://www.fay-lang.org). Snap is a [Haskell](http://www.haskell.org) web framework and Fay is a compiler@@ -23,41 +25,6 @@ * Share Fay source files between Haskell and Fay. * Automatically encode/decode records shared between Snap and Fay by using the fayax functions.---Changelog------------0.3.3.1 (2013-11-07):--* Allow fay-jquery 0.5--0.3.3.0 (2013-11-07):--* Format Fay compile errors using Fay's builtin (doesn't break on apostrophes)-* Only treat compile errors as Success in development mode (for in browser error reporting)-* Fixes a bug where error strings would be encoded twice-* Requires fay 0.18-* Update example for fay-jquery 0.4-* Upper bounds for dependencies--0.3.2.0:--* Expose Snap.Snaplet.Fay.Internal--0.3.1.1.:--* Hackage version now includes the example application-* Updated repository location--0.3.1.0:--* Add `packages` flag in the config which lets you use other fay packages without using includeDirs-* On errors in development mode a js file is produced that prints the error to the console (Thanks Daniel Bruegmann)--0.3.0.1:--* Bump to support snap 0.10 and fay 0.11 Installation ------------
+ example/LICENSE view
@@ -0,0 +1,30 @@+Copyright (c) 2012, Adam Bergmark++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++ * Redistributions of source code must retain the above copyright+ notice, this list of conditions and the following disclaimer.++ * 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.++ * Neither the name of Adam Bergmark nor the names of other+ contributors may be used to endorse or promote products derived+ from this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS+"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+OWNER OR CONTRIBUTORS 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.
example/example.cabal view
@@ -2,9 +2,10 @@ Version: 0.1 Synopsis: Project Synopsis Here Description: Project Description Here-License: AllRightsReserved-Author: Author-Maintainer: maintainer@example.com+license: BSD3+license-file: LICENSE+Author: Adam Bergmark+Maintainer: adam@bergmark.nl Stability: Experimental Category: Web Build-type: Simple@@ -24,7 +25,7 @@ , aeson >= 0.6 , bytestring >= 0.9 , fay- , fay-text == 0.2.*+ , fay-text >= 0.2 && < 0.4 , fay-jquery >= 0.4 && < 0.6 , heist >= 0.8 && < 0.14 , lens >= 3.7 && < 3.11@@ -33,7 +34,7 @@ , snap-core >= 0.9 , snap-loader-static == 0.9.* , snap-server == 0.9.*- , snaplet-fay == 0.3.3+ , snaplet-fay , text == 0.11.* , time >= 1.1 && < 1.5 , xmlhtml >= 0.1 && < 0.3
snaplet-fay.cabal view
@@ -5,21 +5,37 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 0.3.3.1+version: 0.3.3.2 synopsis: Fay integration for Snap with request- and pre-compilation. description: Fay integration for Snap with request based compilation during development and precompilation in production. For more information, please see <https://github.com/bergmark/snaplet-fay>. license: BSD3 license-file: LICENSE author: Adam Bergmark-maintainer: adam@edea.se+maintainer: adam@bergmark.nl homepage: https://github.com/faylang/snaplet-fay bug-reports: https://github.com/faylang/snaplet-fay/issues category: Web, Snap, Fay build-type: Simple cabal-version: >=1.8 -extra-source-files: LICENSE, README.md example/example.cabal example/snaplets/fay/devel.cfg example/snaplets/fay/js/.gitignore example/snaplets/fay/src/Application/SharedTypes.hs example/snaplets/fay/src/BrokenFile.hs example/snaplets/fay/src/Dom.hs example/snaplets/fay/src/Index.hs example/snaplets/heist/templates/index.tpl example/snaplets/heist/templates/login-form.tpl example/snaplets/heist/templates/register-form.tpl example/log/.gitignore example/src/Application.hs example/src/Main.hs example/src/Site.hs example/static/broken.html example/static/index.js example/static/jquery.js example/static/screen.css example/static/underscore.js+extra-source-files:+ LICENSE+ README.md+ CHANGELOG.md+ --- Example+ example/LICENSE+ example/example.cabal+ example/snaplets/fay/devel.cfg+ example/snaplets/fay/js/.gitignore+ example/snaplets/fay/src/Application/*.hs+ example/snaplets/fay/src/*.hs+ example/snaplets/heist/templates/*.tpl+ example/log/.gitignore+ example/src/*.hs+ example/static/*.html+ example/static/*.js+ example/static/*.css data-files: resources/devel.cfg