term-ansicolor 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,20 +1,22 @@
1
- 2007-10-05 * 1.0.3 * Better documentation + some code clean up.
1
+ 2009-07-23 - 1.0.4 * Some cleanup.
2
+ * Build a gemspec file.
3
+ 2007-10-05 - 1.0.3 * Better documentation + some code clean up.
2
4
  * Deleted autorequire from Rakefile.
3
- 2005-11-12 * 1.0.2 * Added DESTDIR in front of install path to make repackaging
5
+ 2005-11-12 - 1.0.2 * Added DESTDIR in front of install path to make repackaging
4
6
  easier. Thanks to Tilman Sauerbeck <tilman@code-monkey.de>
5
7
  for giving the hint.
6
- 2005-09-05 * 1.0.1 * Fixed install bug in Rakefile, reported by
8
+ 2005-09-05 - 1.0.1 * Fixed install bug in Rakefile, reported by
7
9
  Martin DeMello <martindemello@gmail.com>
8
- 2004-12-23 * 1.0.0 * Added Term::ANSIColor.coloring[?=]? methods.
10
+ 2004-12-23 - 1.0.0 * Added Term::ANSIColor.coloring[?=]? methods.
9
11
  Thanks, Thomas Husterer for the contribution.
10
12
  * Minor cleanup of code.
11
13
  * Documented visible methods in the module.
12
- 2004-09-28 * 0.0.4 * First release on Rubyforge
14
+ 2004-09-28 - 0.0.4 * First release on Rubyforge
13
15
  * Supports Rubygems now
14
- 2003-10-09 * 0.0.3 * Added uncolored method as suggested by
16
+ 2003-10-09 - 0.0.3 * Added uncolored method as suggested by
15
17
  Thomas Husterer <Thomas.Husterer@heidelberg.com>
16
18
  * Added attribute methods with string arguments
17
19
  * Deleted now unused files
18
- 2002-07-27 * 0.0.2 * Minor Code Cleanup
20
+ 2002-07-27 - 0.0.2 * Minor Code Cleanup
19
21
  * Added cdiff.rb
20
- 2002-06-12 * 0.0.1 * Initial Release
22
+ 2002-06-12 - 0.0.1 * Initial Release
File without changes
@@ -9,6 +9,11 @@ Or if you prefer using Rake, try:
9
9
 
10
10
  # rake install
11
11
 
12
+ Or if you want to use rubygems just type this and rubygems fetches the gem and
13
+ installs it for you:
14
+
15
+ # gem install term-ansicolor
16
+
12
17
  Documentation
13
18
  =============
14
19
 
data/Rakefile CHANGED
@@ -1,56 +1,86 @@
1
- # Rakefile for File::Tail -*- ruby -*-
2
-
3
- require 'rake/gempackagetask'
1
+ begin
2
+ require 'rake/gempackagetask'
3
+ rescue LoadError
4
+ end
5
+ require 'rake/clean'
4
6
  require 'rbconfig'
5
-
6
7
  include Config
7
8
 
8
9
  PKG_NAME = 'term-ansicolor'
9
10
  PKG_VERSION = File.read('VERSION').chomp
10
- PKG_FILES = Dir.glob("**/*").delete_if { |item|
11
- item.include?("CVS") or item.include?("pkg")
12
- }
11
+ PKG_FILES = FileList['**/*'].exclude(/(CVS|\.svn|pkg|coverage|doc)/)
12
+ CLEAN.include 'coverage', 'doc'
13
13
 
14
14
  desc "Installing library"
15
15
  task :install do
16
16
  ruby 'install.rb'
17
17
  end
18
18
 
19
- desc "Making rdoc documentation"
19
+ desc "Creating documentation"
20
20
  task :doc do
21
21
  ruby 'make_doc.rb'
22
22
  end
23
23
 
24
- task :clean do
25
- rm_rf 'doc'
26
- end
27
24
 
28
- spec = Gem::Specification.new do |s|
29
- s.name = 'term-ansicolor'
30
- s.version = PKG_VERSION
25
+ if defined? Gem
26
+ spec_src =<<GEM
27
+ # -*- encoding: utf-8 -*-
28
+ Gem::Specification.new do |s|
29
+ s.name = '#{PKG_NAME}'
30
+ s.version = '#{PKG_VERSION}'
31
31
  s.summary = "Ruby library that colors strings using ANSI escape sequences"
