yesod-bin 1.2.12.8 → 1.2.13
raw patch · 7 files changed
+42/−44 lines, 7 files
Files
- hsfiles/mongo.hsfiles +7/−9
- hsfiles/mysql.hsfiles +8/−8
- hsfiles/postgres-fay.hsfiles +8/−8
- hsfiles/postgres.hsfiles +8/−8
- hsfiles/simple.hsfiles +2/−2
- hsfiles/sqlite.hsfiles +8/−8
- yesod-bin.cabal +1/−1
hsfiles/mongo.hsfiles view
@@ -188,7 +188,7 @@ , css_bootstrap_css ]) $(widgetFile "default-layout")- giveUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet")+ withUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet") -- This is done to provide an optimization for serving static files from -- a separate domain. Please see the staticRoot setting in Settings.hs@@ -230,7 +230,7 @@ -- How to run database actions. instance YesodPersist App where- type YesodPersistBackend App = Action+ type YesodPersistBackend App = MongoContext runDB = defaultRunDB persistConfig connPool instance YesodAuth App where@@ -359,9 +359,7 @@ -- You can find more information on persistent and how to declare entities -- at: -- http://www.yesodweb.com/book/persistent/-let mongoSettings = (mkPersistSettings (ConT ''MongoBackend))- { mpsGeneric = False- }+let mongoSettings = (mkPersistSettings (ConT ''MongoContext)) in share [mkPersist mongoSettings] $(persistFileWith upperCaseSettings "config/models") @@ -411,15 +409,15 @@ build-depends: base >= 4 && < 5 , yesod >= 1.2.5 && < 1.3- , yesod-core >= 1.2.12 && < 1.3+ , yesod-core >= 1.2.20 && < 1.3 , yesod-auth >= 1.3 && < 1.4 , yesod-static >= 1.2 && < 1.3 , yesod-form >= 1.3 && < 1.4 , bytestring >= 0.9 && < 0.11 , text >= 0.11 && < 2.0- , persistent >= 1.3 && < 1.4- , persistent-mongoDB >= 1.3 && < 1.5- , persistent-template >= 1.3 && < 1.4+ , persistent >= 2.0 && < 2.1+ , persistent-mongoDB >= 2.0 && < 2.1+ , persistent-template >= 2.0 && < 2.1 , template-haskell , shakespeare >= 2.0 && < 2.1 , hjsmin >= 0.1 && < 0.2
hsfiles/mysql.hsfiles view
@@ -130,7 +130,7 @@ import qualified Settings import Settings.Development (development) import qualified Database.Persist-import Database.Persist.Sql (SqlPersistT)+import Database.Persist.Sql (SqlBackend) import Settings.StaticFiles import Settings (widgetFile, Extra (..)) import Model@@ -195,7 +195,7 @@ , css_bootstrap_css ]) $(widgetFile "default-layout")- giveUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet")+ withUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet") -- This is done to provide an optimization for serving static files from -- a separate domain. Please see the staticRoot setting in Settings.hs@@ -237,7 +237,7 @@ -- How to run database actions. instance YesodPersist App where- type YesodPersistBackend App = SqlPersistT+ type YesodPersistBackend App = SqlBackend runDB = defaultRunDB persistConfig connPool instance YesodPersistRunner App where getDBRunner = defaultGetDBRunner connPool@@ -366,7 +366,7 @@ -- You can find more information on persistent and how to declare entities -- at: -- http://www.yesodweb.com/book/persistent/-share [mkPersist sqlOnlySettings, mkMigrate "migrateAll"]+share [mkPersist sqlSettings, mkMigrate "migrateAll"] $(persistFileWith lowerCaseSettings "config/models") {-# START_FILE PROJECTNAME.cabal #-}@@ -415,15 +415,15 @@ build-depends: base >= 4 && < 5 , yesod >= 1.2.5 && < 1.3- , yesod-core >= 1.2.12 && < 1.3+ , yesod-core >= 1.2.20 && < 1.3 , yesod-auth >= 1.3 && < 1.4 , yesod-static >= 1.2 && < 1.3 , yesod-form >= 1.3 && < 1.4 , bytestring >= 0.9 && < 0.11 , text >= 0.11 && < 2.0- , persistent >= 1.3 && < 1.4- , persistent-mysql >= 1.3 && < 1.4- , persistent-template >= 1.3 && < 1.4+ , persistent >= 2.0 && < 2.1+ , persistent-mysql >= 2.0 && < 2.1+ , persistent-template >= 2.0 && < 2.1 , template-haskell , shakespeare >= 2.0 && < 2.1 , hjsmin >= 0.1 && < 0.2
hsfiles/postgres-fay.hsfiles view
@@ -133,7 +133,7 @@ import qualified Settings import Settings.Development (development) import qualified Database.Persist-import Database.Persist.Sql (SqlPersistT)+import Database.Persist.Sql (SqlBackend) import Settings.StaticFiles import Settings (widgetFile, Extra (..)) import Model@@ -199,7 +199,7 @@ , css_bootstrap_css ]) $(widgetFile "default-layout")- giveUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet")+ withUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet") -- This is done to provide an optimization for serving static files from -- a separate domain. Please see the staticRoot setting in Settings.hs@@ -250,7 +250,7 @@ -- How to run database actions. instance YesodPersist App where- type YesodPersistBackend App = SqlPersistT+ type YesodPersistBackend App = SqlBackend runDB = defaultRunDB persistConfig connPool instance YesodPersistRunner App where getDBRunner = defaultGetDBRunner connPool@@ -398,7 +398,7 @@ -- You can find more information on persistent and how to declare entities -- at: -- http://www.yesodweb.com/book/persistent/-share [mkPersist sqlOnlySettings, mkMigrate "migrateAll"]+share [mkPersist sqlSettings, mkMigrate "migrateAll"] $(persistFileWith lowerCaseSettings "config/models") {-# START_FILE PROJECTNAME.cabal #-}@@ -451,7 +451,7 @@ build-depends: base >= 4 && < 5 , yesod >= 1.2.5 && < 1.3- , yesod-core >= 1.2.12 && < 1.3+ , yesod-core >= 1.2.20 && < 1.3 , yesod-auth >= 1.3 && < 1.4 , yesod-static >= 1.2 && < 1.3 , yesod-form >= 1.3 && < 1.4@@ -459,9 +459,9 @@ , fay >= 0.16 , bytestring >= 0.9 && < 0.11 , text >= 0.11 && < 2.0- , persistent >= 1.3 && < 1.4- , persistent-postgresql >= 1.3 && < 1.4- , persistent-template >= 1.3 && < 1.4+ , persistent >= 2.0 && < 2.1+ , persistent-postgresql >= 2.0 && < 2.1+ , persistent-template >= 2.0 && < 2.1 , template-haskell , shakespeare >= 2.0 && < 2.1 , monad-control >= 0.3 && < 0.4
hsfiles/postgres.hsfiles view
@@ -130,7 +130,7 @@ import qualified Settings import Settings.Development (development) import qualified Database.Persist-import Database.Persist.Sql (SqlPersistT)+import Database.Persist.Sql (SqlBackend) import Settings.StaticFiles import Settings (widgetFile, Extra (..)) import Model@@ -195,7 +195,7 @@ , css_bootstrap_css ]) $(widgetFile "default-layout")- giveUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet")+ withUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet") -- This is done to provide an optimization for serving static files from -- a separate domain. Please see the staticRoot setting in Settings.hs@@ -237,7 +237,7 @@ -- How to run database actions. instance YesodPersist App where- type YesodPersistBackend App = SqlPersistT+ type YesodPersistBackend App = SqlBackend runDB = defaultRunDB persistConfig connPool instance YesodPersistRunner App where getDBRunner = defaultGetDBRunner connPool@@ -366,7 +366,7 @@ -- You can find more information on persistent and how to declare entities -- at: -- http://www.yesodweb.com/book/persistent/-share [mkPersist sqlOnlySettings, mkMigrate "migrateAll"]+share [mkPersist sqlSettings, mkMigrate "migrateAll"] $(persistFileWith lowerCaseSettings "config/models") {-# START_FILE PROJECTNAME.cabal #-}@@ -415,15 +415,15 @@ build-depends: base >= 4 && < 5 , yesod >= 1.2.5 && < 1.3- , yesod-core >= 1.2.12 && < 1.3+ , yesod-core >= 1.2.20 && < 1.3 , yesod-auth >= 1.3 && < 1.4 , yesod-static >= 1.2 && < 1.3 , yesod-form >= 1.3 && < 1.4 , bytestring >= 0.9 && < 0.11 , text >= 0.11 && < 2.0- , persistent >= 1.3 && < 1.4- , persistent-postgresql >= 1.3 && < 1.4- , persistent-template >= 1.3 && < 1.4+ , persistent >= 2.0 && < 2.1+ , persistent-postgresql >= 2.0 && < 2.1+ , persistent-template >= 2.0 && < 2.1 , template-haskell , shakespeare >= 2.0 && < 2.1 , hjsmin >= 0.1 && < 0.2
hsfiles/simple.hsfiles view
@@ -174,7 +174,7 @@ , css_bootstrap_css ]) $(widgetFile "default-layout")- giveUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet")+ withUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet") -- This is done to provide an optimization for serving static files from -- a separate domain. Please see the staticRoot setting in Settings.hs@@ -342,7 +342,7 @@ build-depends: base >= 4 && < 5 , yesod >= 1.2.5 && < 1.3- , yesod-core >= 1.2.12 && < 1.3+ , yesod-core >= 1.2.20 && < 1.3 , yesod-auth >= 1.3 && < 1.4 , yesod-static >= 1.2 && < 1.3 , yesod-form >= 1.3 && < 1.4
hsfiles/sqlite.hsfiles view
@@ -130,7 +130,7 @@ import qualified Settings import Settings.Development (development) import qualified Database.Persist-import Database.Persist.Sql (SqlPersistT)+import Database.Persist.Sql (SqlBackend) import Settings.StaticFiles import Settings (widgetFile, Extra (..)) import Model@@ -195,7 +195,7 @@ , css_bootstrap_css ]) $(widgetFile "default-layout")- giveUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet")+ withUrlRenderer $(hamletFile "templates/default-layout-wrapper.hamlet") -- This is done to provide an optimization for serving static files from -- a separate domain. Please see the staticRoot setting in Settings.hs@@ -237,7 +237,7 @@ -- How to run database actions. instance YesodPersist App where- type YesodPersistBackend App = SqlPersistT+ type YesodPersistBackend App = SqlBackend runDB = defaultRunDB persistConfig connPool instance YesodPersistRunner App where getDBRunner = defaultGetDBRunner connPool@@ -366,7 +366,7 @@ -- You can find more information on persistent and how to declare entities -- at: -- http://www.yesodweb.com/book/persistent/-share [mkPersist sqlOnlySettings, mkMigrate "migrateAll"]+share [mkPersist sqlSettings, mkMigrate "migrateAll"] $(persistFileWith lowerCaseSettings "config/models") {-# START_FILE PROJECTNAME.cabal #-}@@ -415,15 +415,15 @@ build-depends: base >= 4 && < 5 , yesod >= 1.2.5 && < 1.3- , yesod-core >= 1.2.12 && < 1.3+ , yesod-core >= 1.2.20 && < 1.3 , yesod-auth >= 1.3 && < 1.4 , yesod-static >= 1.2 && < 1.3 , yesod-form >= 1.3 && < 1.4 , bytestring >= 0.9 && < 0.11 , text >= 0.11 && < 2.0- , persistent >= 1.3 && < 1.4- , persistent-sqlite >= 1.3 && < 1.4- , persistent-template >= 1.3 && < 1.4+ , persistent >= 2.0 && < 2.1+ , persistent-sqlite >= 2.0 && < 2.1+ , persistent-template >= 2.0 && < 2.1 , template-haskell , shakespeare >= 2.0 && < 2.1 , hjsmin >= 0.1 && < 0.2
yesod-bin.cabal view
@@ -1,5 +1,5 @@ name: yesod-bin-version: 1.2.12.8+version: 1.2.13 license: MIT license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>