ansi_colors 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +5 -1
- data/VERSION +1 -1
- data/ansi_colors.gemspec +5 -4
- metadata +38 -27
data/README.markdown
CHANGED
@@ -2,8 +2,12 @@ Ansi Colors
|
|
2
2
|
===========
|
3
3
|
|
4
4
|
This gem adds methods to colorize string using ansi escape codes.
|
5
|
+
The gem works by adding methods to the standard String class. Added
|
6
|
+
methods all starts with the prefix 'ansi_' and continue with the name
|
7
|
+
of one of the names defined in the ANSI_CMD hash in ansi_colors.rb.
|
5
8
|
|
6
|
-
|
9
|
+
|
10
|
+
Example:
|
7
11
|
|
8
12
|
require 'ansi_colors'
|
9
13
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/ansi_colors.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{ansi_colors}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Roberto Esposito"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-09-01}
|
13
13
|
s.description = %q{Adds methods to add ansi colors escape codes to the standard String class}
|
14
14
|
s.email = %q{boborbt@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -30,13 +30,14 @@ Gem::Specification.new do |s|
|
|
30
30
|
s.homepage = %q{http://github.com/boborbt@gmail.com/ansi_colors}
|
31
31
|
s.licenses = ["MIT"]
|
32
32
|
s.require_paths = ["lib"]
|
33
|
-
s.rubygems_version = %q{1.
|
33
|
+
s.rubygems_version = %q{1.3.6}
|
34
34
|
s.summary = %q{Adds methods to add ansi colors escape codes to the standard String class}
|
35
35
|
|
36
36
|
if s.respond_to? :specification_version then
|
37
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
37
38
|
s.specification_version = 3
|
38
39
|
|
39
|
-
if Gem::Version.new(Gem::
|
40
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
40
41
|
s.add_development_dependency(%q<redcarpet>, [">= 0"])
|
41
42
|
s.add_development_dependency(%q<github-markup>, [">= 0"])
|
42
43
|
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
metadata
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ansi_colors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 1
|
9
|
+
version: 0.1.1
|
6
10
|
platform: ruby
|
7
11
|
authors:
|
8
12
|
- Roberto Esposito
|
@@ -10,53 +14,61 @@ autorequire:
|
|
10
14
|
bindir: bin
|
11
15
|
cert_chain: []
|
12
16
|
|
13
|
-
date: 2011-
|
17
|
+
date: 2011-09-01 00:00:00 +02:00
|
14
18
|
default_executable:
|
15
19
|
dependencies:
|
16
20
|
- !ruby/object:Gem::Dependency
|
21
|
+
prerelease: false
|
22
|
+
type: :development
|
17
23
|
name: redcarpet
|
18
|
-
|
19
|
-
none: false
|
24
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
20
25
|
requirements:
|
21
26
|
- - ">="
|
22
27
|
- !ruby/object:Gem::Version
|
28
|
+
segments:
|
29
|
+
- 0
|
23
30
|
version: "0"
|
24
|
-
|
25
|
-
prerelease: false
|
26
|
-
version_requirements: *id001
|
31
|
+
requirement: *id001
|
27
32
|
- !ruby/object:Gem::Dependency
|
33
|
+
prerelease: false
|
34
|
+
type: :development
|
28
35
|
name: github-markup
|
29
|
-
|
30
|
-
none: false
|
36
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
31
37
|
requirements:
|
32
38
|
- - ">="
|
33
39
|
- !ruby/object:Gem::Version
|
40
|
+
segments:
|
41
|
+
- 0
|
34
42
|
version: "0"
|
35
|
-
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: *id002
|
43
|
+
requirement: *id002
|
38
44
|
- !ruby/object:Gem::Dependency
|
45
|
+
prerelease: false
|
46
|
+
type: :development
|
39
47
|
name: bundler
|
40
|
-
|
41
|
-
none: false
|
48
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
42
49
|
requirements:
|
43
50
|
- - ~>
|
44
51
|
- !ruby/object:Gem::Version
|
52
|
+
segments:
|
53
|
+
- 1
|
54
|
+
- 0
|
55
|
+
- 0
|
45
56
|
version: 1.0.0
|
46
|
-
|
47
|
-
prerelease: false
|
48
|
-
version_requirements: *id003
|
57
|
+
requirement: *id003
|
49
58
|
- !ruby/object:Gem::Dependency
|
59
|
+
prerelease: false
|
60
|
+
type: :development
|
50
61
|
name: jeweler
|
51
|
-
|
52
|
-
none: false
|
62
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
53
63
|
requirements:
|
54
64
|
- - ~>
|
55
65
|
- !ruby/object:Gem::Version
|
66
|
+
segments:
|
67
|
+
- 1
|
68
|
+
- 6
|
69
|
+
- 4
|
56
70
|
version: 1.6.4
|
57
|
-
|
58
|
-
prerelease: false
|
59
|
-
version_requirements: *id004
|
71
|
+
requirement: *id004
|
60
72
|
description: Adds methods to add ansi colors escape codes to the standard String class
|
61
73
|
email: boborbt@gmail.com
|
62
74
|
executables: []
|
@@ -86,24 +98,23 @@ rdoc_options: []
|
|
86
98
|
require_paths:
|
87
99
|
- lib
|
88
100
|
required_ruby_version: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
101
|
requirements:
|
91
102
|
- - ">="
|
92
103
|
- !ruby/object:Gem::Version
|
93
|
-
hash: 3561104019310490159
|
94
104
|
segments:
|
95
105
|
- 0
|
96
106
|
version: "0"
|
97
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
108
|
requirements:
|
100
109
|
- - ">="
|
101
110
|
- !ruby/object:Gem::Version
|
111
|
+
segments:
|
112
|
+
- 0
|
102
113
|
version: "0"
|
103
114
|
requirements: []
|
104
115
|
|
105
116
|
rubyforge_project:
|
106
|
-
rubygems_version: 1.
|
117
|
+
rubygems_version: 1.3.6
|
107
118
|
signing_key:
|
108
119
|
specification_version: 3
|
109
120
|
summary: Adds methods to add ansi colors escape codes to the standard String class
|