32
32
  s.description = ""
33
33
 
34
- s.files = PKG_FILES
34
+ s.files = #{PKG_FILES.to_a.sort.inspect}
35
35
 
36
- s.require_path = 'lib' # Use these for libraries.
36
+ s.require_path = 'lib'
37
37
 
38
38
  s.has_rdoc = true
39
- s.rdoc_options <<
40
- '--title' << 'Term::ANSIColor' <<
41
- '--inline-source' <<
42
- '--line-numbers'
39
+ s.extra_rdoc_files << 'doc-main.txt'
40
+ s.rdoc_options << '--main' << 'doc-main.txt'
43
41
 
44
42
  s.author = "Florian Frank"
45
43
  s.email = "flori@ping.de"
46
- s.homepage = "http://term-ansicolor.rubyforge.org"
47
- s.rubyforge_project = "term-ansicolor"
44
+ s.homepage = "http://#{PKG_NAME}.rubyforge.org"
45
+ s.rubyforge_project = '#{PKG_NAME}'
48
46
  end
47
+ GEM
48
+
49
+ desc 'Create a gemspec file'
50
+ task :gemspec do
51
+ File.open("#{PKG_NAME}.gemspec", 'w') do |f|
52
+ f.puts spec_src
53
+ end
54
+ end
49
55
 
50
- Rake::GemPackageTask.new(spec) do |pkg|
51
- pkg.need_tar = true
52
- pkg.package_files += PKG_FILES
56
+ spec = eval(spec_src)
57
+ Rake::GemPackageTask.new(spec) do |pkg|
58
+ pkg.need_tar = true
59
+ pkg.package_files += PKG_FILES
60
+ end
53
61
  end
54
62
 
