From de001c84f20d041dc3a5964ba886ac79545d993e Mon Sep 17 00:00:00 2001 From: Dylan Thacker-Smith Date: Mon, 11 May 2020 16:39:56 -0400 Subject: [PATCH] Add allowed_push_host to gemspec to fix release script --- graphql-batch.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/graphql-batch.gemspec b/graphql-batch.gemspec index a45b46c..a716bf6 100644 --- a/graphql-batch.gemspec +++ b/graphql-batch.gemspec @@ -18,6 +18,8 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"] + spec.metadata['allowed_push_host'] = "https://rubygems.org" + spec.add_runtime_dependency "graphql", ">= 1.3", "< 2" spec.add_runtime_dependency "promise.rb", "~> 0.7.2"