Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 44 lines (37 sloc) 1.55 KB
# -*- encoding: utf-8 -*-
require "#{File.dirname(__FILE__)}/lib/redparse/version"
RedParse::Description=open("README.txt"){|f| f.read[/^==+ ?description[^\n]*?\n *\n?(.*?\n *\n.*?)\n *\n/im,1] }
RedParse::Latest_changes="###"+open("History.txt"){|f| f.read[/\A===(.*?)(?====)/m,1] }
Gem::Specification.new do |s|
s.name = "redparse"
s.version = RedParse::VERSION
s.date = Time.now.strftime("%Y-%m-%d")
s.authors = ["Caleb Clausen"]
s.email = %q{caleb (at) inforadical (dot) net}
s.summary = "RedParse is a ruby parser written in pure ruby."
s.description = RedParse::Description
s.homepage = %{http://github.com/coatl/redparse}
s.rubyforge_project = %q{redparse}
s.files = `git ls-files`.split
s.test_files = %w[test/test_all.rb]
s.require_paths = ["lib"]
s.extra_rdoc_files = ["README.txt", "COPYING.LGPL"]
s.has_rdoc = true
s.rdoc_options = %w[--main README.txt]
s.rubygems_version = %q{1.3.0}
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency("rubylexer", '0.7.7')
s.add_runtime_dependency("reg", ['>= 0.4.8'])
else
s.add_dependency("rubylexer", '0.7.7')
s.add_dependency("reg", ['>= 0.4.8'])
end
else
s.add_dependency("rubylexer", '0.7.7')
s.add_dependency("reg", ['>= 0.4.8'])
end
end