packages feed

postgresql-schema 0.1.11 → 0.1.13

raw patch · 5 files changed

+86/−81 lines, 5 filesdep −time-locale-compatdep ~basedep ~basic-preludedep ~optparse-applicativePVP ok

version bump matches the API change (PVP)

Dependencies removed: time-locale-compat

Dependency ranges changed: base, basic-prelude, optparse-applicative, postgresql-simple, shelly, text, time

API changes (from Hackage documentation)

Files

main/Add.hs view
@@ -8,10 +8,9 @@ -- -- Tool for adding PostgreSQL migrations. -import BasicPrelude hiding ( FilePath )-import Data.Text ( pack )+import BasicPrelude               hiding (FilePath)+import Data.Text                  (pack) import Data.Time.Clock-import Data.Time.Locale.Compat import Data.Time.Format import Database.PostgreSQL.Schema import Options.Applicative
main/Apply.hs view
@@ -8,14 +8,14 @@ -- -- Tool for applying PostgreSQL migrations. -import BasicPrelude hiding ( FilePath )-import Data.Text ( pack )+import BasicPrelude               hiding (FilePath)+import Data.Text                  (pack) import Database.PostgreSQL.Schema import Options.Applicative import Paths_postgresql_schema import Shelly-import System.IO hiding ( FilePath ) import System.Environment+import System.IO                  hiding (FilePath)  data Args = Args   { aRecur :: Bool
main/Clear.hs view
@@ -9,12 +9,12 @@ -- Tool for clearing PostgreSQL migrations.  import BasicPrelude-import Data.Text ( pack )+import Data.Text                  (pack) import Database.PostgreSQL.Schema import Options.Applicative import Shelly import System.Environment-import System.IO hiding ( putStr, getLine )+import System.IO                  hiding (getLine, putStr)  data Args = Args   { aUrl :: Maybe String
postgresql-schema.cabal view
@@ -1,80 +1,84 @@-name:                  postgresql-schema-version:               0.1.11-synopsis:              PostgreSQL Schema Management-description:           Please see README.md-homepage:              https://github.com/mfine/postgresql-schema-license:               BSD3-license-file:          LICENSE-author:                Mark Fine-maintainer:            mark.fine@gmail.com-copyright:             Copyright (C) 2015 Mark Fine-category:              Database-build-type:            Simple-cabal-version:         >= 1.10-data-files:            migrations/20130318-105434.sql-                     , migrations/20130318-105456.sql+name: postgresql-schema+version: 0.1.13+cabal-version: >=1.22+build-type: Simple+license: BSD3+license-file: LICENSE+copyright: Copyright (C) 2015 Mark Fine+maintainer: mark.fine@gmail.com+homepage: https://github.com/mfine/postgresql-schema+synopsis: PostgreSQL Schema Management+description:+    Please see README.md+category: Database+author: Mark Fine+data-files:+    migrations/20130318-105434.sql+    migrations/20130318-105456.sql +source-repository head+    type: git+    location: https://github.com/mfine/postgresql-schema+ library-  exposed-modules:     Database.PostgreSQL.Schema-  default-language:    Haskell2010-  hs-source-dirs:      src-  ghc-options:         -Wall -fno-warn-orphans-  build-depends:       base >= 4.7 && < 5-                     , basic-prelude-                     , postgresql-simple-                     , shelly-                     , text-  default-extensions:  NoImplicitPrelude-                       OverloadedStrings+    exposed-modules:+        Database.PostgreSQL.Schema+    build-depends:+        base >=4.8 && <5,+        basic-prelude >=0.5.2,+        postgresql-simple >=0.5.3.0,+        shelly >=1.6.8.3,+        text >=1.2.2.2+    default-language: Haskell2010+    default-extensions: NoImplicitPrelude OverloadedStrings+    hs-source-dirs: src+    ghc-options: -Wall -fno-warn-orphans  executable schema-add-  hs-source-dirs:      main-  main-is:             Add.hs-  ghc-options:         -Wall-  default-language:    Haskell2010-  build-depends:       base >= 4.7 && < 5-                     , basic-prelude-                     , optparse-applicative-                     , postgresql-schema-                     , shelly-                     , text-                     , time-                     , time-locale-compat-  default-extensions:  NoImplicitPrelude-                       OverloadedStrings-                       RecordWildCards+    main-is: Add.hs+    build-depends:+        base >=4.8 && <5,+        basic-prelude >=0.5.2,+        optparse-applicative >=0.12.1.0,+        postgresql-schema,+        shelly >=1.6.8.3,+        text >=1.2.2.2,+        time >=1.5.0.1+    default-language: Haskell2010+    default-extensions: NoImplicitPrelude OverloadedStrings+                        RecordWildCards+    hs-source-dirs: main+    ghc-options: -Wall  executable schema-apply-  hs-source-dirs:      main-  main-is:             Apply.hs-  other-modules:       Paths_postgresql_schema-  ghc-options:         -Wall-  default-language:    Haskell2010-  build-depends:       base >= 4.7 && < 5-                     , basic-prelude-                     , optparse-applicative-                     , postgresql-schema-                     , shelly-                     , text-  default-extensions:  NoImplicitPrelude-                       OverloadedStrings-                       RecordWildCards+    main-is: Apply.hs+    build-depends:+        base >=4.8 && <5,+        basic-prelude >=0.5.2,+        optparse-applicative >=0.12.1.0,+        postgresql-schema,+        shelly >=1.6.8.3,+        text >=1.2.2.2+    default-language: Haskell2010+    default-extensions: NoImplicitPrelude OverloadedStrings+                        RecordWildCards+    hs-source-dirs: main+    other-modules:+        Paths_postgresql_schema+    ghc-options: -Wall  executable schema-clear-  hs-source-dirs:      main-  main-is:             Clear.hs-  ghc-options:         -Wall-  default-language:    Haskell2010-  build-depends:       base >= 4.7 && < 5-                     , basic-prelude-                     , optparse-applicative-                     , postgresql-schema-                     , shelly-                     , text-  default-extensions:  NoImplicitPrelude-                       OverloadedStrings-                       RecordWildCards+    main-is: Clear.hs+    build-depends:+        base >=4.8 && <5,+        basic-prelude >=0.5.2,+        optparse-applicative >=0.12.1.0,+        postgresql-schema,+        shelly >=1.6.8.3,+        text >=1.2.2.2+    default-language: Haskell2010+    default-extensions: NoImplicitPrelude OverloadedStrings+                        RecordWildCards+    hs-source-dirs: main+    ghc-options: -Wall -source-repository head-  type:     git-  location: https://github.com/mfine/postgresql-schema
src/Database/PostgreSQL/Schema.hs view
@@ -19,10 +19,12 @@   , clear   ) where -import BasicPrelude hiding ( FilePath, (</>) )-import Data.Text ( unpack )+import BasicPrelude               hiding (FilePath, (</>))+import Data.Text                  (unpack) import Database.PostgreSQL.Simple import Shelly++{-# ANN module ("HLint: ignore Use camelCase"::String) #-}  -- types