Sign the gem

This commit is contained in:
Alex Kotov 2022-11-15 02:45:19 +04:00
parent 8a1090900e
commit 5a05e8de0c
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 7 additions and 1 deletions

View File

@ -6,7 +6,13 @@ lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "dry/types/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 = "dry-types"
spec.authors = ["Piotr Solnica"]
spec.email = ["piotr.solnica@gmail.com"]
@ -21,7 +27,7 @@ Gem::Specification.new do |spec|
spec.executables = []
spec.require_paths = ["lib"]
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["allowed_push_host"] = "https://rubygems.causa-arcana.com"
spec.metadata["changelog_uri"] = "https://github.com/dry-rb/dry-types/blob/main/CHANGELOG.md"
spec.metadata["source_code_uri"] = "https://github.com/dry-rb/dry-types"
spec.metadata["bug_tracker_uri"] = "https://github.com/dry-rb/dry-types/issues"