Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

Commit 85b3eb6

Browse files
Remove weird push protection 🤷
1 parent b4ec3e1 commit 85b3eb6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

graphql-cache.gemspec

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,6 @@ Gem::Specification.new do |spec|
1414
spec.homepage = "https://github.com/Leanstack/graphql-cache"
1515
spec.license = "MIT"
1616

17-
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18-
# to allow pushing to a single host or delete this section to allow pushing to any host.
19-
if spec.respond_to?(:metadata)
20-
spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
21-
else
22-
raise "RubyGems 2.0 or newer is required to protect against " \
23-
"public gem pushes."
24-
end
25-
2617
spec.files = `git ls-files -z`.split("\x0").reject do |f|
2718
f.match(%r{^(test|spec|features)/})
2819
end

0 commit comments

Comments
 (0)