rainbow 0.20.0.6 → 0.20.2.0
raw patch · 3 files changed
+24/−13 lines, 3 filesdep ~basedep ~terminfodep ~textPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, terminfo, text
API changes (from Hackage documentation)
+ Rainbow: noColor256 :: Color256
+ Rainbow: noColor8 :: Color8
+ Rainbow: noColorRadiant :: Radiant
+ Rainbow.Colors: noColorRadiant :: Radiant
Files
- lib/Rainbow.hs +3/−0
- lib/Rainbow/Colors.hs +7/−0
- rainbow.cabal +14/−13
lib/Rainbow.hs view
@@ -171,6 +171,7 @@ -- ** Colors for both 8- and 256-color terminals , Radiant(..)+ , noColorRadiant , black , red , green@@ -184,6 +185,7 @@ -- ** Colors for 8-color terminals only , Enum8(..) , Color8(..)+ , noColor8 , black8 , red8 , green8@@ -195,6 +197,7 @@ -- ** Colors for 256-color terminals only , Color256(..)+ , noColor256 , grey , brightRed , brightGreen
lib/Rainbow/Colors.hs view
@@ -85,8 +85,15 @@ -- ^ If 'Nothing', use the 'rad8' color on 256-color terminals. } deriving (Eq, Ord, Show) +-- | A Radiant with the same color for both 8- and 256-color+-- terminals. both :: Color8 -> Radiant both c8 = Radiant c8 Nothing++-- | A Radiant that uses the terminal's default colors for both 8- and+-- 256-color terminals.+noColorRadiant :: Radiant+noColorRadiant = both noColor8 black :: Radiant black = both black8
rainbow.cabal view
@@ -3,10 +3,11 @@ -- http://www.github.com/massysett/cartel -- -- Script name used to generate: genCabal.hs--- Generated on: 2015-01-17 22:11:37.104413 EST--- Cartel library version: 0.12.0.0+-- Generated on: 2015-02-17 13:41:51.823085 EST+-- Cartel library version: 0.14.2.0+ name: rainbow-version: 0.20.0.6+version: 0.20.2.0 cabal-version: >= 1.16 license: BSD3 license-file: LICENSE@@ -31,23 +32,23 @@ libncurses5-dev package.) category: System tested-with:- GHC == 7.6.3- , GHC == 7.8.2+ GHC == 7.6.3+ GHC == 7.8.2 Library exposed-modules:- Rainbow- , Rainbow.Colors- , Rainbow.Types+ Rainbow+ Rainbow.Colors+ Rainbow.Types default-language: Haskell2010 ghc-options:- -Wall+ -Wall build-depends:- base ((> 4.5.0.0 || == 4.5.0.0) && < 4.8.0.0)- , terminfo ((> 0.3.2 || == 0.3.2) && < 0.5.0.0)- , text ((> 0.11.2.0 || == 0.11.2.0) && < 1.3.0.0)+ base >= 4.5.0.0 && < 4.8.0.0+ , terminfo >= 0.3.2 && < 0.5.0.0+ , text >= 0.11.2.0 && < 1.3.0.0 hs-source-dirs:- lib+ lib source-repository head type: git