gemspec: update

This commit is contained in:
0x1eef 2024-06-25 12:26:01 -03:00
parent 476ff5a474
commit b2230efecf
3 changed files with 7 additions and 22 deletions

View file

@ -1,8 +1,7 @@
## About
bsdcapsicum.rb provides Ruby bindings for the
[capsicum(4)](https://man.freebsd.org/cgi/man.cgi?query=capsicum&apropos=0&sektion=4&format=html)
feature that's available on FreeBSD.
bsdcapsicum.rb provides Ruby bindings for FreeBSD's
[capsicum(4)](https://man.freebsd.org/cgi/man.cgi?query=capsicum&apropos=0&sektion=4&format=html).
## Examples

View file

@ -6,27 +6,13 @@ require 'bsd/capsicum/version'
Gem::Specification.new do |spec|
spec.name = "bsdcapsicum.rb"
spec.version = BSD::Capsicum::VERSION
spec.authors = ["Thomas Hurst"]
spec.email = ["tom@hur.st"]
spec.authors = ["Thomas Hurst", "0x1eef"]
spec.email = ["0x1eef@protonmail.com"]
spec.summary = %q{Ruby bindings for FreeBSD's capsicum(4)}
spec.homepage = "https://github.com/Freaky/ruby-capsicum"
spec.summary = "Ruby bindings for FreeBSD's capsicum(4)"
spec.homepage = "https://github.com/0x1eef/bsdcapsicum.rb"
spec.license = "MIT"
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "https://rubygems.org"
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 do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.files = Dir["lib/*.rb", "lib/**/*.rb", "README.md", "LICENSE", "*.gemspec"]
spec.require_paths = ["lib"]
spec.add_development_dependency "bundler", "~> 2.5"