From b2230efecf8a861b49871f0e523d7d14202096fd Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Tue, 25 Jun 2024 12:26:01 -0300 Subject: [PATCH] gemspec: update --- LICENSE.txt => LICENSE | 0 README.md | 5 ++--- bsdcapsicum.rb.gemspec | 24 +++++------------------- 3 files changed, 7 insertions(+), 22 deletions(-) rename LICENSE.txt => LICENSE (100%) diff --git a/LICENSE.txt b/LICENSE similarity index 100% rename from LICENSE.txt rename to LICENSE diff --git a/README.md b/README.md index 6542155..5b36f62 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/bsdcapsicum.rb.gemspec b/bsdcapsicum.rb.gemspec index 6c2b7c3..dc2bdea 100644 --- a/bsdcapsicum.rb.gemspec +++ b/bsdcapsicum.rb.gemspec @@ -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"