librato-metrics 1.4.0 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2851682d039bef494acf05e392cf74b4232a56d8
4
+ data.tar.gz: 8b2555db091686812e8212e845981053ca774715
5
+ SHA512:
6
+ metadata.gz: af8dbf5339c44c6101fd2fb5e5c235203b23c36d0c9b67a618e3d0011cbefd8fc1fbb678214e1b8e90330944567470485be46e2182170e56f28e0ec2d97fe1db
7
+ data.tar.gz: 54d7b759b8e9aa4bb017085742dcb5877ca8fcb8977516e6f9a70d7db11a0829022673b6ed8a1fa8388ddbbd29c185e5b528bd44d4f2f8a91d8260e4eb03106a
@@ -1,10 +1,12 @@
1
+ # use container-based infrastructure
2
+ sudo: false
3
+
1
4
  rvm:
2
- - 1.8.7
3
- - ree
4
- - 1.9.2
5
+ # - 1.8.7
6
+ # - ree
5
7
  - 1.9.3
6
- - 2.0.0
7
- - 2.1.1
8
+ - 2.1.7
9
+ - 2.2.3
8
10
  - jruby-19mode
9
11
  # - rbx
10
12
  - ruby-head
@@ -15,4 +17,9 @@ matrix:
15
17
 
16
18
  branches:
17
19
  except:
18
- - /^v[0-9]/
20
+ - /^v[0-9]/
21
+
22
+ notifications:
23
+ email:
24
+ on_failure: change
25
+ on_success: never
@@ -1,5 +1,20 @@
1
1
  ## Changelog
2
2
 
