Jake Farrell | 9c39f77 | 2011-08-30 19:12:10 +0000 | [diff] [blame] | 1 | # -*- encoding: utf-8 -*- |
| 2 | $:.push File.expand_path("../lib", __FILE__) |
| 3 | |
| 4 | Gem::Specification.new do |s| |
| 5 | s.name = 'thrift' |
Jake Farrell | 9901069 | 2011-11-30 02:09:46 +0000 | [diff] [blame^] | 6 | s.version = '0.9.0.1' |
Jake Farrell | 9c39f77 | 2011-08-30 19:12:10 +0000 | [diff] [blame] | 7 | s.authors = ['Thrift Developers'] |
| 8 | s.email = ['dev@thrift.apache.org'] |
| 9 | s.homepage = 'http://thrift.apache.org' |
| 10 | s.summary = %q{Ruby bindings for Apache Thrift} |
| 11 | s.description = %q{Ruby bindings for the Apache Thrift RPC system} |
| 12 | s.license = 'Apache 2.0' |
| 13 | s.extensions = ['ext/extconf.rb'] |
| 14 | |
| 15 | s.has_rdoc = true |
| 16 | s.rdoc_options = %w[--line-numbers --inline-source --title Thrift --main README] |
| 17 | |
| 18 | s.rubyforge_project = 'thrift' |
| 19 | |
| 20 | dir = File.expand_path(File.dirname(__FILE__)) |
| 21 | |
| 22 | s.files = Dir.glob("{lib,spec}/**/*") |
| 23 | s.test_files = Dir.glob("{test,spec,benchmark}/**/*") |
| 24 | s.executables = Dir.glob("{bin}/**/*") |
| 25 | |
| 26 | s.extra_rdoc_files = %w[CHANGELOG README] + Dir.glob("{ext,lib}/**/*.{c,h,rb}") |
| 27 | |
| 28 | s.require_paths = %w[lib ext] |
| 29 | |
| 30 | s.add_development_dependency "rake" |
| 31 | s.add_development_dependency "rspec", "1.3.2" |
| 32 | s.add_development_dependency "mongrel" |
| 33 | end |
| 34 | |