Skip to content

Commit b77a5b3

Browse files
committed
CI test prior to release
1 parent 64fcf2b commit b77a5b3

File tree

7 files changed

+305
-21
lines changed

7 files changed

+305
-21
lines changed

.META/SOURCE.cdx.json

Lines changed: 183 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,183 @@
1+
{
2+
"$schema": "http://cyclonedx.org/schema/bom-1.6.schema.json",
3+
"bomFormat": "CycloneDX",
4+
"specVersion": "1.6",
5+
"version": 1,
6+
"metadata": {
7+
"timestamp": "2025-08-03T13:03:47+00:00",
8+
"lifecycles": [
9+
{
10+
"phase": "pre-build"
11+
}
12+
],
13+
"authors": [
14+
{
15+
"bom-ref": "PhilipMabon",
16+
"name": "Philip Mabon"
17+
},
18+
{
19+
"bom-ref": "SteveSchulze",
20+
"name": "Steve Schulze"
21+
}
22+
],
23+
"component": {
24+
"type": "library",
25+
"mime-type": "text/plain",
26+
"bom-ref": "pkg:raku/zef:raku-community-modules/Algorithm::[email protected]",
27+
"authors": [
28+
{
29+
"bom-ref": "PhilipMabon",
30+
"name": "Philip Mabon"
31+
},
32+
{
33+
"bom-ref": "SteveSchulze",
34+
"name": "Steve Schulze"
35+
}
36+
],
37+
"publisher": "zef",
38+
"group": "zef:raku-community-modules",
39+
"name": "Algorithm::Diff",
40+
"version": "0.0.4",
41+
"description": "Compute `intelligent' differences between two files / lists",
42+
"scope": "required",
43+
"licenses": [
44+
{
45+
"license": {
46+
"id": "Artistic-2.0",
47+
"acknowledgement": "declared",
48+
"url": "https://spdx.org/licenses/Artistic-2.0.json"
49+
}
50+
}
51+
],
52+
"purl": "pkg:raku/zef:raku-community-modules/Algorithm::[email protected]",
53+
"externalReferences": [
54+
{
55+
"url": "https://raku.land/zef:raku-community-modules/Algorithm::Diff?v=0.0.4",
56+
"type": "documentation"
57+
},
58+
{
59+
"url": "mailto:[email protected]",
60+
"type": "support"
61+
},
62+
{
63+
"url": "https://github.com/raku-community-modules/Algorithm-Diff/issues",
64+
"type": "issue-tracker"
65+
},
66+
{
67+
"url": "https://github.com/raku-community-modules/Algorithm-Diff",
68+
"type": "distribution"
69+
},
70+
{
71+
"url": "https://github.com/raku-community-modules/Algorithm-Diff/archive/refs/tags/0.0.4.zip",
72+
"type": "source-distribution"
73+
},
74+
{
75+
"url": "https://spdx.org/licenses/Artistic-2.0.json",
76+
"type": "license"
77+
}
78+
],
79+
"tags": [
80+
"CPAN5",
81+
"DIFF",
82+
"ALGORITHM"
83+
]
84+
},
85+
"licenses": [
86+
{
87+
"license": {
88+
"id": "Artistic-2.0",
89+
"acknowledgement": "declared",
90+
"url": "https://spdx.org/licenses/Artistic-2.0.json"
91+
}
92+
}
93+
],
94+
"tools": {
95+
"components": [
96+
{
97+
"type": "library",
98+
"mime-type": "text/plain",
99+
"bom-ref": "pkg:raku/zef:lizmat/SBOM::[email protected]",
100+
"authors": [
101+
{
102+
"bom-ref": "ElizabethMattijsen",
103+
"name": "Elizabeth Mattijsen"
104+
}
105+
],
106+
"publisher": "zef",
107+
"group": "zef:lizmat",
108+
"name": "SBOM::Raku",
109+
"version": "0.0.6",
110+
"description": "Raku specific SBOM functionality",
111+
"scope": "required",
112+
"licenses": [
113+
{
114+
"license": {
115+
"id": "Artistic-2.0",
116+
"acknowledgement": "declared",
117+
"url": "https://spdx.org/licenses/Artistic-2.0.json"
118+
}
119+
}
120+
],
121+
"purl": "pkg:raku/zef:lizmat/SBOM::[email protected]",
122+
"externalReferences": [
123+
{
124+
"url": "https://raku.land/zef:lizmat/SBOM::Raku?v=0.0.6",
125+
"type": "documentation"
126+
},
127+
{
128+
"url": "mailto:[email protected]",
129+
"type": "support"
130+
},
131+
{
132+
"url": "https://github.com/lizmat/SBOM-Raku/issues",
133+
"type": "issue-tracker"
134+
},
135+
{
136+
"url": "https://github.com/lizmat/SBOM-Raku",
137+
"type": "distribution"
138+
},
139+
{
140+
"url": "https://github.com/lizmat/SBOM-Raku/archive/refs/tags/0.0.6.zip",
141+
"type": "source-distribution"
142+
},
143+
{
144+
"url": "https://spdx.org/licenses/Artistic-2.0.json",
145+
"type": "license"
146+
}
147+
],
148+
"tags": [
149+
"SBOM",
150+
"RAKU",
151+
"META"
152+
]
153+
}
154+
]
155+
}
156+
},
157+
"externalReferences": [
158+
{
159+
"url": "https://raku.land/zef:raku-community-modules/Algorithm::Diff?v=0.0.4",
160+
"type": "documentation"
161+
},
162+
{
163+
"url": "mailto:[email protected]",
164+
"type": "support"
165+
},
166+
{
167+
"url": "https://github.com/raku-community-modules/Algorithm-Diff/issues",
168+
"type": "issue-tracker"
169+
},
170+
{
171+
"url": "https://github.com/raku-community-modules/Algorithm-Diff",
172+
"type": "distribution"
173+
},
174+
{
175+
"url": "https://github.com/raku-community-modules/Algorithm-Diff/archive/refs/tags/0.0.4.zip",
176+
"type": "source-distribution"
177+
},
178+
{
179+
"url": "https://spdx.org/licenses/Artistic-2.0.json",
180+
"type": "license"
181+
}
182+
]
183+
}

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
.precomp
1+
.precomp/
2+
/Algorithm-Diff-*
3+
*.rakucov

