tco 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tco.rb +4 -4
- data/lib/tco/parser.rb +2 -2
- data/lib/tco/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fdfbac6ae8ea111dfb782e0d149df10ce836e738
|
4
|
+
data.tar.gz: cbd63146bd36c9ee51022515706aea070ce1c332
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a4fe789d96cead271a765c44a7f66c9d67bb06ef4e41483873a67848c6098ecee69a4b7502f5dad6abf3f70e40d4ea23c39dbb0e6d7685ea902369c7293eb1a
|
7
|
+
data.tar.gz: c3289c218898a8a335efff82349008071389ecadb6c32538e337d6d7f13696f53e292455f2037d5632d77af26fd7155112de98f150e48bc3f7696b9cce7a0d03
|
data/lib/tco.rb
CHANGED
@@ -71,10 +71,10 @@ module Tco
|
|
71
71
|
Style.new
|
72
72
|
end
|
73
73
|
|
74
|
-
style.fg = seg.params[:fg]
|
75
|
-
style.bg = seg.params[:bg]
|
76
|
-
style.bright = seg.params[:bright]
|
77
|
-
style.underline = seg.params[:underline]
|
74
|
+
style.fg = seg.params[:fg] if seg.params[:fg]
|
75
|
+
style.bg = seg.params[:bg] if seg.params[:bg]
|
76
|
+
style.bright = seg.params[:bright] if seg.params[:bright]
|
77
|
+
style.underline = seg.params[:underline] if seg.params[:underline]
|
78
78
|
|
79
79
|
output << decorate(seg.to_s, style)
|
80
80
|
end
|
data/lib/tco/parser.rb
CHANGED
data/lib/tco/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tco
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Radek Pazdera
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|