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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f52debf7400300975671eefe3d6bac6766179c179f40cecdafd91d611ae9500b
4
- data.tar.gz: 2a5edf1448073cffb3afa07620c92a5e478fd057537f8f16c15d8234697bc28f
3
+ metadata.gz: bc3bb4ffb44a7fd10c4326c3b66ce610252b5577a2bf9bbd853609e136ce372d
4
+ data.tar.gz: b5656ec5578ab8d44db8d052ee221a8fc0ec7a20b3dd576e0f1e26aab8b50a75
5
5
  SHA512:
6
- metadata.gz: 22521e0b7c2be0f03b371e5471840eb81e504557b81b0d2a8f45242871160fa1960406d742d79ffc704f3333a3aa606be03519253bc0bf98beca3a9b49fd7ef7
7
- data.tar.gz: 6c102bd975d77c9eadaeee63810bc04fefceb09f77b046caa1c7e05486c48928287be23815f9bd36665ad065324724e636e67d3ab0856c36cbd0a5634b7b13d4
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
@@ -1,4 +1,4 @@
1
1
  class Hiiro
2
- VERSION = "0.1.363"
2
+ VERSION = "0.1.364"
3
3
  SUPPORTED_RUBY_VERSION = ">= 3.2.0"
4
4
  end
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
- lca_parts = lca.split('/')
512
- subgroups = dirs.group_by { |d| d.split('/').first(lca_parts.length + 1).join('/') }
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"])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiiro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.363
4
+ version: 0.1.364
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Toyota