Skip to content

Commit 03815bd

Browse files
committed
1.004
1 parent 3f57431 commit 03815bd

13 files changed

+245
-262
lines changed

Changes

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ Revision history for Color
22

33
{{$NEXT}}
44

5+
1.004 2022-02-20T15:35:37+01:00
6+
- Operators are now exported by default
7+
- Also tighten up the tests a bit with plans!
8+
59
1.003 2022-02-20T15:09:41+01:00
610
- First version in the zef ecosystem
711

META6.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@
2828
],
2929
"test-depends": [
3030
],
31-
"version": "1.003"
31+
"version": "1.004"
3232
}

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ my $saturated_pink = Color.new('#ED60A2') 🞉 20; # same as above
2525
# Create an inverted colour scheme:
2626
$_ = .invert for @colours_in_my_colourscheme;
2727

28-
use Color::Operators; # this gives us some ops to use on Color objects
28+
# Some ops to use on Color objects
2929
my $gray = $white / 2;
3030
say $gray.hex; # prints "#808080"
3131
say $almost_black + 25; # prints "42, 42, 42"
@@ -310,8 +310,6 @@ Converts the color to RGBA format ranging `0`..`1` and returns a list of the thr
310310
CUSTOM OPERATORS
311311
================
312312

313-
To get these, you need to `use Color::Operators` along with `use Color`.
314-
315313
`+`
316314
---
317315

0 commit comments

Comments
 (0)