termcolor 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -17,8 +17,8 @@ task :gemspec do |t|
17
17
  Gem::Specification.new do |s|
18
18
  s.name = 'termcolor'
19
19
  s.version = '#{TermColor::VERSION}'
20
- s.summary = "Termcolor is a library for ANSII color formatting like HTML for output in terminal."
21
- s.description = "Termcolor is a library for ANSII color formatting like HTML for output in terminal."
20
+ s.summary = "Termcolor is a library for ANSI color formatting like HTML for output in terminal."
21
+ s.description = "Termcolor is a library for ANSI color formatting like HTML for output in terminal."
22
22
  s.files = %w( #{Dir['lib/**/*.rb'].join(' ')}
23
23
  #{Dir['spec/**/*.rb'].join(' ')}
24
24
  #{Dir['examples/**/*.rb'].join(' ')}
@@ -6,7 +6,7 @@ puts TermColor.parse <<EOS
6
6
 
7
7
  <on_blue><white><bold>TermColor Example</bold></white></on_blue>
8
8
 
9
- <on_green><white>Termcolor</white></on_green> is a library for <red><bold>ANSII</bold></red> <blue>c</blue><yellow>o</yellow><green>l</green>o<red>r</red> formatting like <on_magenta>HTML</on_magenta>
9
+ <on_green><white>Termcolor</white></on_green> is a library for <red><bold>ANSI</bold></red> <blue>c</blue><yellow>o</yellow><green>l</green>o<red>r</red> formatting like <on_magenta>HTML</on_magenta>
10
10
  for output in terminal.
11
11
 
12
12
  EOS
@@ -7,7 +7,7 @@ require 'rexml/parsers/baseparser'
7
7
  require 'rexml/streamlistener'
8
8
 
9
9
  module TermColor
10
- VERSION = '0.2.4'
10
+ VERSION = '0.2.5'
11
11
  include REXML
12
12
 
13
13
  class ParseError < StandardError; end
@@ -50,7 +50,7 @@ module TermColor
50
50
  def tag_end(name)
51
51
  @tag_stack.pop
52
52
  @result << HighLine::CLEAR
53
- @result << to_esc_seq(@tag_stack[-1].upcase) unless @tag_stack.empty?
53
+ @result << to_esc_seq(@tag_stack[-1]) unless @tag_stack.empty?
54
54
  end
55
55
 
56
56
  def to_esc_seq(name)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: termcolor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - jugyo
@@ -22,7 +22,7 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 1.5.0
24
24
  version:
25
- description: Termcolor is a library for ANSII color formatting like HTML for output in terminal.
25
+ description: Termcolor is a library for ANSI color formatting like HTML for output in terminal.
26
26
  email: jugyo.org@gmail.com
27
27
  executables: []
28
28
 
@@ -67,6 +67,6 @@ rubyforge_project: termcolor
67
67
  rubygems_version: 1.3.1
68
68
  signing_key:
69
69
  specification_version: 2
70
- summary: Termcolor is a library for ANSII color formatting like HTML for output in terminal.
70
+ summary: Termcolor is a library for ANSI color formatting like HTML for output in terminal.
71
71
  test_files: []
72
72