bible270 1.13.0 → 1.13.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67a4da0561f2ba1326490041bdc95c5a12121c2ad2ebab526e8c99da823d1f02
4
- data.tar.gz: 2e0faf9a902a23e4a4aa8df4bde6c9b89217073a175e1c154eaaeb722879ceba
3
+ metadata.gz: e3ad19cb0135805b5e2d26483aec5dd677963bbb68b0c30c7e5a55a5f5c524db
4
+ data.tar.gz: 2f38d9e1c8b23a2e942b8bbcb88e1465b041ba968dcbebff1e3be51c7e3c152f
5
5
  SHA512:
6
- metadata.gz: d49d1ec657acffb1c61b881a21a302edb638afa298c24362703fb0e02033a6bc9d9db46c4aa1bd8170df9f3a7260e09ee7b914851c581f2791be816b0be25464
7
- data.tar.gz: ae25c7f62f00bb8e15e0af6d60acb6b9b2ab9b6733c5524c269a0eeb8d2815ea8929a798169dc1a3822a43f06935f5d01c1673963096afa5853b54a10bb96457
6
+ metadata.gz: fe4d26bd641fe4d85b65c8dfa8a7f4b31ee694c5103803e8d41dc278ab7b877268fa30aa19101e69384d4569108fb988f49d243646e4011d5e22644be96b15cd
7
+ data.tar.gz: b2e0251c6c7a945a330be54b9d3a5438948dfc34d0a5cab5380b815826b0b51eb14479390e9ad9e39928a4db3938e5f336282c6bdbbe1b67ce1cd7c55a879f16
data/CHANGELOG.md CHANGED
@@ -4,6 +4,27 @@ All notable changes to bible270. Format follows [Keep a Changelog](https://keepa
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ### Fixed
8
+
9
+ - center the Hebrew and Greek background text in the available left and right margins on wide displays, while preserving narrow-screen positioning and phone visibility rules
10
+
11
+ **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.13.1...main)**
12
+
13
+ ## [1.13.1] - 2026-10-29
14
+
15
+ ### Changed
16
+
17
+ - show consistency scores, on-track/ahead percentages, evaluated-day counts, and provisional/unranked labels for every Admin reader sort, with the scoring explanation always visible
18
+
19
+ ### Fixed
20
+
21
+ - display negative consistency scores as `0` without changing the underlying ranking calculations or order
22
+ - filter expected libvips warnings from deliberately malformed image tests while preserving unexpected native output and leaving production logging unchanged
23
+
24
+ **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.13.0...v1.13.1)**
25
+
26
+ ## [1.13.0] - 2026-10-28
27
+
7
28
  ### Added
8
29
 
9
30
  - add a Consistency ranking sort to Admin readers, based on average end-of-day schedule performance: 100 on track, +5 per day ahead capped at seven days, and −10 per day behind
@@ -11,7 +32,12 @@ All notable changes to bible270. Format follows [Keep a Changelog](https://keepa
11
32
  - include a leftmost Rank column in Reader Stats when sorting by consistency, sharing competition ranks for tied metrics (for example, `1, 1, 1, 4`) and showing a dash for unranked readers
12
33
  - reconstruct consistency from recorded completion timestamps and current personal/shared schedules, excluding today and dates before enrollment or after the plan's end; changing check-offs or start dates can change reconstructed history
13
34
 
14
- **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.12.0...main)**
35
+ ### Changed
36
+
37
+ - replace Rails 7.1 with Rails 7.2 in the Ruby 3.2 CI matrix entry
38
+ - shorten the avatar backfill summary to “Originals retained.” and align its test expectation
39
+
40
+ **[Full Changelog](https://github.com/avonderluft/bible270/compare/v1.12.0...v1.13.0)**
15
41
 
16
42
  ## [1.12.0] - 2026-10-22
17
43
 
@@ -952,7 +978,9 @@ This is the initial public release.
952
978
 
953
979
  * Email sign-in requires working Action Mailer delivery in the host application. Set `config.mailer_from`; delivery is inline by default, or set `email_sign_in_deliver_later` when a queue backend is available.
954
980
 
955
- [Unreleased]: https://github.com/avonderluft/bible270/compare/v1.12.0...main
981
+ [Unreleased]: https://github.com/avonderluft/bible270/compare/v1.13.1...main
982
+ [1.13.1]: https://github.com/avonderluft/bible270/compare/v1.13.0...v1.13.1
983
+ [1.13.0]: https://github.com/avonderluft/bible270/compare/v1.12.0...v1.13.0
956
984
  [1.12.0]: https://github.com/avonderluft/bible270/compare/v1.11.1...v1.12.0
957
985
  [1.11.1]: https://github.com/avonderluft/bible270/compare/v1.11.0...v1.11.1
958
986
  [1.11.0]: https://github.com/avonderluft/bible270/compare/v1.10.2...v1.11.0
@@ -75,12 +75,10 @@
75
75
  aria-controls="b270-reader-stats-dialog" data-b270-reader-stats-open hidden>Reader Stats</button>
76
76
  </div>
77
77
 
78
- <% if @reader_sort == 'consistency' %>
79
- <p class="b270-hint">
80
- Average daily score through yesterday: 100 on track, +5 per day ahead (max +35), −10 per day behind.
81
- Under 7 days is provisional; no history is unranked. Check-off or schedule changes can alter scores.
82
- </p>
83
- <% end %>
78
+ <p class="b270-hint">
79
+ Average daily score through yesterday: 100 on track, +5 per day ahead (max +35), −10 per day behind.
80
+ Under 7 days is provisional; no history is unranked. Check-off or schedule changes can alter scores.
81
+ </p>
84
82
 
85
83
  <div class="b270-list">
86
84
  <% @readers.each do |reader| %>
@@ -101,19 +99,17 @@
101
99
  · <%= @days_completed[reader.id] %>/<%= Bible270::Plan::DAYS %> days
102
100
  · <%= @reader_report.status_for(reader) %>
103
101
  </div>
104
- <% if @reader_sort == 'consistency' %>
105
- <% consistency = @reader_report.consistency_for(reader) %>
106
- <div class="sub b270-reader-consistency">
107
- <% if consistency.ranked? %>
108
- <% if consistency.provisional? %><strong>Provisional</strong> · <% end %>
109
- Consistency: <%= number_with_precision(consistency.score.to_f, precision: 1) %>
110
- · On track/ahead: <%= consistency.on_track_percentage.round %>%
111
- · <%= pluralize(consistency.days_evaluated, 'day') %> evaluated
112
- <% else %>
113
- Consistency: Not ranked
114
- <% end %>
115
- </div>
116
- <% end %>
102
+ <% consistency = @reader_report.consistency_for(reader) %>
103
+ <div class="sub b270-reader-consistency">
104
+ <% if consistency.ranked? %>
105
+ <% if consistency.provisional? %><strong>Provisional</strong> · <% end %>
106
+ Consistency: <%= consistency.score.negative? ? '0' : number_with_precision(consistency.score.to_f, precision: 1) %>
107
+ · On track/ahead: <%= consistency.on_track_percentage.round %>%
108
+ · <%= pluralize(consistency.days_evaluated, 'day') %> evaluated
109
+ <% else %>
110
+ Consistency: Not ranked
111
+ <% end %>
112
+ </div>
117
113
  <div class="sub b270-reader-activity">
118
114
  <% if (activity = @recent_reader_activities[reader.id]) %>
119
115
  <%= b270_activity_datetime(activity.occurred_at) %>: <%= b270_reader_activity_description(activity) %>
@@ -15,6 +15,7 @@
15
15
  color-scheme:light;
16
16
  }
