diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-08-13 13:40:49 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-08-13 13:40:49 +0900 |
commit | 6b0787d8ceb85f4eb6feeba091529e71c82dd07d (patch) | |
tree | d15652c2a79a3193f45ff2bad3269a5ba13f9b98 /plum.gemspec | |
parent | 68897cb0cbc3425c10f0f5a40fa102766700552b (diff) | |
download | plum-6b0787d8ceb85f4eb6feeba091529e71c82dd07d.tar.gz |
update gemspecv0.0.1
Diffstat (limited to 'plum.gemspec')
-rw-r--r-- | plum.gemspec | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/plum.gemspec b/plum.gemspec index 66deef7..2292b62 100644 --- a/plum.gemspec +++ b/plum.gemspec @@ -1,7 +1,6 @@ -# coding: utf-8 -lib = File.expand_path('../lib', __FILE__) +lib = File.expand_path("../lib", __FILE__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) -require 'plum/version' +require "plum/version" Gem::Specification.new do |spec| spec.name = "plum" @@ -10,21 +9,13 @@ Gem::Specification.new do |spec| 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.description = spec.summary 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.files = `git ls-files -z`.split("\x00") spec.executables = spec.files.grep(%r{^bin/[^.]}) { |f| File.basename(f) } + spec.test_files = spec.files.grep(%r{^test/}) spec.require_paths = ["lib"] spec.add_development_dependency "bundler", "~> 1.10" |