Changes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Revision history for Algorithm-Diff
22

33
{{$NEXT}}
4+
- Modernize META6.json and doc
5+
- Add coverage testing (at 97%)
6+
- Add initial source SBOM
7+
- Update copyright year
48

59
0.0.4 2024-12-29T20:50:57+01:00
610
- Add CI badge for each OS

META6.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,35 @@
11
{
22
"auth": "zef:raku-community-modules",
3+
"authors": [
4+
"Philip Mabon",
5+
"Steve Schulze"
6+
],
37
"build-depends": [
48
],
59
"depends": [
610
],
711
"description": "Compute `intelligent' differences between two files / lists",
812
"license": "Artistic-2.0",
913
"name": "Algorithm::Diff",
10-
"perl": "6.*",
14+
"perl": "6.d",
1115
"provides": {
1216
"Algorithm::Diff": "lib/Algorithm/Diff.rakumod"
1317
},
18+
"raku": "6.d",
1419
"resources": [
1520
],
1621
"source-url": "https://github.com/raku-community-modules/Algorithm-Diff.git",
22+
"support": {
23+
"bugtracker": "https://github.com/raku-community-modules/Algorithm-Diff/issues",
24+
"email": "[email protected]",
25+
"source": "https://github.com/raku-community-modules/Algorithm-Diff.git"
26+
},
1727
"tags": [
1828
"CPAN5",
1929
"DIFF",
2030
"ALGORITHM"
2131
],
2232
"test-depends": [
2333
],
24-
"version": "0.0.4"
34+
"version": "0.0.5"
2535
}

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ while $diff.Next {
3838
}
3939

4040
# Alternate interfaces:
41-
4241
use Algorithm::Diff;
4342

4443
@lcs = LCS( @seq1, @seq2 );
@@ -47,7 +46,6 @@ $count = LCS_length( @seq1, @seq2 );
4746
( $seq1idxlist, $seq2idxlist ) = LCSidx( @seq1, @seq2 );
4847

4948
# Complicated interfaces:
50-
5149
@diffs = diff( @seq1, @seq2 );
5250

5351
@sdiffs = sdiff( @seq1, @seq2 );
@@ -696,7 +694,7 @@ This would use the 'ssn' field in each Person as a comparison key, and so would
696694
AUTHOR
697695
======
698696

699-
Based on Perl 5 version released by Tye McQueen (http://perlmonks.org/?node=tye).
697+
Based on Perl 5 version released by Tye McQueen.
700698

701699
Initial procedural interface port by takadonet. Further procedural porting and object interface port by Steve Schulze.
702700

@@ -705,7 +703,7 @@ LICENSE
705703

706704
Parts Copyright (c) 2000-2004 Ned Konz. All rights reserved. Parts by Tye McQueen.
707705

708-
Copyright 2024 Raku Community
706+
Copyright 2024 - 2025 Raku Community
709707

710708
This program is free software; you can redistribute it and/or modify it under the same terms as Perl.
711709

@@ -724,7 +722,7 @@ This code was adapted from the Smalltalk code of Mario Wolczko <[email protected]
724722

725723
The algorithm is that described in *A Fast Algorithm for Computing Longest Common Subsequences*, CACM, vol.20, no.5, pp.350-353, May 1977, with a few minor improvements to improve the speed.
726724

727-
Much work was done by Ned Konz ([email protected]).
725+
Much work was done by Ned Konz.
728726

729727
The OO interface and some other changes are by Tye McQueen.
730728

@@ -765,7 +763,7 @@ This code was adapted from the Smalltalk code of Mario Wolczko <[email protected]
765763

766764
THANKS SECTION
767765

768-
Thanks to Ned Konz's for rewriting the module to greatly improve performance, for maintaining it over the years, and for readilly handing it over to me so I could plod along with my improvements.
766+
Thanks to Ned Konz's for rewriting the module to greatly improve performance, for maintaining it over the years, and for readily handing it over to me so I could plod along with my improvements.
769767

770768
(From Ned Konz's earlier versions):
771769

0 commit comments

Comments
 (0)