summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-08-17 22:27:11 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-08-17 22:27:11 +0200
commit1fa4017a20dea1843e08afd257fc7798560659c4 (patch)
tree8174db50b45dda476e28a168b0834b4f0d39c465
parent921a17583067f49ed5c9f900b649d049c2b876ec (diff)
downloadcolitur-e26c84cab5f1afa503c149d4ea2921a3aa59a180.tar.gz
colitur-e26c84cab5f1afa503c149d4ea2921a3aa59a180.zip
test(cli): the 3 January pin is a BVM Saturday, not a feriav0.3.0
3 January 2026 is an unoccupied IV-class Saturday, so its office is Our Lady's and now its Mass is too -- the second of the Missal's five, assigned to Christmas through the Purification. The pin held the Christmastide feria's readings, which is what colitur said before RG 309(a) was implemented. Caught by make check on the 0.3.0 release, which is what that gate is for.
-rw-r--r--bin/main.ml2
-rw-r--r--colitur.opam2
-rw-r--r--dune-project2
-rw-r--r--test/cli.t9
4 files changed, 11 insertions, 4 deletions
diff --git a/bin/main.ml b/bin/main.ml
index fc50fae..196d137 100644
--- a/bin/main.ml
+++ b/bin/main.ml
@@ -368,7 +368,7 @@ let readings_report ~overlays y = resolved_year_report ~line:readings_line ~over
same reason. Deliberately NOT embedded in [help_text]: the cram test pins
help's first line, and a version in it would make every release edit a
test expectation for no gain. *)
-let version = "0.2.0"
+let version = "0.3.0"
let help_text =
{|colitur -- deterministic liturgical calendar engine (Roman rite, 1962)
diff --git a/colitur.opam b/colitur.opam
index 98b3242..73574b4 100644
--- a/colitur.opam
+++ b/colitur.opam
@@ -1,6 +1,6 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
-version: "0.2.0"
+version: "0.3.0"
synopsis: "Deterministic liturgical calendar engine (computus liturgicus)"
depends: [
"ocaml"
diff --git a/dune-project b/dune-project
index e150157..c110dd1 100644
--- a/dune-project
+++ b/dune-project
@@ -1,6 +1,6 @@
(lang dune 3.0)
(name colitur)
-(version 0.2.0)
+(version 0.3.0)
(generate_opam_files true)
(cram enable)
diff --git a/test/cli.t b/test/cli.t
index b19e8d4..39354c6 100644
--- a/test/cli.t
+++ b/test/cli.t
@@ -131,10 +131,17 @@ leave the row unsplittable by field number. `day`'s own format is therefore
byte-identical to what it was before readings existed -- asserted directly,
below.
+The third line is worth reading twice: 3 January 2026 is an unoccupied
+IV-class Saturday, so the day's office is Our Lady's (RG 78) and its Mass is
+hers too -- the second of the Missal's five "Missae de sancta Maria in
+sabbato", assigned to Christmas through the Purification (RG 309(a)). It is
+NOT the Christmastide feria's Mass, which is what colitur said before that
+rule was implemented.
+
$ colitur readings 2026 | head -3
2026-01-01 ef-circumcision | Titus 2:11-15 | Luke 2:21
2026-01-02 ef-christmas-1-friday | Titus 2:11-15 | Luke 2:21
- 2026-01-03 ef-christmas-1-saturday | Gal 4:1-7 | Luke 2:33-40
+ 2026-01-03 ef-christmas-1-saturday | Titus 3:4-7 | Luke 2:15-20
$ colitur readings 2026 | wc -l
365