Skip to content

Commit 2ff22ab

Browse files
committed
Publish gem for public
1 parent 9c8c89d commit 2ff22ab

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

zstd-ruby.gemspec

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ Gem::Specification.new do |spec|
1616

1717
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
1818
# 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'] = "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
19+
#if spec.respond_to?(:metadata)
20+
# spec.metadata['allowed_push_host'] = "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
2525

2626
spec.files = `git ls-files -z`.split("\x0").reject do |f|
2727
f.match(%r{^(test|spec|features|benchmarks|zstd)/})

0 commit comments

Comments
 (0)