bible270 0.6.3 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +86 -0
- data/README.md +202 -265
- data/app/views/layouts/bible270/application.html.erb +4 -3
- data/lib/bible270/configuration.rb +29 -0
- data/lib/bible270/plan.rb +168 -123
- data/lib/bible270/version.rb +1 -1
- data/lib/generators/bible270/install/install_generator.rb +4 -6
- data/lib/generators/bible270/install/templates/bible270.rb.tt +6 -0
- data/lib/generators/bible270/install/templates/omniauth.rb.tt +6 -4
- metadata +38 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f43ceaccb5fe5397321e30f7160d5014d0770d151aabba1c5e67f4cd0e03839a
|
|
4
|
+
data.tar.gz: 32bc3eb138bc02fdcd2057c19b4fb2393b70cd2317b85e9c2975b14b0a5799ff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 32dd6ec910606937339b441d3afd0bc09dcbc37b409b7a8d5d7b0c80287ba1c67409f818ab4a8b8f876478b013e8a0afbe27e3ae31a2d8388bd0905152123e74
|
|
7
|
+
data.tar.gz: d99dc775189163a6a67ed1ad8de20abfa2b7924bf13a6e20295edc6ad9c3c348abd016252bc0e4f589dd7988614ead0eb1b7e3846c42d5b08f873b712db284ad
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,89 @@ All notable changes to bible270. Format follows [Keep a Changelog](https://keepa
|
|
|
4
4
|
this project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html), treating pre-1.0 minor
|
|
5
5
|
bumps as the place breaking changes may land.
|
|
6
6
|
|
|
7
|
+
## [0.9.0] — 2026-07-25
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
- **The New Testament now has a reading every day — no days off.** 260 chapters over 270 days is
|
|
11
|
+
reconciled by dividing the 10 longest chapters in two: Luke 1, Matthew 26 and 27, Mark 14,
|
|
12
|
+
Luke 9, 12 and 22, John 6 and 8, and Acts 7. Luke 1 reads as 1–40 then 41–80. This drops the
|
|
13
|
+
longest NT reading from 80 verses to 58 (stdev 14.6 → 11.4) and removes the 10 rest days from
|
|
14
|
+
0.8.0, so all three tracks are present on all 270 days and every day needs three check-offs.
|
|
15
|
+
- The daily total is now 76–175 verses (was 76–203), averaging ~119.
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
- Shared division machinery used by both the NT and the Psalms: `Plan.divide_to_fill`,
|
|
19
|
+
`expand_readings`, `segment_length`, `format_segment`, `divided`.
|
|
20
|
+
- `Plan.nt_parts`, `nt_readings`, `nt_chapters`, `divided_nt_chapters`, `psalm_chapters`.
|
|
21
|
+
- `totals` reports `nt_readings` (270) and `nt_divided` (10).
|
|
22
|
+
|
|
23
|
+
### Removed
|
|
24
|
+
- `Plan.nt_groups`, `format_pp_segment`, `pp_segment_length` (superseded by the shared
|
|
25
|
+
`format_segment` and `segment_length`), and `totals[:nt_rest_days]`.
|
|
26
|
+
- `nt_rest_days` remains but now always returns an empty array.
|
|
27
|
+
|
|
28
|
+
## [0.8.0] — 2026-07-25
|
|
29
|
+
|
|
30
|
+
### Changed — BREAKING (the reading plan itself)
|
|
31
|
+
- **New Testament is read once**, not twice: one chapter a day with 10 evenly spaced days off
|
|
32
|
+
(every 27th). Matthew 1 on day 1, Revelation 22 on day 270. Chapters stay whole, so the NT load
|
|
33
|
+
swings with chapter length (8–80 verses: Revelation 15 to Luke 1). Verse-balancing the NT would
|
|
34
|
+
have needed 48 rest days,
|
|
35
|
+
since 260 whole chapters can't spread evenly over 270 days — one-a-day is the better trade.
|
|
36
|
+
- **Psalms once and Proverbs twice**, interleaved in the third track. Proverbs contributes
|
|
37
|
+
31 × 2 = 62 whole-chapter readings, spaced evenly, which leaves 208 days for the Psalms.
|
|
38
|
+
- **Psalm 119 is divided into 11 sections of exactly 16 verses** (176 = 11 × 16 — two of its
|
|
39
|
+
eight-verse acrostic stanzas per reading), replacing the previous two-part split.
|
|
40
|
+
- **Longer psalms are divided to fill the remaining days.** After Psalm 119's 11 sections, 48 further
|
|
41
|
+
divisions are spent on whichever psalm currently carries the heaviest reading, so the longest go
|
|
42
|
+
first: 41 psalms end up divided and no single psalm reading exceeds 20 verses.
|
|
43
|
+
- Short psalms are no longer merged with a neighbour — the track now needs more readings, not fewer,
|
|
44
|
+
so every psalm stands on its own day or is divided. Psalm 117 is a light day (2 verses) on that
|
|
45
|
+
track, though the day still carries its OT and NT readings.
|
|
46
|
+
- Proverbs 31 lands on day 135 and again on day 270; Psalm 150 on day 269.
|
|
47
|
+
- A typical day is now ~119 verses (range 76–203), down from ~157.
|
|
48
|
+
|
|
49
|
+
### Added
|
|
50
|
+
- `Plan.psalm_parts`, `psalm_readings`, `proverbs_readings`, `pp_readings`, `proverbs_days`,
|
|
51
|
+
`divided_psalms`, `nt_rest_days`, `pp_segment_length`, `format_pp_segment`.
|
|
52
|
+
- `totals` now reports `psalms`, `psalm_readings`, `proverbs`, `proverbs_passes`,
|
|
53
|
+
`proverbs_readings`, and `nt_rest_days`.
|
|
54
|
+
|
|
55
|
+
### Removed
|
|
56
|
+
- `PP_LONG_CHAPTER`, `PP_SPLIT_PARTS`, `PP_MIN_DAY`, `PP_DAY_TARGET` (no more merging or
|
|
57
|
+
threshold-based splitting), `pp_base_portions`, `pp_cycle_length`, `format_pp`,
|
|
58
|
+
`nt_days_per_pass`, `nt_second_pass_start_day`, `nt_chapters`, and `totals[:nt_chapters_read]`.
|
|
59
|
+
- New tuning constants are `PROVERBS_PASSES` and `PSALM_119_SECTION_SIZE`.
|
|
60
|
+
|
|
61
|
+
### Notes
|
|
62
|
+
- A day counts as complete when every track with content is ticked: three normally, two on the 10 NT
|
|
63
|
+
rest days. Check-offs are keyed to day and track, so existing rows stay valid — but the readings
|
|
64
|
+
those rows point at have changed, so anyone mid-plan is now tracking a different schedule.
|
|
65
|
+
|
|
66
|
+
## [0.7.0] — 2026-07-25
|
|
67
|
+
|
|
68
|
+
### Added
|
|
69
|
+
- **`config.mount_at`** — the mount path is now defined in one place, defaulting to `/daily-bread`.
|
|
70
|
+
`config/routes.rb` uses `mount Bible270::Engine, at: Bible270.config.mount_at` and
|
|
71
|
+
`config/initializers/omniauth.rb` uses `path_prefix Bible270.config.auth_path_prefix`, so moving
|
|
72
|
+
the plan is a one-line change. Values are normalised (`"read270"`, `"/read270"`, `"/read270/"` all
|
|
73
|
+
become `/read270`); nested paths and mounting at `/` are supported.
|
|
74
|
+
- `config.auth_path_prefix`, derived as `"<mount_at>/auth"`. An explicit
|
|
75
|
+
`config.omniauth_path_prefix` still takes precedence for unusual setups.
|
|
76
|
+
|
|
77
|
+
### Changed
|
|
78
|
+
- The install generator defaults to `/daily-bread`, writes `config.mount_at` into the engine
|
|
79
|
+
initializer, and emits a config-driven `mount` line and `path_prefix` rather than literal paths.
|
|
80
|
+
`--mount-at` is still accepted to set the initial value.
|
|
81
|
+
- README documents the mount point in one section, including the initializer load-order caveat
|
|
82
|
+
(`bible270.rb` must be read before `omniauth.rb`; alphabetical ordering makes the default naming
|
|
83
|
+
work) and the two things that still need editing by hand when the path changes: OAuth callback URLs
|
|
84
|
+
and any CMS links.
|
|
85
|
+
|
|
86
|
+
### Notes
|
|
87
|
+
- The engine's own sign-in paths are built from `request.script_name` at runtime, so they follow the
|
|
88
|
+
mount point without configuration.
|
|
89
|
+
|
|
7
90
|
## [0.6.3] — 2026-07-25
|
|
8
91
|
|
|
9
92
|
### Fixed
|
|
@@ -183,6 +266,9 @@ bumps as the place breaking changes may land.
|
|
|
183
266
|
- The schedule is pure, deterministic Ruby — no rows are stored for the plan itself; the database
|
|
184
267
|
holds only readers, check-offs, and comments.
|
|
185
268
|
|
|
269
|
+
[0.9.0]: https://github.com/avonderluft/bible270/releases/tag/v0.9.0
|
|
270
|
+
[0.8.0]: https://github.com/avonderluft/bible270/releases/tag/v0.8.0
|
|
271
|
+
[0.7.0]: https://github.com/avonderluft/bible270/releases/tag/v0.7.0
|
|
186
272
|
[0.6.3]: https://github.com/avonderluft/bible270/releases/tag/v0.6.3
|
|
187
273
|
[0.6.2]: https://github.com/avonderluft/bible270/releases/tag/v0.6.2
|
|
188
274
|
[0.6.1]: https://github.com/avonderluft/bible270/releases/tag/v0.6.1
|