hiiro 0.1.311 → 0.1.312

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: d4937fcb1ad316ecedd51fe5559351c483ef900e19c23c7af48c49287854bbf9
4
- data.tar.gz: 1e3afdef66a5be9cf24a5ca4c3da12c55e25ffd0c219052be65c4e3730f25dfb
3
+ metadata.gz: 642d65332c793dd226c17c25bc4af3212ca91c89692df3496bbbd365500b9a72
4
+ data.tar.gz: 63fcdef502059eabb0f221c53b1939654095614c80979c4b4dd4037bed03277b
5
5
  SHA512:
6
- metadata.gz: 83338c0a75aadc645b41efbd79a28f2c3cf706e4087a2b55af2444f239e1af0c3e4b8746449ba8803dd795a228f3889976409b74848866553408e9b58a97b8b7
7
- data.tar.gz: e032125f376cb473f53dfb6d7021bca07218fddf32b02f3676d13280a39d08ddf217359f33a8e4c4c813a1e9af3ca4d5a126c1844b6dd22502b56ca7fbe53a86
6
+ metadata.gz: 263d41e99e5fa709ab75c52d650213274c5bc2ae013597d3c6afc600a31e08d06b0789209ad72530c088da6bd3b03371ff1c51439d2d095a0af821c1e2b14716
7
+ data.tar.gz: 28fced4432748e65568312d23ce0697e682d1fb851c74a135c9ed8f88d2cb7e629aa99f35a1327671b17a26d57f4d8210c1897b01d98d043b082c79bb9d9a774
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  ```markdown
2
2
  # Changelog
3
3
 
4
+ ## [0.1.312] - 2026-04-01
5
+
6
+ ### Fixed
7
+ - Separate `bin_name` and `args` initialization in `Hiiro.init` to prevent argument confusion in nested Hiiro instances
8
+
4
9
  ## [0.1.311] - 2026-04-01
5
10
 
6
11
  ### Changed
data/lib/hiiro/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Hiiro
2
- VERSION = "0.1.311"
2
+ VERSION = "0.1.312"
3
3
  end
data/lib/hiiro.rb CHANGED
@@ -66,8 +66,8 @@ class Hiiro
66
66
  Hiiro::DB.setup!
67
67
 
68
68
  ap(oargs: oargs, values: values)
69
- h_bin, *h_args = oargs
70
- h_bin ||= values[:bin_name] || $0
69
+ h_bin = values[:bin_name] || $0
70
+ h_args = oargs
71
71
  h_args = ARGV if h_args.empty?
72
72
  h_args = values[:args] if values.key?(:args)
73
73
  ap(h_bin: h_bin, h_args: h_args)
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.311
4
+ version: 0.1.312
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Toyota