Sign the gem

This commit is contained in:
Alex Kotov 2022-11-15 16:36:16 +04:00
parent c963882a3c
commit dc130c8e51
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
1 changed files with 7 additions and 1 deletions

View File

@ -4,7 +4,13 @@ lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "hanami/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"
spec.version = Hanami::VERSION
spec.authors = ["Luca Guidi"]
@ -29,7 +35,7 @@ Gem::Specification.new do |spec|
spec.metadata["rubygems_mfa_required"] = "true"
spec.required_ruby_version = ">= 3.0"
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["allowed_push_host"] = "https://rubygems.causa-arcana.com"
spec.add_dependency "bundler", ">= 1.16", "< 3"
spec.add_dependency "dry-configurable", "~> 1.0", "< 2"