Skip to content

Commit 4130ce0

Browse files
committed
1.004001
1 parent 03815bd commit 4130ce0

File tree

4 files changed

+8
-28
lines changed

4 files changed

+8
-28
lines changed

Changes

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

33
{{$NEXT}}
44

5+
1.004001 2022-02-20T15:45:24+01:00
6+
- Remove now incorrect mention of Color::Operators
7+
58
1.004 2022-02-20T15:35:37+01:00
69
- Operators are now exported by default
710
- Also tighten up the tests a bit with plans!

META6.json

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

README.md

+2-12
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,6 @@ DESCRIPTION
3636

3737
This module allows you to perform mathematical operations on RGB color tuples, as well as convert them into other color formats, like hex, and manipulate them by, for example, making them lighter, darker, or more or less saturated.
3838

39-
OPERATORS
40-
=========
41-
42-
```raku
43-
use Color;
44-
use Color::Operators;
45-
```
46-
47-
Note: as of this writing (Nov 17, 2015), merely importing the operators made Rakudo compile 20 seconds slower, hence the operators are in a separate module that you'll need to import.
48-
4939
CONSTRUCTOR
5040
===========
5141

@@ -307,8 +297,8 @@ say $c.rgbad; # (<2/51>, <188/255>, <74/85>, 1.0)
307297

308298
Converts the color to RGBA format ranging `0`..`1` and returns a list of the three colours, and alpha channel.
309299

310-
CUSTOM OPERATORS
311-
================
300+
OPERATORS
301+
=========
312302

313303
`+`
314304
---

lib/Color.rakumod

+2-15
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use Color::Conversion;
22
use Color::Utilities;
33
use Color::Manipulation;
44

5-
class Color:ver<1.004>:auth<zef:raku-community-modules> {
5+
class Color:ver<1.004001>:auth<zef:raku-community-modules> {
66
subset ValidRGB of Real where 0 <= $_ <= 255;
77

88
has ValidRGB $.r = 0;
@@ -285,19 +285,6 @@ This module allows you to perform mathematical operations on RGB color tuples,
285285
as well as convert them into other color formats, like hex, and manipulate
286286
them by, for example, making them lighter, darker, or more or less saturated.
287287
288-
=head1 OPERATORS
289-
290-
=begin code :lang<raku>
291-
292-
use Color;
293-
use Color::Operators;
294-
295-
=end code
296-
297-
Note: as of this writing (Nov 17, 2015), merely importing the operators
298-
made Rakudo compile 20 seconds slower, hence the operators are in a
299-
separate module that you'll need to import.
300-
301288
=head1 CONSTRUCTOR
302289
303290
=head2 C<new>
@@ -607,7 +594,7 @@ say $c.rgbad; # (<2/51>, <188/255>, <74/85>, 1.0)
607594
Converts the color to RGBA format ranging C<0>..C<1> and returns a list of
608595
the three colours, and alpha channel.
609596
610-
=head1 CUSTOM OPERATORS
597+
=head1 OPERATORS
611598
612599
=head2 C<+>
613600

0 commit comments

Comments
 (0)