termcolor 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +4 -0
- data/Rakefile +2 -0
- data/lib/termcolor.rb +2 -1
- data/spec/spec_helper.rb +0 -1
- data/spec/termcolor_spec.rb +0 -1
- metadata +1 -1
data/README.rdoc
CHANGED
data/Rakefile
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
1
2
|
$:.unshift File.dirname(__FILE__) + '/lib/'
|
2
3
|
require 'termcolor'
|
3
4
|
require 'spec/rake/spectask'
|
@@ -12,6 +13,7 @@ desc 'Generate gemspec'
|
|
12
13
|
task :gemspec do |t|
|
13
14
|
open('termcolor.gemspec', "wb" ) do |file|
|
14
15
|
file << <<-EOS
|
16
|
+
# -*- coding: utf-8 -*-
|
15
17
|
Gem::Specification.new do |s|
|
16
18
|
s.name = 'termcolor'
|
17
19
|
s.version = '#{TermColor::VERSION}'
|
data/lib/termcolor.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
1
2
|
require 'highline'
|
2
3
|
require 'cgi'
|
3
4
|
require 'rexml/parsers/streamparser'
|
@@ -5,7 +6,7 @@ require 'rexml/parsers/baseparser'
|
|
5
6
|
require 'rexml/streamlistener'
|
6
7
|
|
7
8
|
module TermColor
|
8
|
-
VERSION = '0.2.
|
9
|
+
VERSION = '0.2.1'
|
9
10
|
include REXML
|
10
11
|
|
11
12
|
class ParseError < StandardError; end
|
data/spec/spec_helper.rb
CHANGED
data/spec/termcolor_spec.rb
CHANGED