File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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)/} )
You can’t perform that action at this time.
0 commit comments