Skip to content

Commit

Permalink
Remove unnecessary conditional in gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
acreilly committed Apr 30, 2020
1 parent aa67708 commit 5a94631
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions extend_warranties.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,6 @@ Gem::Specification.new do |spec|
# spec.homepage = "TODO: Put your gem's website or public repo URL here."
spec.license = "MIT"

# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"

# spec.metadata["homepage_uri"] = spec.homepage
# spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end

# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
Expand Down

0 comments on commit 5a94631

Please sign in to comment.