hiiro 0.1.35 → 0.1.37
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/lib/hiiro/version.rb +1 -1
- data/lib/hiiro.rb +3 -1
- data/plugins/tasks.rb +2 -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: b8f76b4d5f87a24e6abe70551671016784e8a886156ecedf998ce2a8f47d4f14
|
|
4
|
+
data.tar.gz: bb4f837ecf2c28a42bc4163eed6dbd7520bef924dfea08a41cead4ea25e60f28
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a741ccffcb6d00fb698be7f13301696c80e33c139de95875fc21718209767f8e100a8abd27887ddc3b906ac0b7131315821bc62f7f6b9c4f49dc2bd4570959d
|
|
7
|
+
data.tar.gz: d5549a64268e79cd91a770740b2a8e43e2336c1da11547a85c732f4f02d4a6fd2599a64814b4e0360bdf24a02beb19c4371bc487bf171f7c325e98a348cbbd52
|
data/lib/hiiro/version.rb
CHANGED
data/lib/hiiro.rb
CHANGED
|
@@ -29,7 +29,9 @@ class Hiiro
|
|
|
29
29
|
args = ARGV if args.empty?
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
|
|
32
|
+
bin_name = values[:bin_name] || $0
|
|
33
|
+
|
|
34
|
+
new(bin_name, *args, logging: logging, **values).tap do |hiiro|
|
|
33
35
|
History.load(hiiro)
|
|
34
36
|
hiiro.load_plugins(*plugins)
|
|
35
37
|
|
data/plugins/tasks.rb
CHANGED
|
@@ -760,9 +760,9 @@ module Tasks
|
|
|
760
760
|
end
|
|
761
761
|
|
|
762
762
|
def self.build_hiiro(parent_hiiro, mgr)
|
|
763
|
-
|
|
763
|
+
bin_name = [parent_hiiro.bin, parent_hiiro.subcmd || ''].join('-')
|
|
764
764
|
|
|
765
|
-
Hiiro.init(args:
|
|
765
|
+
Hiiro.init(bin_name:, args: parent_hiiro.args) do |h|
|
|
766
766
|
puts "parent_hiiro: all_args: #{parent_hiiro.all_args}"
|
|
767
767
|
puts "parent_hiiro: parent_cmd: #{parent_hiiro.subcmd}"
|
|
768
768
|
puts "parent_hiiro: args: #{parent_hiiro.args}"
|