howzit 2.1.2 → 2.1.3
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/colors.rb +2 -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: d34bc56b28033e3f708225b2706bca8d0c2ccaa3d727f9193855412940071e68
|
4
|
+
data.tar.gz: 0f78cefe615f34c31590e206081c01d3b7229da6e1045ea215872fc71ba2942c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e22946b9e257c6d13ce3d950584049f31c570aa618e047e6041ea1ef5b3a9ca85322124ef6fcc04a41dac4860b3441045265a4080886df13d31322b7bd88ad80
|
7
|
+
data.tar.gz: 120350fb80cea5353cc79dbe8f63e5adec7d14b45fa6df526cc3de349a8d54a797bf283467d4d45f4156a34b3ea2d06c8915f9b66b7e1eff6cf0d95fd6f777a7
|
data/CHANGELOG.md
CHANGED
data/lib/howzit/colors.rb
CHANGED
@@ -237,7 +237,7 @@ module Howzit
|
|
237
237
|
Y: bgyellow, C: bgcyan, M: bgmagenta, R: bgred,
|
238
238
|
d: dark, b: bold, u: underline, i: italic, x: reset }
|
239
239
|
|
240
|
-
format(fmt, colors)
|
240
|
+
fmt.empty? ? input : format(fmt, colors)
|
241
241
|
end
|
242
242
|
end
|
243
243
|
|
@@ -304,7 +304,7 @@ module Howzit
|
|
304
304
|
%w[r g b].each do |e|
|
305
305
|
t << parts[e].hex
|
306
306
|
end
|
307
|
-
|
307
|
+
|
308
308
|
"\e[#{is_bg ? '48' : '38'};2;#{t.join(';')}m"
|
309
309
|
end
|
310
310
|
|
data/lib/howzit/version.rb
CHANGED