55
- task :release => [:clean, :package ]
56
- # vim: set et sw=2 ts=2:
63
+ desc m = "Writing version information for #{PKG_VERSION}"
64
+ task :version do
65
+ puts m
66
+ File.open(File.join('lib', 'term', 'ansicolor', 'version.rb'), 'w') do |v|
67
+ v.puts <<EOT
68
+ module Term
69
+ module ANSIColor
70
+ # Term::ANSIColor version
71
+ VERSION = '#{PKG_VERSION}'
72
+ VERSION_ARRAY = VERSION.split(/\\./).map { |x| x.to_i } # :nodoc:
73
+ VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
74
+ VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
75
+ VERSION_BUILD = VERSION_ARRAY[2] # :nodoc:
76
+ end
77
+ end
78
+ EOT
79
+ end
80
+ end
81
+
82
+ desc "Default"
83
+ task :default => [ :version, :gemspec ]
84
+
85
+ desc "Prepare a release"
86
+ task :release => [ :clean, :version, :gemspec, :package ]
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
@@ -0,0 +1,119 @@
1
+ == Term::ANSIColor - ANSI escape sequences in Ruby
2
+
3
+ === Description
4
+
5
+ This library can be used to color/uncolor strings using ANSI escape sequences.
6
+
7
+ === Author
8
+
9
+ Florian Frank mailto:flori@ping.de
10
+
11
+ === License
12
+
13
+ This is free software; you can redistribute it and/or modify it under the
14
+ terms of the GNU General Public License Version 2 as published by the Free
15
+ Software Foundation: www.gnu.org/copyleft/gpl.html
16
+
17
+ === Download
18
+
19
+ The latest version of this library can be downloaded at
20
+
21
+ * http://rubyforge.org/frs?group_id=391
22
+
23
+ The homepage of this library is located at
24
+
25
+ * http://term-ansicolor.rubyforge.org
26
+
27
+ === Examples
28
+
29
+ The file examples/example.rb in the source/gem-distribution shows how
30
+ this library can be used:
31
+ require 'term/ansicolor'
32
+
33
+ # Use this trick to work around namespace cluttering that
34
+ # happens if you just include Term::ANSIColor:
35
+
36
+ class Color
37
+ class << self
38
+ include Term::ANSIColor
39
+ end
40
+ end
41
+
42
+ print Color.red, Color.bold, "No Namespace cluttering:", Color.clear, "\n"
43
+ print Color.green + "green" + Color.clear, "\n"
44
+ print Color.on_red(Color.green("green")), "\n"
45
+ print Color.yellow { Color.on_black { "yellow on_black" } }, "\n\n"
46
+
47
+ # Or shortcut Term::ANSIColor by assignment:
48
+ c = Term::ANSIColor
49
+
50
+ print c.red, c.bold, "No Namespace cluttering (alternative):", c.clear, "\n"
51
+ print c.green + "green" + c.clear, "\n"
52
+ print c.on_red(c.green("green")), "\n"
53
+ print c.yellow { c.on_black { "yellow on_black" } }, "\n\n"
54
+
55
+ # Anyway, I don't define any of Term::ANSIColor's methods in this example
56
+ # and I want to keep it short:
57
+ include Term::ANSIColor
58
+
59
+ print red, bold, "Usage as constants:", reset, "\n"
60
+ print clear, "clear", reset, reset, "reset", reset,
61
+ bold, "bold", reset, dark, "dark", reset,
62
+ underscore, "underscore", reset, blink, "blink", reset,
63
+ negative, "negative", reset, concealed, "concealed", reset, "|\n",
64
+ black, "black", reset, red, "red", reset, green, "green", reset,
65
+ yellow, "yellow", reset, blue, "blue", reset, magenta, "magenta", reset,
66
+ cyan, "cyan", reset, white, "white", reset, "|\n",
67
+ on_black, "on_black", reset, on_red, "on_red", reset,
68
+ on_green, "on_green", reset, on_yellow, "on_yellow", reset,
69
+ on_blue, "on_blue", reset, on_magenta, "on_magenta", reset,
70
+ on_cyan, "on_cyan", reset, on_white, "on_white", reset, "|\n\n"
71
+
72
+ print red, bold, "Usage as unary argument methods:", reset, "\n"
73
+ print clear("clear"), reset("reset"), bold("bold"), dark("dark"),
74
+ underscore("underscore"), blink("blink"), negative("negative"),
75
+ concealed("concealed"), "|\n",
76
+ black("black"), red("red"), green("green"), yellow("yellow"),
77
+ blue("blue"), magenta("magenta"), cyan("cyan"), white("white"), "|\n",
78
+ on_black("on_black"), on_red("on_red"), on_green("on_green"),#
79
+ on_yellow("on_yellow"), on_blue("on_blue"), on_magenta("on_magenta"),
80
+ on_cyan("on_cyan"), on_white("on_white"), "|\n\n"
81
+
82
+ print red { bold { "Usage as block forms:" } }, "\n"
83
+ print clear { "clear" }, reset { "reset" }, bold { "bold" },
84
+ dark { "dark" }, underscore { "underscore" }, blink { "blink" },
85
+ negative { "negative" }, concealed { "concealed" }, "|\n",
86
+ black { "black" }, red { "red" }, green { "green" },
87
+ yellow { "yellow" }, blue { "blue" }, magenta { "magenta" },
88
+ cyan { "cyan" }, white { "white" }, "|\n",
89
+ on_black { "on_black" }, on_red { "on_red" }, on_green { "on_green" },
90
+ on_yellow { "on_yellow" }, on_blue { "on_blue" },
91
+ on_magenta { "on_magenta" }, on_cyan { "on_cyan" },
92
+ on_white { "on_white" }, "|\n\n"
93
+
94
+ # Usage as Mixin into String or its Subclasses
95
+ class String
96
+ include Term::ANSIColor
97
+ end
98
+
99
+ print "Usage as String Mixins:".red.bold, "\n"
100
+ print "clear".clear, "reset".reset, "bold".bold, "dark".dark,
101
+ "underscore".underscore, "blink".blink, "negative".negative,
102
+ "concealed".concealed, "|\n",
103
+ "black".black, "red".red, "green".green, "yellow".yellow,
104
+ "blue".blue, "magenta".magenta, "cyan".cyan, "white".white, "|\n",
105
+ "on_black".on_black, "on_red".on_red, "on_green".on_green,
106
+ "on_yellow".on_yellow, "on_blue".on_blue, "on_magenta".on_magenta,
107
+ "on_cyan".on_cyan, "on_white".on_white, "|\n\n"
108
+
109
+ symbols = Term::ANSIColor::attributes
110
+ print red { bold { "All supported attributes = " } },
111
+ blue { symbols.inspect }, "\n\n"
112
+
113
+ print "Send symbols to strings:".send(:red).send(:bold), "\n"
114
+ print symbols[12, 8].map { |c| c.to_s.send(c) }, "\n\n"
115
+
116
+ print red { bold { "Make strings monochromatic again:" } }, "\n"
117
+ print [ "red".red, "not red anymore".red.uncolored,
118
+ uncolored { "not red anymore".red }, uncolored("not red anymore".red)
119
+ ].map { |x| x + "\n" }
@@ -17,4 +17,3 @@ ARGF.each do |line|
17
17
  end
