Merge pull request #93 from begriffs/repackage

declare required extensions
This commit is contained in:
Joe Nelson
2014-11-06 13:56:47 -08:00
19 changed files with 6 additions and 29 deletions
+3
View File
@@ -13,6 +13,7 @@ executable dbapi
main-is: Main.hs
ghc-options: -Wall -W -Werror -O2
default-language: Haskell2010
default-extensions: OverloadedStrings
build-depends: base >=4.6 && <5
, HDBC, HDBC-postgresql
, warp, wai >= 3.0.1 && < 3.0.2
@@ -42,6 +43,8 @@ executable dbapi
Test-Suite spec
Type: exitcode-stdio-1.0
Default-Language: Haskell2010
default-extensions: OverloadedStrings
other-extensions: QuasiQuotes
Hs-Source-Dirs: test, src
ghc-options: -Wall -W -Werror
Main-Is: Main.hs
-2
View File
@@ -1,5 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
-- {{{ Imports
module Dbapi where
-2
View File
@@ -1,5 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
module Main where
import Paths_dbapi (version)
-1
View File
@@ -1,4 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Middleware where
-3
View File
@@ -1,7 +1,4 @@
{-# LANGUAGE OverloadedStrings #-}
-- {{{ Imports
module PgQuery (
getRows
, insert
-2
View File
@@ -1,5 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
module PgStructure where
import Data.Functor ( (<$>) )
-2
View File
@@ -1,5 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
module RangeQuery where
import Control.Applicative
-1
View File
@@ -1,5 +1,4 @@
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Types where
import Database.HDBC (toSql, iToSql, SqlValue(..))
+1 -1
View File
@@ -1,4 +1,4 @@
{-# LANGUAGE OverloadedStrings, QuasiQuotes #-}
{-# LANGUAGE QuasiQuotes #-}
module Feature.AuthSpec where
-- {{{ Imports
-2
View File
@@ -1,5 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
module Feature.CorsSpec where
-- {{{ Imports
+1 -2
View File
@@ -1,5 +1,4 @@
{-# LANGUAGE OverloadedStrings, QuasiQuotes #-}
{-# LANGUAGE QuasiQuotes #-}
module Feature.InsertSpec where
-- {{{ Imports
-2
View File
@@ -1,5 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
module Feature.QuerySpec where
import Test.Hspec
-1
View File
@@ -1,4 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
module Feature.RangeSpec where
import Test.Hspec
+1 -1
View File
@@ -1,4 +1,4 @@
{-# LANGUAGE OverloadedStrings, QuasiQuotes #-}
{-# LANGUAGE QuasiQuotes #-}
module Feature.StructureSpec where
import Test.Hspec
-1
View File
@@ -1,4 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
module SpecHelper where
import Network.Wai
-1
View File
@@ -1,4 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
module TestTypes (
IncPK(..),
fromList
-1
View File
@@ -1,4 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
module Unit.ErrorsSpec where
import Test.Hspec
-2
View File
@@ -1,5 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
module Unit.PgQuerySpec where
import Test.Hspec
-2
View File
@@ -1,5 +1,3 @@
{-# LANGUAGE OverloadedStrings #-}
module Unit.PgStructureSpec where
import Test.Hspec