Gem::Specification.new do |spec| spec.name = "ajp-rails" spec.version = "0.1.0" spec.required_ruby_version = ">= 1.8.3" spec.add_dependency('ruby-ajp', '>= 0.2.1') spec.add_dependency('rails', '>= 0.14') spec.summary = "Ruby on Rails Runner, which uses AJP(Apache JServ Protocol) to cooperate with a HTTPd, instead of CGI or FastCGI" spec.author = "Yugui" spec.email = "yugui@yugui.sakura.ne.jp" spec.rubyforge_project = "ruby-ajp" spec.executables << 'ajp-rails' spec.files = Dir.glob("lib/**/*.rb") + Dir.glob("bin/**/*.rb") + Dir.glob("test/**/test_*.rb") + Dir.glob("example/*") + Dir.glob("NEWS.{en,ja}") + Dir.glob("Install.{en,ja}") + Dir.glob("README.{en,ja}") << "Rakefile" << "ajp-rails.gemspec" << "setup.rb" << "COPYING" spec.files.reject! {|fn| fn.include?('.svn') or /~\Z/ =~ fn } spec.has_rdoc = true end