hiiro 0.1.363 → 0.1.364
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 +7 -1
- data/lib/hiiro/version.rb +1 -1
- data/lib/hiiro.rb +4 -2
- data/script/publish +2 -0
- 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: bc3bb4ffb44a7fd10c4326c3b66ce610252b5577a2bf9bbd853609e136ce372d
|
|
4
|
+
data.tar.gz: b5656ec5578ab8d44db8d052ee221a8fc0ec7a20b3dd576e0f1e26aab8b50a75
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '089a0505748168d9589a116e9c21b2b7b28e7a5703128d4a897ba00d44d2fc19026230b4f34fb83fef436c96228e3e0c77e866683048cea0e73a4b977aa5656d'
|
|
7
|
+
data.tar.gz: 0557625e1493c2a9aad1e398f93f0ee1f1504eeea5b753c4c9de908ccb89a99731cdb6127d84d44396a5dcdfde43728fdc10670a457fea4a8686a4fb61f08bd9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.364] - 2026-09-13
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- Create the publish response log directory before saving Claude's output, preventing release preparation from failing when the directory is absent.
|
|
7
|
+
- Prevent infinite recursion in help directory grouping when command locations span different filesystem-root directories, such as `/Users` and `/Volumes`.
|
|
8
|
+
|
|
3
9
|
## [Unreleased]
|
|
4
10
|
|
|
5
11
|
### Added
|
|
@@ -362,4 +368,4 @@
|
|
|
362
368
|
- `h db cleanup` subcommand to preview and prune duplicate rows from SQLite tables
|
|
363
369
|
|
|
364
370
|
### Fixed
|
|
365
|
-
- Prevent duplicate pinned_prs during import with `insert_conflict` and per-row rescue
|
|
371
|
+
- Prevent duplicate pinned_prs during import with `insert_conflict` and per-row rescue
|
data/lib/hiiro/version.rb
CHANGED
data/lib/hiiro.rb
CHANGED
|
@@ -508,8 +508,10 @@ class Hiiro
|
|
|
508
508
|
if lca_depth >= min_depth
|
|
509
509
|
[lca]
|
|
510
510
|
else
|
|
511
|
-
|
|
512
|
-
|
|
511
|
+
subgroups = dirs.group_by do |dir|
|
|
512
|
+
depth = lca_depth + (dir.start_with?('/') ? 2 : 1)
|
|
513
|
+
dir.split('/').first(depth).join('/')
|
|
514
|
+
end
|
|
513
515
|
subgroups.flat_map { |_, group| consolidate_dirs(group, min_depth: min_depth) }.uniq
|
|
514
516
|
end
|
|
515
517
|
end
|
data/script/publish
CHANGED
|
@@ -4,6 +4,7 @@ require "net/http"
|
|
|
4
4
|
require "json"
|
|
5
5
|
require "open3"
|
|
6
6
|
require "shellwords"
|
|
7
|
+
require "fileutils"
|
|
7
8
|
|
|
8
9
|
HIIRO_SUPPORTED_RUBY_VERSION = ">= 3.2.0"
|
|
9
10
|
|
|
@@ -187,6 +188,7 @@ class Claude
|
|
|
187
188
|
puts '------------------------'
|
|
188
189
|
puts
|
|
189
190
|
|
|
191
|
+
FileUtils.mkdir_p('tmp/publish_output')
|
|
190
192
|
File.write('tmp/publish_output/' + Time.now.strftime('%Y%m%d%H%M%S') + '.json', raw)
|
|
191
193
|
parsed = JSON.parse(raw)
|
|
192
194
|
Result.new(parsed["commits"], parsed["changelog"])
|