howzit 2.0.11 → 2.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/howzit/topic.rb +8 -2
- data/lib/howzit/version.rb +1 -1
- 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: 700c444e11477c62c6de0f06b81b3029b21f3363f507c5a6cab927f2365d2be5
|
4
|
+
data.tar.gz: be862c2c31427abae2428a024009aea0f73885a5dc9652c5d2b5f308c181ca3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d07c309680eef72f5edb3b41d40354aa9cefa1b6efebd1c0dfbaa59f7cbfc95c6211433f081b6f21afa069cd5ae30f79dc42f1a4a08c96680b533b16519ca25b
|
7
|
+
data.tar.gz: '08ca9d51ec3793c1750d70f500bde1e68c1f327cd41d0b92839c317d6a421f96cbb8ef2f03204ab6cfe1ddb1d83a497084aa9590233d6ceb860921fdb473267e'
|
data/CHANGELOG.md
CHANGED
data/lib/howzit/topic.rb
CHANGED
@@ -52,7 +52,13 @@ module Howzit
|
|
52
52
|
|
53
53
|
@tasks.each do |task|
|
54
54
|
if task.optional
|
55
|
-
|
55
|
+
note = if task.type == :include
|
56
|
+
task_count = Howzit.buildnote.find_topic(task.action)[0].tasks.count
|
57
|
+
" (#{task_count} tasks)"
|
58
|
+
else
|
59
|
+
""
|
60
|
+
end
|
61
|
+
q = %({bg}#{task.type.to_s.capitalize} {xw}"{bw}#{task.title}{xw}"#{note}{x}).c
|
56
62
|
res = Prompt.yn(q, default: task.default)
|
57
63
|
next unless res
|
58
64
|
|
@@ -81,7 +87,7 @@ module Howzit
|
|
81
87
|
|
82
88
|
$stderr.puts "{by}Running tasks from {bw}#{matches[0].title}{x}".c if Howzit.options[:log_level] < 2
|
83
89
|
output.push(matches[0].run(nested: true))
|
84
|
-
$stderr.puts "{by}End include: #{matches[0].tasks.count} tasks".c if Howzit.options[:log_level] < 2
|
90
|
+
$stderr.puts "{by}End include: #{matches[0].tasks.count} tasks{x}".c if Howzit.options[:log_level] < 2
|
85
91
|
tasks += matches[0].tasks.count
|
86
92
|
when :run
|
87
93
|
$stderr.puts "{bg}Running {bw}#{title}{x}".c if Howzit.options[:log_level] < 2
|
data/lib/howzit/version.rb
CHANGED