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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed1678c76dbab07b672635ea8f4f2642bca6ea4c339913a1bb4c26d9d107e352
4
- data.tar.gz: f7de5dd2c274db6434d3207fc2c8a2623098682839530f908026043a6cab178d
3
+ metadata.gz: c6af1ca568407eb89fe5e9c34fd20be239f3fcc2963d0568b0b231ef29e449e3
4
+ data.tar.gz: a23a0dff9434267fce7cd571305b8a3bd86092458714e9f0e518e80ea3879d23
5
5
  SHA512:
6
- metadata.gz: 9611d02c22a0334fd49dce684d4545d777798dd6a76de72ff234cda80776b335ca166aacc565105b42b982a48e334ddd490fafc8162310d7c51e24b796c8c650
7
- data.tar.gz: 807a3a945eeb72ee436093acd22add82ee104472227dd38f353c6f24f2f86015d9d85892a79e16054b0c9c0b72403c26a4a6f6f674eff5784de32a5630f55e9e
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  class CoachZed
4
- VERSION = "0.5.4"
4
+ VERSION = "0.5.5"
5
5
  end
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:, schedule_key:, existing_feed:)
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:, schedule_key:, existing_feed:)
274
+ def write_feeds(schedule, start_date:, existing_feed:)
275
275
  feed_output_dir.mkpath
276
- base_path = feed_output_dir.join(feed_basename(schedule_key))
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(schedule_key)
294
- feed_output_basename || "schedule-#{schedule_key}"
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, schedule_key: String, existing_feed: CoachZed::FeedReader?) -> Hash[Symbol, Pathname]
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: (String schedule_key) -> String
87
+ def feed_basename: -> String
88
88
 
89
89
  module Catalog
90
90
  class Entry
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coach_zed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Kaffenberger