tco 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fdfbac6ae8ea111dfb782e0d149df10ce836e738
4
- data.tar.gz: cbd63146bd36c9ee51022515706aea070ce1c332
3
+ metadata.gz: 12351cb4064a59b640275e0d2d082b6d482f0c7b
4
+ data.tar.gz: b018ed8395f12669c6aa6cd6162ed31637f3f1ff
5
5
  SHA512:
6
- metadata.gz: 7a4fe789d96cead271a765c44a7f66c9d67bb06ef4e41483873a67848c6098ecee69a4b7502f5dad6abf3f70e40d4ea23c39dbb0e6d7685ea902369c7293eb1a
7
- data.tar.gz: c3289c218898a8a335efff82349008071389ecadb6c32538e337d6d7f13696f53e292455f2037d5632d77af26fd7155112de98f150e48bc3f7696b9cce7a0d03
6
+ metadata.gz: a1e5e287d3c4d83ead4a8fcf6f70619e41e085b47b3213d45e70dd9abaf5968f343a5d4dfb407563e5a5c320ee4d620f1f940f4c00f702b91e840e1095fd9b20
7
+ data.tar.gz: 3e82b3277a5bc26f1ec4582a342a3e2d7b26a09d134358fd47cdd3807be16df176e696c74c6b130bb6cf2c75ec859ab7e8cdcbe828602c5fc0cbdf7da3b78ed7
@@ -59,8 +59,8 @@ module Tco
59
59
  :base_style => nil,
60
60
  :fg => nil,
61
61
  :bg => nil,
62
- :bright => false,
63
- :underline => false
62
+ :bright => nil,
63
+ :underline => nil
64
64
  }
65
65
 
66
66
  if default_style
@@ -22,5 +22,5 @@
22
22
  # THE SOFTWARE.
23
23
 
24
24
  module Tco
25
- VERSION = "0.1.5"
25
+ VERSION = "0.1.6"
26
26
  end
@@ -97,7 +97,7 @@ describe Tco do
97
97
  string = "The City of {{::u London}}, UK"
98
98
  expected = [
99
99
  Tco::Segment.new("The City of ", get_params),
100
- Tco::Segment.new("London", get_params(nil, nil, nil, false, true)),
100
+ Tco::Segment.new("London", get_params(nil, nil, nil, nil, true)),
101
101
  Tco::Segment.new(", UK", get_params)
102
102
  ]
103
103
 
@@ -1,7 +1,7 @@
1
1
  require "tco/style"
2
2
 
3
3
  module Utils
4
- def get_params(base_style=nil, fg=nil, bg=nil, bright=false, underline=false)
4
+ def get_params(base_style=nil, fg=nil, bg=nil, bright=nil, underline=nil)
5
5
  {
6
6
  :base_style => base_style,
7
7
  :fg => fg,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tco
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Radek Pazdera