From 1ceae21ea4348f403ef9efb3cdb419c8119a8613 Mon Sep 17 00:00:00 2001 From: Dylan Leeman Date: Fri, 15 Jul 2022 14:01:38 -0500 Subject: [PATCH] Use Github packages for private gem registry [IN-181] Updated gemspec to specify Github RubyGems package registry as allowed push host and updated gem version to reflect the change --- lib/signature/version.rb | 2 +- signature.gemspec | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/signature/version.rb b/lib/signature/version.rb index b38d46c..5a6732d 100644 --- a/lib/signature/version.rb +++ b/lib/signature/version.rb @@ -1,3 +1,3 @@ module Signature - VERSION = "0.1.8" + VERSION = "0.1.9" end diff --git a/signature.gemspec b/signature.gemspec index 88e8fe4..13a87ae 100644 --- a/signature.gemspec +++ b/signature.gemspec @@ -12,6 +12,9 @@ Gem::Specification.new do |s| s.summary = %q{Simple key/secret based authentication for apis} s.description = %q{Simple key/secret based authentication for apis} + + s.metadata['allowed_push_host'] = "https://rubygems.pkg.github.com/YourAcclaim" + s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }