hiiro 0.1.312 → 0.1.313

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: 642d65332c793dd226c17c25bc4af3212ca91c89692df3496bbbd365500b9a72
4
- data.tar.gz: 63fcdef502059eabb0f221c53b1939654095614c80979c4b4dd4037bed03277b
3
+ metadata.gz: d0760d73ced611f47a517d2faa6cacca8efeb97060d8a4ed4fb3731e0a32dc27
4
+ data.tar.gz: 44833c289d4d8519b840597cd8eb276085918b39a2e4dd97a4ea280b22fc747a
5
5
  SHA512:
6
- metadata.gz: 263d41e99e5fa709ab75c52d650213274c5bc2ae013597d3c6afc600a31e08d06b0789209ad72530c088da6bd3b03371ff1c51439d2d095a0af821c1e2b14716
7
- data.tar.gz: 28fced4432748e65568312d23ce0697e682d1fb851c74a135c9ed8f88d2cb7e629aa99f35a1327671b17a26d57f4d8210c1897b01d98d043b082c79bb9d9a774
6
+ metadata.gz: a2cf3d9a87608e3e37a571e2e177f42383e691c80a7a1a7325ed3fa42a4ab7daf7ebc8d193db753cd9026ae57a56e0d1e75cea31a99332c539dcaf099b48c331
7
+ data.tar.gz: 68694cb3fb0de4bcf5be5d2af5e374be9eb48e356ea61215cf6fb23d2a803b04d67b44c00c002e2ef05542557fe5a33bd1c594ef93ce24bbb0198351744ed006
data/CHANGELOG.md CHANGED
@@ -1,6 +1,12 @@
1
1
  ```markdown
2
2
  # Changelog
3
3
 
4
+ ## [0.1.313] - 2026-04-01
5
+
6
+ ### Fixed
7
+ - Remove `awesome_print` dependency
8
+ - Do not splice values into subcommand constructor; pass them as keyword arguments to prevent arg leakage
9
+
4
10
  ## [0.1.312] - 2026-04-01
5
11
 
6
12
  ### Fixed
data/lib/hiiro/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Hiiro
2
- VERSION = "0.1.312"
2
+ VERSION = "0.1.313"
3
3
  end
data/lib/hiiro.rb CHANGED
@@ -3,6 +3,7 @@ require "yaml"
3
3
  require "shellwords"
4
4
  require "pry"
5
5
  require "ostruct"
6
+ require 'awesome_print'
6
7
 
7
8
  require_relative "hiiro/version"
8
9
  require_relative "hiiro/config"
@@ -65,12 +66,11 @@ class Hiiro
65
66
  load_env
66
67
  Hiiro::DB.setup!
67
68
 
68
- ap(oargs: oargs, values: values)
69
+
69
70
  h_bin = values[:bin_name] || $0
70
71
  h_args = oargs
71
72
  h_args = ARGV if h_args.empty?
72
73
  h_args = values[:args] if values.key?(:args)
73
- ap(h_bin: h_bin, h_args: h_args)
74
74
 
75
75
  # if values[:args]
76
76
  # args = values[:args]
@@ -570,7 +570,7 @@ class Hiiro
570
570
  bin_name,
571
571
  :DEFAULT,
572
572
  handler,
573
- **values
573
+ values
574
574
  )
575
575
  end
576
576
 
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.312
4
+ version: 0.1.313
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Toyota