Skip to content

Commit

Permalink
Allow pushing to Rubygems
Browse files Browse the repository at this point in the history
  • Loading branch information
mamhoff committed May 15, 2020
1 parent da3db67 commit 32475f6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions alchemy-json_api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@ Gem::Specification.new do |spec|
spec.description = "A JSONAPI compliant API for AlchemyCMS"
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'"
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end

spec.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]

spec.add_dependency "alchemy_cms"
Expand Down

0 comments on commit 32475f6

Please sign in to comment.