From a99d4de3b6a8dadd1afae7e84a25b0d33a4edd2c Mon Sep 17 00:00:00 2001 From: Sergio Gil Date: Tue, 5 Nov 2013 10:32:54 +0100 Subject: [PATCH] Add gemspec --- Gemfile | 8 ++++---- Gemfile.lock | 6 ++++++ README.md | 1 - prometheus-client.gemspec | 11 +++++++++++ 4 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 prometheus-client.gemspec diff --git a/Gemfile b/Gemfile index ac7c873f..f9c4c0d6 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' -group :development, :test do - gem 'rake' - gem 'rspec' -end +gemspec + +gem 'rake' +gem 'rspec' diff --git a/Gemfile.lock b/Gemfile.lock index 068fde69..c462ed5a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,8 @@ +PATH + remote: . + specs: + prometheus-client (0.1.0) + GEM remote: https://rubygems.org/ specs: @@ -17,5 +22,6 @@ PLATFORMS ruby DEPENDENCIES + prometheus-client! rake rspec diff --git a/README.md b/README.md index 89dadc2e..475fdfd8 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,6 @@ snapshot thereof. * add histogram support * add push support to a vanilla prometheus exporter - * package as gem * add tests for Rack middlewares * use a more performant JSON library diff --git a/prometheus-client.gemspec b/prometheus-client.gemspec new file mode 100644 index 00000000..d4dd00b4 --- /dev/null +++ b/prometheus-client.gemspec @@ -0,0 +1,11 @@ +Gem::Specification.new do |s| + s.name = 'prometheus-client' + s.version = '0.1.0' + s.summary = 'A suite of instrumentation metric primitives for Ruby that can be exposed through a JSON web services interface.' + s.author = 'Tobias Schmidt' + s.email = 'grobie@soundcloud.com' + s.homepage = 'http://github.com/prometheus/client_ruby' + + s.files = %w(README.md) + Dir.glob('{lib/**/*}') + s.require_paths = ['lib'] +end