require "rubygems" spec = Gem::Specification.new do |spec| spec.name = "getopt-declare" spec.version = '1.30' spec.author = "Gonzalo Garramuno" spec.email = 'ggarra13@gmail.com' spec.homepage = 'http://www.rubyforge.org/projects/getoptdeclare/' spec.summary = 'A regex command-line parsing library.' spec.require_path = "lib" spec.files = ['getopt-declare.gemspec'] + Dir.glob("lib/Getopt/*.rb") + Dir.glob("samples/*.rb") + Dir.glob("test/*.rb") spec.description = <<-EOF A command-line parser using regular expressions. EOF spec.extra_rdoc_files = ["Manifest.txt", "README.txt"] + Dir.glob("docs/*/*") spec.has_rdoc = true spec.rubyforge_project = 'getopt-declare' spec.required_ruby_version = '>= 1.8.0' end