renamed to csv-sip

This commit is contained in:
Jonathan Lamothe 2022-04-21 13:13:42 -04:00
parent 9ec4d7e9c3
commit f27e190be6
7 changed files with 24 additions and 24 deletions

View File

@ -1,3 +1,3 @@
# Changelog for csv-slurp
# Changelog for csv-sip
## Unreleased changes

View File

@ -1,4 +1,4 @@
# csv-slurp
# csv-sip
Copyright (C) Jonathan Lamothe <jonathan@jlamothe.net>
This program is free software: you can redistribute it and/or modify

View File

@ -4,7 +4,7 @@ cabal-version: 2.2
--
-- see: https://github.com/sol/hpack
name: csv-slurp
name: csv-sip
version: 0.0.0
synopsis: extracts data from a CSV file
description: extracts data from a CSV file - see README.md for more details
@ -21,9 +21,9 @@ extra-source-files:
library
exposed-modules:
Data.CSV.Slurp
Data.CSV.Sip
other-modules:
Paths_csv_slurp
Paths_csv_sip
hs-source-dirs:
src
ghc-options: -Wall
@ -34,14 +34,14 @@ library
, text
, transformers
default-language: Haskell2010
autogen-modules: Paths_csv_slurp
autogen-modules: Paths_csv_sip
test-suite csv-slurp-test
test-suite csv-sip-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Data.CSV.SlurpSpec
Paths_csv_slurp
Data.CSV.SipSpec
Paths_csv_sip
hs-source-dirs:
test
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
@ -49,9 +49,9 @@ test-suite csv-slurp-test
base >=4.7 && <5
, bytestring
, conduit >=1.3.4.2 && <1.4
, csv-slurp
, csv-sip
, hspec >=2.8.5 && <2.9
, text
, transformers
default-language: Haskell2010
autogen-modules: Paths_csv_slurp
autogen-modules: Paths_csv_sip

View File

@ -1,4 +1,4 @@
name: csv-slurp
name: csv-sip
version: 0.0.0
license: GPL-3.0-or-later
author: "Jonathan Lamothe"
@ -31,10 +31,10 @@ dependencies:
library:
source-dirs: src
verbatim: &paths
autogen-modules: Paths_csv_slurp
autogen-modules: Paths_csv_sip
tests:
csv-slurp-test:
csv-sip-test:
main: Spec.hs
source-dirs: test
ghc-options:
@ -42,7 +42,7 @@ tests:
- -rtsopts
- -with-rtsopts=-N
dependencies:
- csv-slurp
- csv-sip
- hspec >= 2.8.5 && < 2.9
verbatim:
<<: *paths

View File

@ -1,6 +1,6 @@
{-|
Module : Data.CSV.Slurp
Module : Data.CSV.Sip
Description : works with CSV files
Copyright : (C) Jonathan Lamothe
License : GPL-3.0-or-later
@ -25,7 +25,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
{-# LANGUAGE LambdaCase, OverloadedStrings #-}
module Data.CSV.Slurp (
module Data.CSV.Sip (
decodeRows,
decodeRawRows,
decodeUTF8,

View File

@ -1,6 +1,6 @@
{-
csv-slurp
csv-sip
Copyright (C) Jonathan Lamothe <jonathan@jlamothe.net>
This program is free software: you can redistribute it and/or modify
@ -20,17 +20,17 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
{-# LANGUAGE OverloadedStrings #-}
module Data.CSV.SlurpSpec (spec) where
module Data.CSV.SipSpec (spec) where
import Conduit (runConduit, (.|))
import Data.Char (ord)
import Data.Conduit.List (consume, sourceList)
import Test.Hspec (Spec, context, describe, it, shouldBe)
import Data.CSV.Slurp
import Data.CSV.Sip
spec :: Spec
spec = describe "Data.CSV.Slurp" $ do
spec = describe "Data.CSV.Sip" $ do
decodeRowsSpec
decodeRawRowsSpec
decodeUTF8Spec

View File

@ -1,6 +1,6 @@
{-
csv-slurp
csv-sip
Copyright (C) Jonathan Lamothe <jonathan@jlamothe.net>
This program is free software: you can redistribute it and/or modify
@ -22,9 +22,9 @@ module Main where
import Test.Hspec (hspec)
import qualified Data.CSV.SlurpSpec as Slurp
import qualified Data.CSV.SipSpec as Sip
main :: IO ()
main = hspec Slurp.spec
main = hspec Sip.spec
--jl