18
18
  )
19
19
  end
20
- # vim: set et sw=2 ts=2:
@@ -87,4 +87,3 @@ print red { bold { "Make strings monochromatic again:" } }, "\n"
87
87
  print [ "red".red, "not red anymore".red.uncolored,
88
88
  uncolored { "not red anymore".red }, uncolored("not red anymore".red)
89
89
  ].map { |x| x + "\n" }
90
- # vim: set et sw=2 ts=2:
data/install.rb CHANGED
@@ -10,4 +10,6 @@ libdir = CONFIG["sitelibdir"]
10
10
  dest = destdir + File.join(libdir, 'term')
11
11
  mkdir_p dest
12
12
  install 'lib/term/ansicolor.rb', dest
13
- # vim: set et sw=2 ts=2:
13
+ dest = destdir + File.join(libdir, 'term', 'ansicolor')
14
+ mkdir_p dest
15
+ install 'lib/term/ansicolor/version.rb', dest
@@ -1,122 +1,5 @@
1
- # = Term::ANSIColor - ANSI escape sequences in Ruby
2
- #
3
- # == Description
4
- #
5
- # This library can be used to color/uncolor strings using ANSI escape sequences.
6
- #
7
- # == Author
8
- #
9
- # Florian Frank mailto:flori@ping.de
10
- #
11
- # == License
12
- #
13
- # This is free software; you can redistribute it and/or modify it under the
14
- # terms of the GNU General Public License Version 2 as published by the Free
15
- # Software Foundation: www.gnu.org/copyleft/gpl.html
16
- #
17
- # == Download
18
- #
19
- # The latest version of this library can be downloaded at
20
- #
21
- # * http://rubyforge.org/frs?group_id=391
22
- #
23
- # The homepage of this library is located at
24
- #
25
- # * http://term-ansicolor.rubyforge.org
26
- #
27
- # == Examples
28
- #
29
- # The file examples/example.rb in the source/gem-distribution shows how
30
- # this library can be used:
31
- # require 'term/ansicolor'
32
- #
33
- # # Use this trick to work around namespace cluttering that
34
- # # happens if you just include Term::ANSIColor:
35
- #
36
- # class Color
37
- # class << self
38
- # include Term::ANSIColor
39
- # end
40
- # end
41
- #
42
- # print Color.red, Color.bold, "No Namespace cluttering:", Color.clear, "\n"
43
- # print Color.green + "green" + Color.clear, "\n"
44
- # print Color.on_red(Color.green("green")), "\n"
45
- # print Color.yellow { Color.on_black { "yellow on_black" } }, "\n\n"
46
- #
47
- # # Or shortcut Term::ANSIColor by assignment:
48
- # c = Term::ANSIColor
49
- #
50
- # print c.red, c.bold, "No Namespace cluttering (alternative):", c.clear, "\n"
51
- # print c.green + "green" + c.clear, "\n"
52
- # print c.on_red(c.green("green")), "\n"
53
- # print c.yellow { c.on_black { "yellow on_black" } }, "\n\n"
54
- #
55
- # # Anyway, I don't define any of Term::ANSIColor's methods in this example
56
- # # and I want to keep it short:
57
- # include Term::ANSIColor
58
- #
59
- # print red, bold, "Usage as constants:", reset, "\n"
60
- # print clear, "clear", reset, reset, "reset", reset,
61
- # bold, "bold", reset, dark, "dark", reset,
62
- # underscore, "underscore", reset, blink, "blink", reset,
63
- # negative, "negative", reset, concealed, "concealed", reset, "|\n",
64
- # black, "black", reset, red, "red", reset, green, "green", reset,
65
- # yellow, "yellow", reset, blue, "blue", reset, magenta, "magenta", reset,
66
- # cyan, "cyan", reset, white, "white", reset, "|\n",
67
- # on_black, "on_black", reset, on_red, "on_red", reset,
68
- # on_green, "on_green", reset, on_yellow, "on_yellow", reset,
69
- # on_blue, "on_blue", reset, on_magenta, "on_magenta", reset,
70
- # on_cyan, "on_cyan", reset, on_white, "on_white", reset, "|\n\n"
71
- #
72
- # print red, bold, "Usage as unary argument methods:", reset, "\n"
73
- # print clear("clear"), reset("reset"), bold("bold"), dark("dark"),
74
- # underscore("underscore"), blink("blink"), negative("negative"),
75
- # concealed("concealed"), "|\n",
76
- # black("black"), red("red"), green("green"), yellow("yellow"),
77
- # blue("blue"), magenta("magenta"), cyan("cyan"), white("white"), "|\n",
78
- # on_black("on_black"), on_red("on_red"), on_green("on_green"),#
79
- # on_yellow("on_yellow"), on_blue("on_blue"), on_magenta("on_magenta"),
80
- # on_cyan("on_cyan"), on_white("on_white"), "|\n\n"
81
- #
82
- # print red { bold { "Usage as block forms:" } }, "\n"
83
- # print clear { "clear" }, reset { "reset" }, bold { "bold" },
84
- # dark { "dark" }, underscore { "underscore" }, blink { "blink" },
85
- # negative { "negative" }, concealed { "concealed" }, "|\n",
86
- # black { "black" }, red { "red" }, green { "green" },
87
- # yellow { "yellow" }, blue { "blue" }, magenta { "magenta" },
88
- # cyan { "cyan" }, white { "white" }, "|\n",
89
- # on_black { "on_black" }, on_red { "on_red" }, on_green { "on_green" },
90
- # on_yellow { "on_yellow" }, on_blue { "on_blue" },
91
- # on_magenta { "on_magenta" }, on_cyan { "on_cyan" },
92
- # on_white { "on_white" }, "|\n\n"
93
- #
94
- # # Usage as Mixin into String or its Subclasses
95
- # class String
96
- # include Term::ANSIColor
97
- # end
98
- #
99
- # print "Usage as String Mixins:".red.bold, "\n"
100
- # print "clear".clear, "reset".reset, "bold".bold, "dark".dark,
101
- # "underscore".underscore, "blink".blink, "negative".negative,
102
- # "concealed".concealed, "|\n",
103
- # "black".black, "red".red, "green".green, "yellow".yellow,
104
- # "blue".blue, "magenta".magenta, "cyan".cyan, "white".white, "|\n",
105
- # "on_black".on_black, "on_red".on_red, "on_green".on_green,
106
- # "on_yellow".on_yellow, "on_blue".on_blue, "on_magenta".on_magenta,
107
- # "on_cyan".on_cyan, "on_white".on_white, "|\n\n"
108
- #
109
- # symbols = Term::ANSIColor::attributes
110
- # print red { bold { "All supported attributes = " } },
111
- # blue { symbols.inspect }, "\n\n"
112
- #
113
- # print "Send symbols to strings:".send(:red).send(:bold), "\n"
114
- # print symbols[12, 8].map { |c| c.to_s.send(c) }, "\n\n"
115
- #
116
- # print red { bold { "Make strings monochromatic again:" } }, "\n"
117
- # print [ "red".red, "not red anymore".red.uncolored,
118
- # uncolored { "not red anymore".red }, uncolored("not red anymore".red)
119
- # ].map { |x| x + "\n" }
1
+ require 'term/ansicolor/version'
2
+
120
3
  module Term
