зеркало из https://github.com/github/ruby.git
[ruby/io-nonblock] Remove unnecessary files from the gem
https://github.com/ruby/io-nonblock/commit/3850a4c7ac
This commit is contained in:
Родитель
0dfd5d19f3
Коммит
104fb83ccd
|
@ -1,6 +1,6 @@
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "io-nonblock"
|
spec.name = "io-nonblock"
|
||||||
spec.version = "0.1.0"
|
spec.version = "0.1.1"
|
||||||
spec.authors = ["Nobu Nakada"]
|
spec.authors = ["Nobu Nakada"]
|
||||||
spec.email = ["nobu@ruby-lang.org"]
|
spec.email = ["nobu@ruby-lang.org"]
|
||||||
|
|
||||||
|
@ -13,13 +13,13 @@ Gem::Specification.new do |spec|
|
||||||
spec.metadata["homepage_uri"] = spec.homepage
|
spec.metadata["homepage_uri"] = spec.homepage
|
||||||
spec.metadata["source_code_uri"] = spec.homepage
|
spec.metadata["source_code_uri"] = spec.homepage
|
||||||
|
|
||||||
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
spec.files = %w[
|
||||||
%x[git ls-files -z].split("\x0").reject do |f|
|
COPYING
|
||||||
f.match(%r{\A(?:test|spec|features)/|\A\.(?:git|travis)})
|
README.md
|
||||||
end
|
ext/io/nonblock/depend
|
||||||
end
|
ext/io/nonblock/extconf.rb
|
||||||
|
ext/io/nonblock/nonblock.c
|
||||||
|
]
|
||||||
spec.extensions = %w[ext/io/nonblock/extconf.rb]
|
spec.extensions = %w[ext/io/nonblock/extconf.rb]
|
||||||
spec.bindir = "exe"
|
|
||||||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
||||||
spec.require_paths = ["lib"]
|
spec.require_paths = ["lib"]
|
||||||
end
|
end
|
||||||
|
|
Загрузка…
Ссылка в новой задаче