hiiro 0.1.310 → 0.1.311
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 +5 -0
- data/lib/hiiro/version.rb +1 -1
- data/lib/hiiro.rb +8 -2
- 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: d4937fcb1ad316ecedd51fe5559351c483ef900e19c23c7af48c49287854bbf9
|
|
4
|
+
data.tar.gz: 1e3afdef66a5be9cf24a5ca4c3da12c55e25ffd0c219052be65c4e3730f25dfb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 83338c0a75aadc645b41efbd79a28f2c3cf706e4087a2b55af2444f239e1af0c3e4b8746449ba8803dd795a228f3889976409b74848866553408e9b58a97b8b7
|
|
7
|
+
data.tar.gz: e032125f376cb473f53dfb6d7021bca07218fddf32b02f3676d13280a39d08ddf217359f33a8e4c4c813a1e9af3ca4d5a126c1844b6dd22502b56ca7fbe53a86
|
data/CHANGELOG.md
CHANGED
data/lib/hiiro/version.rb
CHANGED
data/lib/hiiro.rb
CHANGED
|
@@ -65,10 +65,12 @@ class Hiiro
|
|
|
65
65
|
load_env
|
|
66
66
|
Hiiro::DB.setup!
|
|
67
67
|
|
|
68
|
+
ap(oargs: oargs, values: values)
|
|
68
69
|
h_bin, *h_args = oargs
|
|
69
70
|
h_bin ||= values[:bin_name] || $0
|
|
70
71
|
h_args = ARGV if h_args.empty?
|
|
71
72
|
h_args = values[:args] if values.key?(:args)
|
|
73
|
+
ap(h_bin: h_bin, h_args: h_args)
|
|
72
74
|
|
|
73
75
|
# if values[:args]
|
|
74
76
|
# args = values[:args]
|
|
@@ -90,7 +92,7 @@ class Hiiro
|
|
|
90
92
|
binding.pry
|
|
91
93
|
end
|
|
92
94
|
|
|
93
|
-
new(
|
|
95
|
+
new(h_bin, *h_args, logging: logging, tasks: tasks, task_scope: task_scope, **values).tap do |hiiro|
|
|
94
96
|
hiiro.load_plugins(plugins)
|
|
95
97
|
|
|
96
98
|
hiiro.add_subcommand(:pry) { |*args|
|
|
@@ -239,7 +241,11 @@ class Hiiro
|
|
|
239
241
|
block.arity == 1 ? block.call(h) : h.instance_eval(&block) if block
|
|
240
242
|
end
|
|
241
243
|
|
|
242
|
-
|
|
244
|
+
begin
|
|
245
|
+
Hiiro.init(bin_name: child_bin_name, args: child_args, **kwargs, &wrapper)
|
|
246
|
+
rescue => e
|
|
247
|
+
binding.pry
|
|
248
|
+
end
|
|
243
249
|
end
|
|
244
250
|
|
|
245
251
|
def run_child(custom_subcmd=nil, custom_args=nil, **kwargs, &block)
|