Skip to content

Commit 6d71781

Browse files
committed
push to rubygems
1 parent 91a0a07 commit 6d71781

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

aws-google.gemspec

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,12 @@ Gem::Specification.new do |spec|
88
spec.authors = ['Will Jordan']
99
spec.email = ['will@code.org']
1010

11-
spec.summary = 'Use Google OAuth as an AWS credential provider.'
11+
spec.summary = 'Use Google OAuth as an AWS credential provider'
1212
spec.description = 'Use Google OAuth as an AWS credential provider.'
1313
spec.homepage = 'https://github.com/code-dot-org/aws-google'
1414
spec.license = 'Apache-2.0'
1515

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

0 commit comments

Comments
 (0)