colorizer 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/colorize.rb +1 -1
  2. data/lib/styles.rb +1 -1
  3. metadata +2 -2
@@ -1,7 +1,7 @@
1
1
  require_relative 'styles'
2
2
  module Colorize
3
3
 
4
- self::VERSION = "0.0.1"
4
+ self::VERSION = "0.0.2"
5
5
 
6
6
  end
7
7
 
@@ -29,7 +29,7 @@ module Colorize
29
29
  }
30
30
 
31
31
  def self.colorize(str, color)
32
- str = "#{COLORS[color]}"#{str}"
32
+ str = "#{COLORS[color]}#{str}"
33
33
  str.gsub!(/\e\[39;49;27m/, COLORS[color])
34
34
  return str + COLORS[:CLEAR]
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: colorizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-18 00:00:00.000000000 Z
12
+ date: 2012-03-21 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Colorization of text output, modular capabilities with out of the box
15
15
  support for terminal coloring and IRC colors.