3
+ ### Version 1.6.2
4
+ * Relax Faraday version constraint (#143) (Jason Rudolph)
5
+
6
+ ### Version 1.6.1
7
+ * Fix bugs with listing sources (#116)
8
+
9
+ ### Version 1.6.0
10
+ * Add HTTP proxy support (#112) (Genki Sugawara)
11
+
12
+ ### Version 1.5.1
13
+ * Fix bug causing incompatible dates when annotating with block form (#109)
14
+
15
+ ### Version 1.5.0
16
+ * Add #get_composite for easier fetching of composite measurements
17
+
3
18
  ### Version 1.4.0
4
19
  * Add support for snapshots
5
20
 
@@ -144,4 +159,4 @@
144
159
  * Metric 'type' key can be string or symbol (Neil Mock)
145
160
 
146
161
  ### Version 0.1.0
147
- * Initial release
162
+ * Initial release
data/Gemfile CHANGED
@@ -17,5 +17,19 @@ end
17
17
 
18
18
  gemspec
19
19
 
20
+ gem 'rake', '10.5.0'
21
+
22
+ # docs
23
+ gem 'yard'
24
+
25
+ # debugging
26
+ gem 'pry'
27
+
20
28
  # easily generate test data
21
29
  gem 'quixote'
30
+
31
+ group :test do
32
+ gem 'rspec', '~> 2.6.0'
33
+ gem 'sinatra'
34
+ gem 'popen4'
35
+ end
data/README.md CHANGED
@@ -212,7 +212,11 @@ Get the 20 most recent 15 minute data point rollups for `temperature`:
212
212
 
213
213
  data = Librato::Metrics.get_measurements :temperature, :count => 20, :resolution => 900
214
214
 
215
- There are many more options supported for querying, take a look at the [REST API docs](http://dev.librato.com/v1/get/gauges/:name) or the [`get_metric`](http://rubydoc.info/github/librato/librato-metrics/master/Librato/Metrics/Client#get_metric-instance_method)/[`get_measurements`](http://rubydoc.info/github/librato/librato-metrics/master/Librato/Metrics/Client#get_measurements-instance_method) documentation for more details.
215
+ Get the 5 minute moving average for `temperature` for the last hour, assuming temperature is submitted once per minute:
216
+
217
+ data = Librato::Metrics.get_composite 'moving_average(mean(series("temperature", "*"), {size: "5"}))', :start_time => Time.now.to_i - 60*60, :resolution => 300
218
+
219
+ There are many more options supported for querying, take a look at the [REST API docs](http://dev.librato.com/v1/get/metrics/:name) or the individual method documentation for more details.
216
220
 
217
221
  ## Setting Metric Properties
218
222
 
@@ -287,4 +291,4 @@ We also maintain a set of [examples of common uses](https://github.com/librato/l
287
291
 
288
292
  ## Copyright
289
293
 
290
- Copyright (c) 2011-2014 [Librato Inc.](http://librato.com) See LICENSE for details.
294
+ Copyright (c) 2011-2015 [Librato Inc.](http://librato.com) See LICENSE for details.
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ Bundler::GemHelper.install_tasks
11
11
  # Gem signing
12
12
  task 'before_build' do
13
13
  signing_key = File.expand_path("~/.gem/librato-private_key.pem")
14
- if signing_key
14
+ if File.exists?(signing_key)
15
15
  puts "Key found: signing gem..."
16
16
  ENV['GEM_SIGNING_KEY'] = signing_key
17
17
  else
@@ -74,9 +74,10 @@ module Librato
74
74
  #
75
75
  def_delegators :client, :agent_identifier, :annotate, :api_endpoint,
76
76
  :api_endpoint=, :authenticate, :connection,
77
+ :proxy, :proxy=,
77
78
  :faraday_adapter, :faraday_adapter=,
78
79
  :persistence, :persistence=, :persister,
79
- :get_metric, :get_measurements, :metrics,
80
+ :get_composite, :get_metric, :get_measurements, :metrics,
80
81
  :delete_metrics, :update_metric, :update_metrics,
81
82
  :submit,
82
83
  :sources, :get_source, :update_source,
@@ -43,10 +43,10 @@ module Librato
43
43
  # Add a metric entry to the metric set:
44
44
  #
45
45
  # @example Basic use
46
- # annotator.add 'request.time' => 30.24
46
+ # aggregator.add 'request.time' => 30.24
47
47
  #
48
48
  # @example With a custom source
49
- # annotator.add 'request.time' => {value: 20.52, source: 'staging'}
49
+ # aggregator.add 'request.time' => {value: 20.52, source: 'staging'}
50
50
  #
51
51
  # @param [Hash] measurements measurements to add
52
52
  # @return [Aggregator] returns self
@@ -31,9 +31,7 @@ module Librato::Metrics
31
31
  #
32
32
  def add(stream, title, options={})
33
33
  options[:title] = title
34
- if options[:start_time]
35
- options[:start_time] = options[:start_time].to_i
36
- end
34
+ options[:start_time] = (options[:start_time] || Time.now).to_i
37
35
  if options[:end_time]
38
36
  options[:end_time] = options[:end_time].to_i
39
37
  end
@@ -6,7 +6,7 @@ module Librato
6
6
 
7
7
  def_delegator :annotator, :add, :annotate
8
8
 
9
- attr_accessor :email, :api_key
9
+ attr_accessor :email, :api_key, :proxy
10
10
 
11
11
  # Provide agent identifier for the developer program. See:
12
12
  # http://support.metrics.librato.com/knowledgebase/articles/53548-developer-program
@@ -66,7 +66,7 @@ module Librato
66
66
  # prevent successful creation if no credentials set
67
67
  raise CredentialsMissing unless (self.email and self.api_key)
68
68
  @connection ||= Connection.new(:client => self, :api_endpoint => api_endpoint,
69
- :adapter => faraday_adapter)
69
+ :adapter => faraday_adapter, :proxy => self.proxy)
70
70
  end
71
71
 
72
72
  # Overrride user agent for this client's connections. If you
@@ -163,13 +163,37 @@ module Librato
163
163
  options.empty? ? metric : metric["measurements"]
164
164
  end
165
165
 
166
+ # Retrieve measurements for a given composite metric definition.
167
+ # :start_time and :resolution are required options, :end_time is
168
+ # optional.
169
+ #
170
+ # @example Get 5m moving average of 'foo'
171
+ # measurements = Librato::Metrics.get_composite
172
+ # 'moving_average(mean(series("foo", "*"), {size: "5"}))',
173
+ # :start_time => Time.now.to_i - 60*60, :resolution => 300
174
+ #
175
+ # @param [String] definition Composite definition
176
+ # @param [hash] options Query options
177
+ def get_composite(definition, options={})
178
+ unless options[:start_time] && options[:resolution]
179
+ raise "You must provide a :start_time and :resolution"
180
+ end
181
+ query = options.dup
182
+ query[:compose] = definition
183
+ url = connection.build_url("metrics", query)
184
+ response = connection.get(url)
185
+ parsed = SmartJSON.read(response.body)
186
+ # TODO: pagination support
187
+ parsed
188
+ end
189
+
166
190
  # Retrieve a specific metric by name, optionally including data points
167
191
  #
168
192
  # @example Get attributes for a metric
169
193
  # metric = Librato::Metrics.get_metric :temperature
170
194
  #
171
195
  # @example Get a metric and its 20 most recent data points
172
- # metric = Librato::Metrics.fetch :temperature, :count => 20
196
+ # metric = Librato::Metrics.get_metric :temperature, :count => 20
173
197
  # metric['measurements'] # => {...}
174
198
  #
175
199
  # A full list of query parameters can be found in the API
@@ -238,10 +262,10 @@ module Librato
238
262
  # List currently existing metrics
239
263
  #
240
264
  # @example List all metrics
241
- # Librato::Metrics.list
265
+ # Librato::Metrics.metrics
242
266
  #
243
267
  # @example List metrics with 'foo' in the name
244
- # Librato::Metrics.list :name => 'foo'
268
+ # Librato::Metrics.metrics :name => 'foo'
245
269
  #
246
270
  # @param [Hash] options
247
271
  def metrics(options={})
@@ -355,7 +379,8 @@ module Librato
355
379
  #
356
380
  # @param [Hash] filter
357
381
  def sources(filter = {})
358
- query = filter[:name] if filter.has_key?(:name)
382
+ query = {}
383
+ query[:name] = filter[:name] if filter.has_key?(:name)
359
384
  path = "sources"
360
385
  Collection.paginated_collection("sources", connection, path, query)
361
386
  end
@@ -363,7 +388,7 @@ module Librato
363
388
  # Retrieve a single source by name. See http://dev.librato.com/v1/get/sources/:name
364
389
  #
365
390
  # @example Get the source for a particular EC2 instance from Cloudwatch
366
- # Librato::Metrics.source "us-east-1b.i-f1bc8c9c"
391
+ # Librato::Metrics.get_source "us-east-1b.i-f1bc8c9c"
367
392
  #
368
393
  # @param String name
369
394
  def get_source(name)
@@ -375,7 +400,7 @@ module Librato
375
400
  # Update a source by name. See http://dev.librato.com/v1/get/sources/:name
376
401
  #
377
402
  # @example Update the source display name for a particular EC2 instance from Cloudwatch
378
- # Librato::Metrics.source "us-east-1b.i-f1bc8c9c", display_name: "Production Web 1"
403
+ # Librato::Metrics.update_source "us-east-1b.i-f1bc8c9c", display_name: "Production Web 1"
379
404
  #
380
405
  # @param String name
381
406
  # @param Hash options
@@ -19,6 +19,7 @@ module Librato
19
19
  @client = options[:client]
20
20
  @api_endpoint = options[:api_endpoint]
21
21
  @adapter = options[:adapter]
22
+ @proxy = options[:proxy]
22
23
  end
23
24
 
24
25
  # API endpoint that will be used for requests.
@@ -39,6 +40,7 @@ module Librato
39
40
  f.use Librato::Metrics::Middleware::ExpectsStatus
40
41
 
41
42
  f.adapter @adapter || Metrics.faraday_adapter
43
+ f.proxy @proxy if @proxy
42
44
  end.tap do |transport|
43
45
  transport.headers[:user_agent] = user_agent
44
46
  transport.headers[:content_type] = 'application/json'
@@ -16,7 +16,7 @@ module Librato
16
16
  env[:body] = request_body # after failure is set to response body
17
17
  @app.call(env)
18
18
  rescue Librato::Metrics::ServerError, Timeout::Error,
19
- Faraday::Error::ConnectionFailed
19
+ Faraday::ConnectionFailed
20
20
  if retries > 0
21
21
  retries -= 1 and retry
22
22
  end
@@ -1,5 +1,5 @@
1
1
  module Librato
2
2
  module Metrics
3
- VERSION = "1.4.0"
3
+ VERSION = "1.6.2"
4
4
  end
5
- end
5
+ end
@@ -25,18 +25,10 @@ Gem::Specification.new do |s|
25
25
  s.extra_rdoc_files = %w[LICENSE]
26
26
 
27
27
  ## runtime dependencies
28
- s.add_dependency 'faraday', '~> 0.7'
28
+ s.add_dependency 'faraday', ['>= 0.7', '< 2.0']
29
29
  s.add_dependency 'multi_json'
30
30
  s.add_dependency 'aggregate', '~> 0.2.2'
31
31
 
32
- ## development dependencies
33
- s.add_development_dependency 'rake'
34
- s.add_development_dependency 'rspec', '~> 2.6.0'
35
- s.add_development_dependency 'pry'
36
- s.add_development_dependency 'yard'
37
- s.add_development_dependency 'sinatra'
38
- s.add_development_dependency 'popen4'
39
-
40
32
  # omitting for now because jruby-19mode can't handle
41
33
  #s.add_development_dependency 'rdiscount' # for yard
42
34
 
@@ -322,6 +322,11 @@ module Librato
322
322
  test_source = sources.detect { |s| s["name"] == "sources_api_test" }
323
323
  test_source["display_name"].should == "Sources Api Test"
324
324
  end
325
+
326
+ it "should allow filtering by name" do
327
+ sources = Metrics.sources name: 'sources_api_test'
328
+ sources.all? {|s| s['name'] =~ /sources_api_test/}.should be_true
329
+ end
325
330
  end
326
331
 
327
332
  describe "#get_source" do
@@ -355,35 +360,38 @@ module Librato
355
360
 
356
361
  end
357
362
 
358
- describe "Snapshots API" do
359
-
360
- let(:instrument_id) do
361
- instrument_options = {name: "Snapshot test subject"}
362
- conn = Metrics.connection
363
- resp = conn.post do |req|
364
- req.url conn.build_url("/v1/instruments")
365
- req.body = Librato::Metrics::SmartJSON.write(instrument_options)
366
- end
367
- instrument_id = Librato::Metrics::SmartJSON.read(resp.body)["id"]
368
- end
369
-
370
- let(:subject) do
371
- {instrument: {href: "http://api.librato.dev/v1/instruments/#{instrument_id}"}}
372
- end
373
-
374
- it "should #create_snapshot" do
375
- result = Metrics.create_snapshot(subject: subject)
376
- result["href"].should =~ /snapshots\/\d+$/
377
- end
378
-
379
- it "should #get_snapshot" do
380
- result = Metrics.create_snapshot(subject: subject)
381
- snapshot_id = result["href"][/(\d+)$/]
382
-
383
- result = Metrics.get_snapshot(snapshot_id)
384
- result["href"].should =~ /snapshots\/\d+$/
385
- end
386
- end
363
+ # Note: These are challenging to test end-to-end, should probably
364
+ # unit test instead. Disabling for now.
365
+ #
366
+ # describe "Snapshots API" do
367
+ #
368
+ # let(:instrument_id) do
369
+ # instrument_options = {name: "Snapshot test subject"}
370
+ # conn = Metrics.connection
371
+ # resp = conn.post do |req|
372
+ # req.url conn.build_url("/v1/instruments")
373
+ # req.body = Librato::Metrics::SmartJSON.write(instrument_options)
374
+ # end
375
+ # instrument_id = Librato::Metrics::SmartJSON.read(resp.body)["id"]
376
+ # end
377
+ #
378
+ # let(:subject) do
379
+ # {instrument: {href: "http://api.librato.dev/v1/instruments/#{instrument_id}"}}
380
+ # end
381
+ #
382
+ # it "should #create_snapshot" do
383
+ # result = Metrics.create_snapshot(subject: subject)
384
+ # result["href"].should =~ /snapshots\/\d+$/
385
+ # end
386
+ #
387
+ # it "should #get_snapshot" do
388
+ # result = Metrics.create_snapshot(subject: subject)
389
+ # snapshot_id = result["href"][/(\d+)$/]
390
+ #
391
+ # result = Metrics.get_snapshot(snapshot_id)
392
+ # result["href"].should =~ /snapshots\/\d+$/
393
+ # end
394
+ # end
387
395
 
388
396
  end
389
397
  end
metadata CHANGED
@@ -1,188 +1,64 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librato-metrics
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
5
- prerelease:
4
+ version: 1.6.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Matt Sanders
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain:
12
- - !binary |-
13
- LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUROakNDQWg2Z0F3SUJB
14
- Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREJCTVJFd0R3WURWUVFEREFoeWRX
15
- SjUKWjJWdGN6RVhNQlVHQ2dtU0pvbVQ4aXhrQVJrV0IyeHBZbkpoZEc4eEV6
16
- QVJCZ29Ka2lhSmsvSXNaQUVaRmdOagpiMjB3SGhjTk1UTXdPREE0TWpJeE9U
17
- UTJXaGNOTVRRd09EQTRNakl4T1RRMldqQkJNUkV3RHdZRFZRUUREQWh5CmRX
18
- SjVaMlZ0Y3pFWE1CVUdDZ21TSm9tVDhpeGtBUmtXQjJ4cFluSmhkRzh4RXpB
19
- UkJnb0praWFKay9Jc1pBRVoKRmdOamIyMHdnZ0VpTUEwR0NTcUdTSWIzRFFF
20
- QkFRVUFBNElCRHdBd2dnRUtBb0lCQVFDL1g3a2RLd1ovb2kvQQpCanMvY2F4
21
- a3lESVpnTFMva2dtdWxvVGhmUEJCUjZNdU40R1hlL2hzZHpTSDhYaHRCWW9Z
22
- cEsvRjJyUkJzclMrCmpMclpiS0pBR1VJcnFIaVNmZEx6eDJrMnNHVVlsS3pm
23
- NmE0eFdpNTg3bmRDOEJ2aDVsZGM4NVcxbGxIRGVBU1MKUjVXanBlcjRLVTFO
24
- V0cxRkFWdlFDWGhTS2Rta2krd1g3Sm5kN0NRK296N2trS1lQTThHL1pUZGIr
25
- cW43d1JMVgpLYVIrenpHRG13VFEyV3pNaXRTWG1mL2t1NE1VbVJ6c3llcERY
26
- WEVSTHluU3A4SVRrNjdnMkhNQ3l2T1BzZjhLCmNZdmwvd2JiOEJ5L3I2SE9q
27
- eTdTTTdZbzM1NHVJZmhuaXU4QUt5bUlLeHNiNElnNzFTMGNVN0htMytXQlRp
28
- MjgKQUlnOFRVYVhBZ01CQUFHak9UQTNNQWtHQTFVZEV3UUNNQUF3SFFZRFZS
29
- ME9CQllFRkRieVFRcU80eEptYUtCRQpuZVE0eStSV0N2T1hNQXNHQTFVZER3
30
- UUVBd0lFc0RBTkJna3Foa2lHOXcwQkFRVUZBQU9DQVFFQUtBelhiQTQ3CjlV
31
- NTlTc0VmcVIrRExkdjFWQWNkbXhhd3FDK1ptRzRGcHhaaHVIaGFvVXVpMzVB
32
- b1FqelNpSEVVTkRUSXUzdTcKVGNzWXdYTVB6dXl6WkpKS1h2QkttU2I5bVdK
33
- OTlET0g4MW9VbU96WDdqQ2xRWFpIcm5GdEhkQVJjTFFzUG1nYQo0RGgrZldY
34
- V3hQSjZma3ZnODI2dko0cERtbDdPbzlzQ1hUcEMya2kvNVZla1RYa3BGclVz
35
- UVJYamxYUGttVDMvCnhhODU4QkdSanZVNTlXUEUxM1FHaWJhN1lJZUh0UkV2
36
- Tng0MkpJZm9KTVY3NG9mcktJdVR3OUNNdG8yZ3o5WHgKS3gxbmNuMDdBK2JK
37
- bktaNmhlblFBRjFDSDk2WmNxY0pIMTc5UzJ0SWlLRE04a2VlUklVT1BDM1dU
38
- MGZhb2svMgpnQTJvemRyODUxYy9uQT09Ci0tLS0tRU5EIENFUlRJRklDQVRF
39
- LS0tLS0K
40
- date: 2014-05-21 00:00:00.000000000 Z
11
+ - certs/librato-public.pem
12
+ date: 2020-08-19 00:00:00.000000000 Z
41
13
  dependencies:
42
14
  - !ruby/object:Gem::Dependency
43
15
  name: faraday
44
16
  requirement: !ruby/object:Gem::Requirement
45
- none: false
46
17
  requirements:
47
- - - ~>
18
+ - - ">="
48
19
  - !ruby/object:Gem::Version
49
20
  version: '0.7'
21
+ - - "<"
22
+ - !ruby/object:Gem::Version
23
+ version: '2.0'
50
24
  type: :runtime
51
25
  prerelease: false
52
26
  version_requirements: !ruby/object:Gem::Requirement
53
- none: false
54
27
  requirements:
55
- - - ~>
28
+ - - ">="
56
29
  - !ruby/object:Gem::Version
57
30
  version: '0.7'
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
58
34
  - !ruby/object:Gem::Dependency
59
35
  name: multi_json
60
36
  requirement: !ruby/object:Gem::Requirement
61
- none: false
62
37
  requirements:
63
- - - ! '>='
38
+ - - ">="
64
39
  - !ruby/object:Gem::Version
65
40
  version: '0'
66
41
  type: :runtime
67
42
  prerelease: false
68
43
  version_requirements: !ruby/object:Gem::Requirement
69
- none: false
70
44
  requirements:
71
- - - ! '>='
45
+ - - ">="
72
46
  - !ruby/object:Gem::Version
73
47
  version: '0'
74
48
  - !ruby/object:Gem::Dependency
75
49
  name: aggregate
76
50
  requirement: !ruby/object:Gem::Requirement
77
- none: false
78
51
  requirements:
79
- - - ~>
52
+ - - "~>"
80
53
  - !ruby/object:Gem::Version
81
54
  version: 0.2.2
82
55
  type: :runtime
83
56
  prerelease: false
84
57
  version_requirements: !ruby/object:Gem::Requirement
85
- none: false
86
58
  requirements:
87
- - - ~>
59
+ - - "~>"
88
60
  - !ruby/object:Gem::Version
89
61
  version: 0.2.2
90
- - !ruby/object:Gem::Dependency
91
- name: rake
92
- requirement: !ruby/object:Gem::Requirement
93
- none: false
94
- requirements:
95
- - - ! '>='
96
- - !ruby/object:Gem::Version
97
- version: '0'
98
- type: :development
99
- prerelease: false
100
- version_requirements: !ruby/object:Gem::Requirement
101
- none: false
102
- requirements:
103
- - - ! '>='
104
- - !ruby/object:Gem::Version
105
- version: '0'
106
- - !ruby/object:Gem::Dependency
107
- name: rspec
108
- requirement: !ruby/object:Gem::Requirement
109
- none: false
110
- requirements:
111
- - - ~>
112
- - !ruby/object:Gem::Version
113
- version: 2.6.0
114
- type: :development
115
- prerelease: false
116
- version_requirements: !ruby/object:Gem::Requirement
117
- none: false
118
- requirements:
119
- - - ~>
120
- - !ruby/object:Gem::Version
121
- version: 2.6.0
122
- - !ruby/object:Gem::Dependency
123
- name: pry
124
- requirement: !ruby/object:Gem::Requirement
125
- none: false
126
- requirements:
127
- - - ! '>='
128
- - !ruby/object:Gem::Version
129
- version: '0'
130
- type: :development
131
- prerelease: false
132
- version_requirements: !ruby/object:Gem::Requirement
133
- none: false
134
- requirements:
135
- - - ! '>='
136
- - !ruby/object:Gem::Version
137
- version: '0'
138
- - !ruby/object:Gem::Dependency
139
- name: yard
140
- requirement: !ruby/object:Gem::Requirement
141
- none: false
142
- requirements:
143
- - - ! '>='
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- none: false
150
- requirements:
151
- - - ! '>='
152
- - !ruby/object:Gem::Version
153
- version: '0'
154
- - !ruby/object:Gem::Dependency
155
- name: sinatra
156
- requirement: !ruby/object:Gem::Requirement
157
- none: false
158
- requirements:
159
- - - ! '>='
160
- - !ruby/object:Gem::Version
161
- version: '0'
162
- type: :development
163
- prerelease: false
164
- version_requirements: !ruby/object:Gem::Requirement
165
- none: false
166
- requirements:
167
- - - ! '>='
168
- - !ruby/object:Gem::Version
169
- version: '0'
170
- - !ruby/object:Gem::Dependency
171
- name: popen4
172
- requirement: !ruby/object:Gem::Requirement
173
- none: false
174
- requirements:
175
- - - ! '>='
176
- - !ruby/object:Gem::Version
177
- version: '0'
178
- type: :development
179
- prerelease: false
180
- version_requirements: !ruby/object:Gem::Requirement
181
- none: false
182
- requirements:
183
- - - ! '>='
184
- - !ruby/object:Gem::Version
185
- version: '0'
186
62
  description: An easy to use ruby wrapper for Librato's Metrics API
187
63
  email: matt@librato.com
188
64
  executables: []
@@ -190,9 +66,9 @@ extensions: []
190
66
  extra_rdoc_files:
191
67
  - LICENSE
192
68
  files:
193
- - .gitignore
194
- - .rspec
195
- - .travis.yml
69
+ - ".gitignore"
70
+ - ".rspec"
71
+ - ".travis.yml"
196
72
  - CHANGELOG.md
197
73
  - Gemfile
198
74
  - LICENSE
@@ -238,30 +114,26 @@ files:
238
114
  homepage: https://github.com/librato/librato-metrics
239
115
  licenses:
240
116
  - BSD 3-clause
241
- post_install_message:
117
+ metadata: {}
118
+ post_install_message:
242
119
  rdoc_options:
243
- - --charset=UTF-8
120
+ - "--charset=UTF-8"
244
121
  require_paths:
245
122
  - lib
246
123
  required_ruby_version: !ruby/object:Gem::Requirement
247
- none: false
248
124
  requirements:
249
- - - ! '>='
125
+ - - ">="
250
126
  - !ruby/object:Gem::Version
251
127
  version: '0'
252
- segments:
253
- - 0
254
- hash: -879066088464311398
255
128
  required_rubygems_version: !ruby/object:Gem::Requirement
256
- none: false
257
129
  requirements:
258
- - - ! '>='
130
+ - - ">="
259
131
  - !ruby/object:Gem::Version
260
132
  version: '0'
261
133
  requirements: []
262
- rubyforge_project:
263
- rubygems_version: 1.8.23
264
- signing_key:
134
+ rubyforge_project:
135
+ rubygems_version: 2.6.14
136
+ signing_key:
265
137
  specification_version: 2
266
138
  summary: Ruby wrapper for Librato's Metrics API
267
139
  test_files:
@@ -279,4 +151,3 @@ test_files:
279
151
  - spec/unit/metrics/queue/autosubmission_spec.rb
280
152
  - spec/unit/metrics/queue_spec.rb
281
153
  - spec/unit/metrics_spec.rb
282
- has_rdoc:
data.tar.gz.sig DELETED
@@ -1 +0,0 @@
1
- �6�J��Pߴ��W���q���C��l��s]j�⁳�i�ߏ쳿&
metadata.gz.sig DELETED
@@ -1 +0,0 @@
1
- o��y��� 9���8)�K�����c��2`�+`��ߣ�W���5قh,"�lZ@�G`-,{�ך�!E&�t��e�V6�[ጓ�M�������U"��Y�P�d����_��>����&��r|�ٻů��F�zw�,ʹ�T�h2dcM��