term-ansicolor 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/CHANGES +3 -0
  2. data/Rakefile +4 -7
  3. data/VERSION +1 -1
  4. data/install.rb +2 -1
  5. data/make_doc.rb +6 -0
  6. metadata +8 -4
data/CHANGES CHANGED
@@ -1,3 +1,6 @@
1
+ 2005-11-12 * 1.0.2 * Added DESTDIR in front of install path to make repackaging
2
+ easier. Thanks to Tilman Sauerbeck <tilman@code-monkey.de>
3
+ for giving the hint.
1
4
  2005-09-05 * 1.0.1 * Fixed install bug in Rakefile, reported by
2
5
  Martin DeMello <martindemello@gmail.com>
3
6
  2004-12-23 * 1.0.0 * Added Term::ANSIColor.coloring[?=]? methods.
data/Rakefile CHANGED
@@ -13,19 +13,16 @@ PKG_FILES = Dir.glob("**/*").delete_if { |item|
13
13
 
14
14
  desc "Installing library"
15
15
  task :install do
16
- libdir = CONFIG["sitelibdir"]
17
- dest = File.join(libdir, 'term')
18
- mkdir_p dest
19
- install('lib/term/ansicolor.rb', dest)
16
+ ruby 'install.rb'
20
17
  end
21
18
 
22
19
  desc "Making rdoc documentation"
23
20
  task :doc do
24
- load "make_doc.rb"
21
+ ruby 'make_doc.rb'
25
22
  end
26
23
 
27
24
  task :clean do
28
- rm_r 'doc'
25
+ rm_rf 'doc'
29
26
  end
30
27
 
31
28
  spec = Gem::Specification.new do |s|
@@ -78,5 +75,5 @@ Rake::GemPackageTask.new(spec) do |pkg|
78
75
  pkg.package_files += PKG_FILES
79
76
  end
80
77
 
81
- task :release => :package
78
+ task :release => [:clean, :package ]
82
79
  # vim: set et sw=2 ts=2:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
data/install.rb CHANGED
@@ -5,8 +5,9 @@ include Config
5
5
  require 'fileutils'
6
6
  include FileUtils::Verbose
7
7
 
8
+ destdir = "#{ENV["DESTDIR"]}"
8
9
  libdir = CONFIG["sitelibdir"]
9
- dest = File.join(libdir, 'term')
10
+ dest = destdir + File.join(libdir, 'term')
10
11
  mkdir_p dest
11
12
  install('lib/term/ansicolor.rb', dest)
12
13
  # vim: set et sw=2 ts=2:
data/make_doc.rb ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $outdir = 'doc/'
4
+ puts "Creating documentation in '#$outdir'."
5
+ system "rdoc -d -o #$outdir lib/term/ansicolor.rb"
6
+ # vim: set et sw=4 ts=4:
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.1
2
+ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: term-ansicolor
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.1
7
- date: 2005-09-05
6
+ version: 1.0.2
7
+ date: 2005-11-12 00:00:00 +01:00
8
8
  summary: Ruby library that colors strings using ANSI escape sequences
9
9
  require_paths:
10
10
  - lib
11
- author: Florian Frank
12
11
  email: flori@ping.de
13
12
  homepage: http://term-ansicolor.rubyforge.org
14
13
  rubyforge_project: term-ansicolor
@@ -25,6 +24,10 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
25
24
  version: 0.0.0
26
25
  version:
27
26
  platform: ruby
27
+ signing_key:
28
+ cert_chain:
29
+ authors:
30
+ - Florian Frank
28
31
  files:
29
32
  - examples
30
33
  - install.rb
@@ -33,6 +36,7 @@ files:
33
36
  - VERSION
34
37
  - CHANGES
35
38
  - lib
39
+ - make_doc.rb
36
40
  - README.en
37
41
  - examples/example.rb
38
42
  - examples/cdiff.rb