~srushe/indieauth-token-verification

e1372377a1f44e97c0e304ada14287e4c80b995e — Stephen Rushe 6 months ago a612ea4 master
Set gemspec metadata
1 files changed, 5 insertions(+), 8 deletions(-)

M indieauth-token-verification.gemspec
M indieauth-token-verification.gemspec => indieauth-token-verification.gemspec +5 -8
@@ 14,14 14,11 @@ Gem::Specification.new do |spec|
  spec.homepage      = "https://code.deeden.co.uk/indieauth-token-verification"
  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'] = ENV.fetch('GEMSERVER_URL', 'nohost')
  else
    raise "RubyGems 2.0 or newer is required to protect against " \
      "public gem pushes."
  end
  spec.metadata = {
    'bug_tracker_uri' => 'https://code.deeden.co.uk/indieauth-token-verification/issues',
    'changelog_uri'   => 'https://code.deeden.co.uk/indieauth-token-verification/changelog',
    'homepage_uri'    => 'https://code.deeden.co.uk/indieauth-token-verification'
  }

  spec.files         = `git ls-files -z`.split("\x0").reject do |f|
    f.match(%r{^(test|spec|features)/})