Tweaks to top-level files.
This commit is contained in:
parent
1fec1f6abf
commit
2f3802c4fd
5 changed files with 322 additions and 21 deletions
|
@ -1,13 +1,43 @@
|
|||
spec = Gem::Specification.new {|s|
|
||||
s.name = "netldap"
|
||||
s.version = "0.0.1"
|
||||
s.author = "Francis Cianfrocca"
|
||||
s.email = "garbagecat10@gmail.com"
|
||||
s.homepage = "netldap@rubyforge.org"
|
||||
s.summary = "Net::LDAP library"
|
||||
s.files = FileList["{bin,tests,lib}/**/*"].exclude("rdoc").to_a
|
||||
s.require_paths = ["lib"]
|
||||
s.test_file = "tests/testem.rb"
|
||||
s.has_rdoc = true
|
||||
s.extra_rdoc_files = ["README", "ChangeLog", "LICENCE"]
|
||||
}
|
||||
#--
|
||||
# Net::LDAP for Ruby.
|
||||
# http://rubyforge.org/projects/net-ldap/
|
||||
# Copyright 2006 Francis Cianfrocca
|
||||
#
|
||||
# Available under the same terms as Ruby. See LICENCE in the main
|
||||
# distribution for full licensing information.
|
||||
#
|
||||
# $Id: ChangeLog,v 1.17.2.4 2005/09/09 12:36:42 austin Exp $
|
||||
#++
|
||||
|
||||
spec = Gem::Specification.new do |s|
|
||||
s.name = "ruby-net-ldap"
|
||||
s.version = "0.0.1"
|
||||
s.summary = %q(A pure Ruby LDAP client library.)
|
||||
s.platform = Gem::Platform::RUBY
|
||||
|
||||
s.has_rdoc = true
|
||||
s.rdoc_options = %w(--title Net::LDAP --main README --line-numbers)
|
||||
s.extra_rdoc_files = %w(README ChangeLog LICENCE COPYING)
|
||||
|
||||
files = %w(README LICENCE ChangeLog COPYING {bin,tests,lib}/**/*)
|
||||
s.files = FileList[*files].exclude("rdoc").to_a
|
||||
|
||||
s.require_paths = ["lib"]
|
||||
|
||||
s.test_files = %w{tests/testem.rb}
|
||||
|
||||
s.author = "Francis Cianfrocca"
|
||||
s.email = "garbagecat10@gmail.com"
|
||||
s.rubyforge_project = %q(net-ldap)
|
||||
s.homepage = "http://rubyforge.org/projects/net-ldap"
|
||||
|
||||
description = []
|
||||
File.open("README") do |file|
|
||||
file.each do |line|
|
||||
line.chomp!
|
||||
break if line.empty?
|
||||
description << "#{line.gsub(/\[\d\]/, '')}"
|
||||
end
|
||||
end
|
||||
s.description = description[1..-1].join(" ")
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue