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 ## Unreleased changes

View File

@ -1,4 +1,4 @@
# csv-slurp # csv-sip
Copyright (C) Jonathan Lamothe <jonathan@jlamothe.net> Copyright (C) Jonathan Lamothe <jonathan@jlamothe.net>
This program is free software: you can redistribute it and/or modify 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 -- see: https://github.com/sol/hpack
name: csv-slurp name: csv-sip
version: 0.0.0 version: 0.0.0
synopsis: extracts data from a CSV file synopsis: extracts data from a CSV file
description: extracts data from a CSV file - see README.md for more details description: extracts data from a CSV file - see README.md for more details
@ -21,9 +21,9 @@ extra-source-files:
library library
exposed-modules: exposed-modules:
Data.CSV.Slurp Data.CSV.Sip
other-modules: other-modules:
Paths_csv_slurp Paths_csv_sip
hs-source-dirs: hs-source-dirs:
src src
ghc-options: -Wall ghc-options: -Wall
@ -34,14 +34,14 @@ library
, text , text
, transformers , transformers
default-language: Haskell2010 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 type: exitcode-stdio-1.0
main-is: Spec.hs main-is: Spec.hs
other-modules: other-modules:
Data.CSV.SlurpSpec Data.CSV.SipSpec
Paths_csv_slurp Paths_csv_sip
hs-source-dirs: hs-source-dirs:
test test
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
@ -49,9 +49,9 @@ test-suite csv-slurp-test
base >=4.7 && <5 base >=4.7 && <5
, bytestring , bytestring
, conduit >=1.3.4.2 && <1.4 , conduit >=1.3.4.2 && <1.4
, csv-slurp , csv-sip
, hspec >=2.8.5 && <2.9 , hspec >=2.8.5 && <2.9
, text , text
, transformers , transformers
default-language: Haskell2010 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 version: 0.0.0
license: GPL-3.0-or-later license: GPL-3.0-or-later
author: "Jonathan Lamothe" author: "Jonathan Lamothe"
@ -31,10 +31,10 @@ dependencies:
library: library:
source-dirs: src source-dirs: src
verbatim: &paths verbatim: &paths
autogen-modules: Paths_csv_slurp autogen-modules: Paths_csv_sip
tests: tests:
csv-slurp-test: csv-sip-test:
main: Spec.hs main: Spec.hs
source-dirs: test source-dirs: test
ghc-options: ghc-options:
@ -42,7 +42,7 @@ tests:
- -rtsopts - -rtsopts
- -with-rtsopts=-N - -with-rtsopts=-N
dependencies: dependencies:
- csv-slurp - csv-sip
- hspec >= 2.8.5 && < 2.9 - hspec >= 2.8.5 && < 2.9
verbatim: verbatim:
<<: *paths <<: *paths

View File

@ -1,6 +1,6 @@
{-| {-|
Module : Data.CSV.Slurp Module : Data.CSV.Sip
Description : works with CSV files Description : works with CSV files
Copyright : (C) Jonathan Lamothe Copyright : (C) Jonathan Lamothe
License : GPL-3.0-or-later 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 #-} {-# LANGUAGE LambdaCase, OverloadedStrings #-}
module Data.CSV.Slurp ( module Data.CSV.Sip (
decodeRows, decodeRows,
decodeRawRows, decodeRawRows,
decodeUTF8, decodeUTF8,

View File

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

View File

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