~db-keen/tanzanite/rat

« back to all changes in this revision

Viewing changes to archive-tar-minitar.gemspec

  • Committer: austin
  • Date: 2007-02-05 03:24:13 UTC
  • Revision ID: svn-v4:8b90d6ed-dc11-0410-98dd-e2d1db709ad4:rat/spikes/2006-05-13:45
Reorganizing the RAT project.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Gem::Specification.new do |s|
 
2
  s.name = %{archive-tar-minitar}
 
3
  s.version = %{0.5.1}
 
4
  s.author = %{Austin Ziegler, Mauricio Fernandez}
 
5
  s.email = %{minitar@halostatue.ca}
 
6
  s.homepage = %{http://rubyforge.org/projects/ruwiki/}
 
7
  s.rubyforge_project = %{ruwiki}
 
8
 
 
9
  s.files = Dir.glob("**/*").delete_if do |item|
 
10
    item.include?("CVS") or item.include?(".svn") or
 
11
    item == "install.rb" or item =~ /~$/ or
 
12
    item =~ /gem(?:spec)?$/
 
13
  end
 
14
 
 
15
  s.summary = %{Provides POSIX tarchive management from Ruby programs.}
 
16
  s.platform = Gem::Platform::RUBY
 
17
 
 
18
  s.required_ruby_version = %(>=1.8.1)
 
19
 
 
20
  s.executables = %w(minitar)
 
21
  s.bindir = %(bin)
 
22
 
 
23
  s.test_files = %w{tests/testall.rb}
 
24
 
 
25
  s.require_paths = %w{lib}
 
26
 
 
27
  description = []
 
28
  File.open("README") do |file|
 
29
    file.each do |line|
 
30
      line.chomp!
 
31
      break if line.empty?
 
32
      description << "#{line.gsub(/\[\d\]/, '')}"
 
33
    end
 
34
  end
 
35
  s.description = description[2..-1].join(" ")
 
36
 
 
37
  s.has_rdoc = true
 
38
  s.rdoc_options = ["--title", "Archive::Tar::MiniTar -- A POSIX tarchive library", "--main", "README", "--line-numbers"]
 
39
  s.extra_rdoc_files = %w(README ChangeLog Install)
 
40
end