Sign the gem

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

View File

@ -2,7 +2,13 @@
require File.join(File.dirname(__FILE__), 'lib', 'http_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 |s|
s.cert_chain = [GEM_CERT] if File.file? GEM_CERT
s.signing_key = GEM_KEY if File.file? GEM_KEY
s.name = 'http_router'
s.version = HttpRouter::VERSION
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=