Skip to content

Commit

Permalink
Gemspec fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierholt committed Feb 20, 2017
1 parent a0f285c commit 784e1d5
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions twemproxy_exporter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,13 @@ require 'twemproxy_exporter/version'
Gem::Specification.new do |spec|
spec.name = "twemproxy_exporter"
spec.version = TwemproxyExporter::VERSION
spec.authors = ["xavierholt", "Andrew Tongen"]
spec.email = ["[email protected]"]
spec.licenses = ["Apache-2.0"]

spec.summary = %q{A Prometheus exporter for Twemproxy / Nutcracker.}
spec.description = %q{A Prometheus exporter for Twemproxy / Nutcracker.}
spec.summary = "A Prometheus exporter for Twemproxy / Nutcracker."
spec.homepage = "https://github.com/xavierholt/twemproxy_exporter"
spec.authors = ["Kevin Burk", "Andrew Tongen"]
spec.email = ["[email protected]"]

# 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 = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
Expand All @@ -34,5 +26,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rspec", "~> 3.0"

spec.add_runtime_dependency "prometheus-client", "~> 0.6.0"
spec.add_runtime_dependency "rack", "~> 2.0.0"
spec.add_runtime_dependency "rack", "~> 2.0"
end

0 comments on commit 784e1d5

Please sign in to comment.