packages feed

titlecase 0.1.0.2 → 0.1.0.3

raw patch · 5 files changed

+58/−102 lines, 5 filesdep ~basenew-uploader

Dependency ranges changed: base

Files

− .gitignore
@@ -1,2 +0,0 @@-*~-dist/
− README.md
@@ -1,10 +0,0 @@-# Titlecase Library for Haskell--This library basically offers a rough but mostly working function `titlecase` to-take any Text string and capitalize it according to English Title Case. While the-Data.Text function `toTitle` simply capitalizes the first letter of every word,-this Data.Text.Titlecase `titlecase` function uses the list of common words to-not capitalize. It then respects the rule of capitalizing the first and last-words regardless.--On Hackage at <https://hackage.haskell.org/package/titlecase>.
− shell.nix
@@ -1,35 +0,0 @@-{ nixpkgs ? import <nixpkgs> {}, compiler ? "default" }:--let--  inherit (nixpkgs) pkgs;--  f = { mkDerivation, base, blaze-markup, cabal-install, semigroups-      , stdenv, tasty , tasty-hunit, tasty-quickcheck, text-      }:-      mkDerivation {-        pname = "titlecase";-        version = "0.1.0.2";-        src = ./.;-        isLibrary = true;-        isExecutable = true;-        libraryHaskellDepends = [ base blaze-markup semigroups text ];-        executableHaskellDepends = [ base blaze-markup text ];-        testHaskellDepends = [-          base semigroups tasty tasty-hunit tasty-quickcheck text-        ];-        buildTools = [ cabal-install ];-        homepage = "https://github.com/nkaretnikov/titlecase";-        description = "Convert English words to title case";-        license = stdenv.lib.licenses.bsd3;-      };--  haskellPackages = if compiler == "default"-                       then pkgs.haskellPackages-                       else pkgs.haskell.packages.${compiler};--  drv = haskellPackages.callPackage f {};--in--  if pkgs.lib.inNixShell then drv.env else drv
− stack.yaml
@@ -1,5 +0,0 @@-flags: {}-packages:-- '.'-extra-deps: []-resolver: lts-3.6
titlecase.cabal view
@@ -1,64 +1,72 @@+-- This file has been generated from package.yaml by hpack version 0.14.1.+--+-- see: https://github.com/sol/hpack+ name:                titlecase-version:             0.1.0.2+version:             0.1.0.3 license:             BSD3 license-file:        LICENSE-author:              Nikita Karetnikov-maintainer:          nikita@karetnikov.org-homepage:            https://github.com/nkaretnikov/titlecase-bug-reports:         https://github.com/nkaretnikov/titlecase/issues-copyright:           2015 Nikita Karetnikov+author:              Nikita Karetnikov,+                     Peter Simons,+                     Aaron Wolf+maintainer:          Peter Simons <simons@cryp.to>+homepage:            https://github.com/peti/titlecase#readme+bug-reports:         https://github.com/peti/titlecase/issues category:            Text+stability:           stable build-type:          Simple-cabal-version:       >=1.10+cabal-version:       >= 1.10 synopsis:            Convert English words to title case-description:         Capitalize all English words except articles (a, an, the),-                     coordinating conjunctions (for, and, nor, but, or, yet, so), and-                     prepositions (unless they begin or end the title).  The-                     prepositions are taken from this list:-                     <https://en.wikipedia.org/wiki/List_of_English_prepositions>.--extra-source-files:-  .gitignore-  README.md-  shell.nix-  stack.yaml+description:         Capitalize all English words except articles (a, an, the), coordinating conjunctions (for, and, nor, but, or, yet, so), and prepositions (unless they begin or end the title).  The prepositions are taken from <https://en.wikipedia.org/wiki/List_of_English_prepositions>.+tested-with:         GHC > 7.6 && < 8.1  source-repository head-  type:     git-  location: https://github.com/nkaretnikov/titlecase+  type: git+  location: https://github.com/peti/titlecase  library-  default-language:    Haskell2010-  hs-source-dirs:      src-  ghc-options:         -Wall-  exposed-modules:     Data.Text.Titlecase-                     , Data.Text.Titlecase.Internal-  build-depends:       base >=4.7 && <4.9-                     , blaze-markup-                     , semigroups-                     , text+  default-language: Haskell2010+  hs-source-dirs:+    src+  ghc-options: -Wall+  build-depends:+    base <5,+    blaze-markup,+    semigroups,+    text+  exposed-modules:+    Data.Text.Titlecase+    Data.Text.Titlecase.Internal+  other-modules:+    Paths_titlecase  executable titlecase-  default-language:    Haskell2010-  main-is:             Main.hs-  ghc-options:         -Wall-  build-depends:       base < 5-                     , blaze-markup-                     , text-                     , titlecase+  default-language: Haskell2010+  main-is: Main.hs+  ghc-options: -Wall+  build-depends:+    base <5,+    blaze-markup,+    semigroups,+    text,+    titlecase  test-suite test-  default-language:    Haskell2010-  type:                exitcode-stdio-1.0-  hs-source-dirs:      tests-  main-is:             Test.hs-  ghc-options:         -Wall-  other-modules:       Test.Property-                     , Test.Unit-  build-depends:       base >=4.7 && <4.9-                     , semigroups-                     , tasty-                     , tasty-hunit-                     , tasty-quickcheck-                     , text-                     , titlecase+  type: exitcode-stdio-1.0+  main-is: Test.hs+  hs-source-dirs:+    tests+  ghc-options: -Wall+  build-depends:+    base <5,+    blaze-markup,+    semigroups,+    text,+    titlecase,+    tasty,+    tasty-hunit,+    tasty-quickcheck+  other-modules:+    Test.Property+    Test.Unit+  default-language: Haskell2010