Skip to content

Commit b85ee32

Browse files
committed
Allow gem releasing
1 parent 82f6afa commit b85ee32

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

utf8mb4rails.gemspec

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,6 @@ Gem::Specification.new do |spec|
1414
spec.homepage = 'https://github.com/magec/utf8mb4rails'
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 public gem pushes.'
23-
end
24-
2517
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
2618
spec.bindir = 'exe'
2719
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }

0 commit comments

Comments
 (0)