diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-07-13 14:11:40 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-07-13 14:11:40 +0900 |
commit | c6e66d599d97c854f9f1ff4a1479bc2b40a37437 (patch) | |
tree | 2b20d982a4947f32d874a2465432c4b1c39e3f4f /plum.gemspec | |
download | plum-c6e66d599d97c854f9f1ff4a1479bc2b40a37437.tar.gz |
initial commit
Diffstat (limited to 'plum.gemspec')
-rw-r--r-- | plum.gemspec | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/plum.gemspec b/plum.gemspec new file mode 100644 index 0000000..338f2ed --- /dev/null +++ b/plum.gemspec @@ -0,0 +1,32 @@ +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'plum/version' + +Gem::Specification.new do |spec| + spec.name = "plum" + spec.version = Plum::VERSION + spec.authors = ["rhenium"] + spec.email = ["k@rhe.jp"] + + spec.summary = %q{A minimal implementation of HTTP/2 server.} + spec.description = %q{A minimal implementation of HTTP/2 server.} + spec.homepage = "https://github.com/rhenium/plum" + spec.license = "MIT" + + # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or + # delete this section to allow pushing this gem to any host. + if spec.respond_to?(:metadata) + spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'" + else + raise "RubyGems 2.0 or newer is required to protect against public gem pushes." + end + + spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + spec.bindir = "bin" + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] + + spec.add_development_dependency "bundler", "~> 1.10" + spec.add_development_dependency "rake", "~> 10.0" +end |