Skip to content

Commit

Permalink
Update the allowed gem repo
Browse files Browse the repository at this point in the history
  • Loading branch information
philou committed Feb 24, 2017
1 parent 30cc6d6 commit b7b1bc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion complexity_assert.gemspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Expand All @@ -15,7 +16,7 @@ Gem::Specification.new do |spec|
spec.license = "MIT"

if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "http://mygemserver.com"
spec.metadata['allowed_push_host'] = "https://rubygems.org"
else
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
end
Expand Down

0 comments on commit b7b1bc5

Please sign in to comment.