shellopts 2.6.6 → 2.6.7
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/shellopts/formatter.rb +1 -1
- data/lib/shellopts/version.rb +1 -1
- data/lib/shellopts.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: b62638f4ec78998683bbe89550dbcb5b204db943a1fdbd0cee9e4a21fe80a59b
|
|
4
|
+
data.tar.gz: '08a7d6d55386c5df575bb27d71e3872ec0ccde1e7e87c8b50dc21b54d9f14b53'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ba5cafa3f9ae8ac279053da18e5d271a8759bb73be427b8ef04c32b71f1a550797d836ad5d54d2c543a4a800de9f0d51020e7c7a70019b9c56a5d489ee16a51e
|
|
7
|
+
data.tar.gz: c0ee29769c1854af57a098409033cce93acbc78146373d2c09176b52850fca3b465d639e169a5692acc4ac1dd3c8b74b8a80b4a864f4aa1484011a15c88bf5b4
|
data/lib/shellopts/formatter.rb
CHANGED
|
@@ -133,7 +133,7 @@ module ShellOpts
|
|
|
133
133
|
s += "S" if commands.size > 1 || commands.size == 1 && commands.first.commands.size > 1
|
|
134
134
|
end
|
|
135
135
|
puts
|
|
136
|
-
indent(-1)
|
|
136
|
+
indent(-1) { puts Ansi.bold s }
|
|
137
137
|
newline = false
|
|
138
138
|
next if child.is_a?(Section)
|
|
139
139
|
else # Any other node adds a newline
|
data/lib/shellopts/version.rb
CHANGED
data/lib/shellopts.rb
CHANGED
|
@@ -38,7 +38,7 @@ require_relative 'shellopts/dump.rb'
|
|
|
38
38
|
# * Describe the difference between StandardError, RuntimeError, and IOError
|
|
39
39
|
# * Add an #internal error handling for the production environment that
|
|
40
40
|
# prints an intelligble error message and prettyfies stack dump. This
|
|
41
|
-
# should catch non-RuntimeError/
|
|
41
|
+
# should catch non-RuntimeError/IOError exceptions
|
|
42
42
|
# * Find a reliable way of testing environment
|
|
43
43
|
|
|
44
44
|
module ShellOpts
|