coach_zed 0.5.4 → 0.5.5
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 +5 -0
- data/lib/coach_zed/version.rb +1 -1
- data/lib/coach_zed.rb +5 -5
- data/sig/coach_zed.rbs +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c6af1ca568407eb89fe5e9c34fd20be239f3fcc2963d0568b0b231ef29e449e3
|
|
4
|
+
data.tar.gz: a23a0dff9434267fce7cd571305b8a3bd86092458714e9f0e518e80ea3879d23
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d78d7f68312133ad22e80a86fd9e5f0a4125a1d343f1c1707af9ed05e4cd47b54a20d627f3da45cfaf7b1925a2e7209face19a4d3b652099d09132e6f4c4a9f
|
|
7
|
+
data.tar.gz: 6d3db4afed42811e3d52fe61bf5d504673db4b219b1e487a5189631a6cadec0a46a58294b28b1bf2e59c5e786987dfcc39b8c4eb01991cb12b7e8a86e0ebe553
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [](https://github.com/rossta/coach_zed/compare/v0.5.4...v) (2026-06-17)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* make feed basenames stable ([7ede924](https://github.com/rossta/coach_zed/commit/7ede9245e7d5796384067821993317556df4303c))
|
|
1
6
|
## [](https://github.com/rossta/coach_zed/compare/v0.5.3...v) (2026-06-17)
|
|
2
7
|
|
|
3
8
|
### Bug Fixes
|
data/lib/coach_zed/version.rb
CHANGED
data/lib/coach_zed.rb
CHANGED
|
@@ -134,7 +134,7 @@ class CoachZed
|
|
|
134
134
|
schedule = normalize_schedule(schedule, start_date:, prompt_text:, schedule_key:, catalog:, generation_days:)
|
|
135
135
|
|
|
136
136
|
schedule_path = write_schedule(schedule, schedule_key)
|
|
137
|
-
feed_paths = write_feeds(schedule, start_date:,
|
|
137
|
+
feed_paths = write_feeds(schedule, start_date:, existing_feed:)
|
|
138
138
|
|
|
139
139
|
Result.new(
|
|
140
140
|
schedule_path: schedule_path,
|
|
@@ -271,9 +271,9 @@ class CoachZed
|
|
|
271
271
|
path
|
|
272
272
|
end
|
|
273
273
|
|
|
274
|
-
def write_feeds(schedule, start_date:,
|
|
274
|
+
def write_feeds(schedule, start_date:, existing_feed:)
|
|
275
275
|
feed_output_dir.mkpath
|
|
276
|
-
base_path = feed_output_dir.join(feed_basename
|
|
276
|
+
base_path = feed_output_dir.join(feed_basename)
|
|
277
277
|
feed = FeedWriter.new(
|
|
278
278
|
schedule:,
|
|
279
279
|
start_date:,
|
|
@@ -290,7 +290,7 @@ class CoachZed
|
|
|
290
290
|
"schedule-#{schedule_key}.json"
|
|
291
291
|
end
|
|
292
292
|
|
|
293
|
-
def feed_basename
|
|
294
|
-
feed_output_basename || "schedule
|
|
293
|
+
def feed_basename
|
|
294
|
+
feed_output_basename || "schedule"
|
|
295
295
|
end
|
|
296
296
|
end
|
data/sig/coach_zed.rbs
CHANGED
|
@@ -82,9 +82,9 @@ class CoachZed
|
|
|
82
82
|
def catalog_digest: (Array[CoachZed::Catalog::Entry] catalog) -> String
|
|
83
83
|
def normalize_schedule: (Hash[String, untyped] schedule, start_date: Date, prompt_text: String, schedule_key: String, catalog: Array[CoachZed::Catalog::Entry], generation_days: Integer) -> Hash[String, untyped]
|
|
84
84
|
def write_schedule: (Hash[String, untyped] schedule, String schedule_key) -> Pathname
|
|
85
|
-
def write_feeds: (Hash[String, untyped] schedule, start_date: Date,
|
|
85
|
+
def write_feeds: (Hash[String, untyped] schedule, start_date: Date, existing_feed: CoachZed::FeedReader?) -> Hash[Symbol, Pathname]
|
|
86
86
|
def schedule_filename: (String schedule_key) -> String
|
|
87
|
-
def feed_basename:
|
|
87
|
+
def feed_basename: -> String
|
|
88
88
|
|
|
89
89
|
module Catalog
|
|
90
90
|
class Entry
|