Skip to content

Commit 9d0d0e5

Browse files
committed
Removed extra verification for old rubygems
1 parent 19e8d7a commit 9d0d0e5

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cmath.gemspec

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,6 @@ Gem::Specification.new do |spec|
1010
spec.homepage = "TODO: Put your gem's website or public repo URL here."
1111
spec.license = "BSD-2-Clause"
1212

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

0 commit comments

Comments
 (0)