17
17
  .b270{
18
+ --b270-content-width:820px;
18
19
  margin:0; background:radial-gradient(120% 80% at 100% 0%,rgba(165,129,44,.06),transparent 55%),var(--paper);
19
20
  color:var(--ink); font-family:"Inter",system-ui,sans-serif; line-height:1.2; -webkit-font-smoothing:antialiased;
20
21
  }
@@ -155,6 +156,13 @@
155
156
  /* Match the moon's 90-unit right inset in its 1600 × 440, right-aligned slice viewport. */
156
157
  .b270-scripture-letters [lang="el"]{transform-box:view-box;transform:translateX(calc(100% - max(5.625%, var(--b270-scene-height) * 90 / 440)))}
157
158
  .b270-scripture-letters [lang="el"] tspan{font-size:.9em}
159
+ /* Once the side margins can fit the words, center each column between the
160
+ content wrapper and viewport edge. Hebrew already has an SVG x of 10%. */
161
+ @media (min-width:1200px){
162
+ .b270-theme-scripture{--b270-scripture-inset:calc((100% - var(--b270-content-width)) / 4)}
163
+ .b270-scripture-letters [lang="he"]{transform-box:view-box;transform:translateX(calc(var(--b270-scripture-inset) - 10%))}
164
+ .b270-scripture-letters [lang="el"]{transform:translateX(calc(100% - var(--b270-scripture-inset)))}
165
+ }
158
166
  /* Scale reflected Hebrew with the lake artwork, allowing for its smaller letterforms. */
159
167
  .b270-hebrew-water{font-size:max(2vw, var(--b270-scene-height) * 32 / 440);transform-box:view-box;transform:translate(10%,calc(100% - max(12.5vw, var(--b270-scene-height) * 200 / 440)))}
160
168
  @media (prefers-color-scheme:dark){
@@ -203,7 +211,7 @@
203
211
  qualified with .b270 to outrank it, or the link inherits body colour. */
204
212
  .b270 a{color:inherit}
205
213
  .b270 :where(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--gold);outline-offset:2px}
206
- .b270-wrap{max-width:820px;margin:0 auto;padding:clamp(14px,3.5vw,36px) clamp(14px,4vw,40px) 64px}
214
+ .b270-wrap{max-width:var(--b270-content-width);margin:0 auto;padding:clamp(14px,3.5vw,36px) clamp(14px,4vw,40px) 64px}
207
215
 
208
216
  .b270-topbar{display:flex;align-items:center;gap:12px;flex-wrap:nowrap;padding-bottom:20px;border-bottom:1px solid var(--line-soft);margin-bottom:26px}
209
217
  .b270-brand{display:flex;align-items:baseline;gap:14px;margin-right:auto;min-width:0}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bible270
4
- VERSION = '1.13.0'
4
+ VERSION = '1.13.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bible270
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew vonderLuft