rainbow-tests 0.18.0.0 → 0.20.0.0
raw patch · 4 files changed
+10/−10 lines, 4 filesdep ~rainbowPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: rainbow
API changes (from Hackage documentation)
- Rainbow.Colors.Coarbitrary: both :: Both -> Gen b -> Gen b
- Rainbow.Colors.Generators: both :: Gen Both
- Rainbow.Colors.Shrinkers: both :: Both -> [Both]
+ Rainbow.Colors.Coarbitrary: radiant :: Radiant -> Gen b -> Gen b
+ Rainbow.Colors.Generators: radiant :: Gen Radiant
+ Rainbow.Colors.Shrinkers: radiant :: Radiant -> [Radiant]
Files
- lib/Rainbow/Colors/Coarbitrary.hs +2/−2
- lib/Rainbow/Colors/Generators.hs +2/−2
- lib/Rainbow/Colors/Shrinkers.hs +3/−3
- rainbow-tests.cabal +3/−3
lib/Rainbow/Colors/Coarbitrary.hs view
@@ -5,8 +5,8 @@ import Rainbow.Types.Coarbitrary import qualified Prelude.Coarbitrary -both :: Both -> Gen b -> Gen b-both (Both c8 mc256) =+radiant :: Radiant -> Gen b -> Gen b+radiant (Radiant c8 mc256) = color8 c8 . Prelude.Coarbitrary.maybe color256 mc256
lib/Rainbow/Colors/Generators.hs view
@@ -6,6 +6,6 @@ import Control.Monad import qualified Prelude.Generators -both :: Gen C.Both-both = liftM2 C.Both G.color8+radiant :: Gen C.Radiant+radiant = liftM2 C.Radiant G.color8 (Prelude.Generators.maybe G.color256)
lib/Rainbow/Colors/Shrinkers.hs view
@@ -4,7 +4,7 @@ import qualified Rainbow.Types.Shrinkers as S import qualified Prelude.Shrinkers -both :: C.Both -> [C.Both]-both (C.Both c8 mc256) =- zipWith C.Both (S.color8 c8)+radiant :: C.Radiant -> [C.Radiant]+radiant (C.Radiant c8 mc256) =+ zipWith C.Radiant (S.color8 c8) (Prelude.Shrinkers.maybe S.color256 mc256)
rainbow-tests.cabal view
@@ -3,10 +3,10 @@ -- http://www.github.com/massysett/cartel -- -- Script name used to generate: genCabal.hs--- Generated on: 2014-10-27 11:16:33.494023 EDT+-- Generated on: 2014-11-22 18:13:51.98333 EST -- Cartel library version: 0.10.0.2 name: rainbow-tests-version: 0.18.0.0+version: 0.20.0.0 cabal-version: >= 1.14 build-type: Simple license: BSD3@@ -55,6 +55,6 @@ 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.2.0.0)- , rainbow == 0.18.0.0+ , rainbow == 0.20.0.0 , QuickCheck ((> 2.7.5 || == 2.7.5) && < 2.8) , barecheck ((> 0.2.0.0 || == 0.2.0.0) && < 0.3)