From 2d547ed5d0b100d4e966463ac697ee38f6c2e31f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Co=C3=AAlho?= Date: Mon, 16 Oct 2023 02:08:46 +0000 Subject: [PATCH] Update gemspec --- .github/workflows/main.yml | 2 +- rubrik.gemspec | 10 +++------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index eb5da16..9e42250 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,8 +14,8 @@ jobs: strategy: matrix: ruby: - - '3.0' - '3.1' + - '3.2' steps: - uses: actions/checkout@v3 diff --git a/rubrik.gemspec b/rubrik.gemspec index 680e828..9d6372a 100644 --- a/rubrik.gemspec +++ b/rubrik.gemspec @@ -9,10 +9,10 @@ Gem::Specification.new do |spec| spec.email = ["tomascoelho6@gmail.com"] spec.summary = "Sign PDFs digitally in pure Ruby" - spec.description = "This gem is capable of modifying PDFs to add " + spec.description = "Sign PDFs digitally in pure Ruby" spec.homepage = "https://github.com/tomascco/rubrik" spec.license = "MIT" - spec.required_ruby_version = ">= 3.0.0" + spec.required_ruby_version = ">= 3.1.0" spec.metadata["homepage_uri"] = spec.homepage spec.metadata["source_code_uri"] = "https://github.com/tomascco/rubrik" @@ -20,11 +20,7 @@ Gem::Specification.new do |spec| # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been added into git. - spec.files = Dir.chdir(__dir__) do - `git ls-files -z`.split("\x0").reject do |f| - (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)}) - end - end + spec.files = Dir.glob("lib/**/*.rb") + ["README.md", "LICENSE.txt"] spec.bindir = "exe" spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } spec.require_paths = ["lib"]