121
4
  # The ANSIColor module can be used for namespacing and mixed into your own
122
5
  # classes.
@@ -217,4 +100,3 @@ module Term
217
100
  extend self
218
101
  end
219
102
  end
220
- # vim: set et sw=2 ts=2:
@@ -0,0 +1,10 @@
1
+ module Term
2
+ module ANSIColor
3
+ # Term::ANSIColor version
4
+ VERSION = '1.0.4'
5
+ VERSION_ARRAY = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
6
+ VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
7
+ VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
8
+ VERSION_BUILD = VERSION_ARRAY[2] # :nodoc:
9
+ end
10
+ end
@@ -0,0 +1,20 @@
1
+ # -*- encoding: utf-8 -*-
2
+ Gem::Specification.new do |s|
3
+ s.name = 'term-ansicolor'
4
+ s.version = '1.0.4'
5
+ s.summary = "Ruby library that colors strings using ANSI escape sequences"
6
+ s.description = ""
7
+
8
+ s.files = ["CHANGES", "COPYING", "README", "Rakefile", "VERSION", "examples", "examples/cdiff.rb", "examples/example.rb", "install.rb", "lib", "lib/term", "lib/term/ansicolor", "lib/term/ansicolor.rb", "lib/term/ansicolor/version.rb", "term-ansicolor.gemspec"]
9
+
10
+ s.require_path = 'lib'
11
+
12
+ s.has_rdoc = true
13
+ s.extra_rdoc_files << 'doc-main.txt'
14
+ s.rdoc_options << '--main' << 'doc-main.txt'
15
+
16
+ s.author = "Florian Frank"
17
+ s.email = "flori@ping.de"
18
+ s.homepage = "http://term-ansicolor.rubyforge.org"
19
+ s.rubyforge_project = 'term-ansicolor'
20
+ end
metadata CHANGED
@@ -1,61 +1,67 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4
3
- specification_version: 1
4
2
  name: term-ansicolor
