Sign the gem

This commit is contained in:
Alex Kotov 2022-11-15 16:30:22 +04:00
parent d4f7a677a3
commit b649521d1d
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 6 additions and 0 deletions

View File

@ -4,7 +4,13 @@ lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "hanami/router/version"
GEM_CERT = File.expand_path('../gem-public_cert.pem', __dir__).freeze
GEM_KEY = File.expand_path('../gem-private_key.pem', __dir__).freeze
Gem::Specification.new do |spec|
spec.cert_chain = [GEM_CERT] if File.file? GEM_CERT
spec.signing_key = GEM_KEY if File.file? GEM_KEY
spec.name = "hanami-router"
spec.version = Hanami::Router::VERSION
spec.authors = ["Luca Guidi"]