5
3
  version: !ruby/object:Gem::Version
6
- version: 1.0.3
7
- date: 2007-10-05 00:00:00 +02:00
8
- summary: Ruby library that colors strings using ANSI escape sequences
9
- require_paths:
10
- - lib
11
- email: flori@ping.de
12
- homepage: http://term-ansicolor.rubyforge.org
13
- rubyforge_project: term-ansicolor
14
- description: ""
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 1.0.4
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - Florian Frank
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-07-23 00:00:00 +02:00
13
+ default_executable:
14
+ dependencies: []
15
+
16
+ description: ""
17
+ email: flori@ping.de
18
+ executables: []
19
+
20
+ extensions: []
21
+
22
+ extra_rdoc_files:
23
+ - doc-main.txt
31
24
  files:
32
- - install.rb
33
- - lib
34
- - make_doc.rb
35
25
  - CHANGES
36
- - README.en
37
- - VERSION
26
+ - COPYING
27
+ - README
38
28
  - Rakefile
39
- - GPL
40
- - examples
41
- - lib/term
42
- - lib/term/ansicolor.rb
29
+ - VERSION
43
30
  - examples/cdiff.rb
44
31
  - examples/example.rb
45
- test_files: []
32
+ - install.rb
33
+ - lib/term/ansicolor.rb
34
+ - lib/term/ansicolor/version.rb
35
+ - term-ansicolor.gemspec
36
+ - doc-main.txt
37
+ has_rdoc: true
38
+ homepage: http://term-ansicolor.rubyforge.org
39
+ licenses: []
46
40
 
41
+ post_install_message:
47
42
  rdoc_options:
48
- - --title
49
- - Term::ANSIColor
50
- - --inline-source
51
- - --line-numbers
52
- extra_rdoc_files: []
53
-
54
- executables: []
55
-
56
- extensions: []
57
-
43
+ - --main
44
+ - doc-main.txt
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: "0"
52
+ version:
53
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: "0"
58
+ version:
58
59
  requirements: []
59
60
 
60
- dependencies: []
61
+ rubyforge_project: term-ansicolor
62
+ rubygems_version: 1.3.2
63
+ signing_key:
64
+ specification_version: 3
65
+ summary: Ruby library that colors strings using ANSI escape sequences
66
+ test_files: []
61
67
 
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- puts "Creating documentation."
4
- system "rdoc --line-numbers --inline-source --title Term::ANSIColor -d #{Dir['lib/**/*.rb'] * ' '}"
5
- # vim: set et sw=2 ts=2: