librato-metrics 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/Gemfile +1 -1
- data/Rakefile +1 -1
- data/lib/librato/metrics/middleware/retry.rb +1 -1
- data/lib/librato/metrics/version.rb +2 -2
- data/librato-metrics.gemspec +1 -1
- metadata +25 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2851682d039bef494acf05e392cf74b4232a56d8
|
4
|
+
data.tar.gz: 8b2555db091686812e8212e845981053ca774715
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af8dbf5339c44c6101fd2fb5e5c235203b23c36d0c9b67a618e3d0011cbefd8fc1fbb678214e1b8e90330944567470485be46e2182170e56f28e0ec2d97fe1db
|
7
|
+
data.tar.gz: 54d7b759b8e9aa4bb017085742dcb5877ca8fcb8977516e6f9a70d7db11a0829022673b6ed8a1fa8388ddbbd29c185e5b528bd44d4f2f8a91d8260e4eb03106a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
## Changelog
|
2
2
|
|
3
|
+
### Version 1.6.2
|
4
|
+
* Relax Faraday version constraint (#143) (Jason Rudolph)
|
5
|
+
|
3
6
|
### Version 1.6.1
|
4
7
|
* Fix bugs with listing sources (#116)
|
5
8
|
|
@@ -156,4 +159,4 @@
|
|
156
159
|
* Metric 'type' key can be string or symbol (Neil Mock)
|
157
160
|
|
158
161
|
### Version 0.1.0
|
159
|
-
* Initial release
|
162
|
+
* Initial release
|
data/Gemfile
CHANGED
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
|
@@ -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::
|
19
|
+
Faraday::ConnectionFailed
|
20
20
|
if retries > 0
|
21
21
|
retries -= 1 and retry
|
22
22
|
end
|
data/librato-metrics.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.extra_rdoc_files = %w[LICENSE]
|
26
26
|
|
27
27
|
## runtime dependencies
|
28
|
-
s.add_dependency 'faraday', '
|
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
|
|
metadata
CHANGED
@@ -1,56 +1,62 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: librato-metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Sanders
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- certs/librato-public.pem
|
12
|
-
date:
|
12
|
+
date: 2020-08-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '0.7'
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '2.0'
|
21
24
|
type: :runtime
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
24
27
|
requirements:
|
25
|
-
- -
|
28
|
+
- - ">="
|
26
29
|
- !ruby/object:Gem::Version
|
27
30
|
version: '0.7'
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: multi_json
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
31
37
|
requirements:
|
32
|
-
- -
|
38
|
+
- - ">="
|
33
39
|
- !ruby/object:Gem::Version
|
34
40
|
version: '0'
|
35
41
|
type: :runtime
|
36
42
|
prerelease: false
|
37
43
|
version_requirements: !ruby/object:Gem::Requirement
|
38
44
|
requirements:
|
39
|
-
- -
|
45
|
+
- - ">="
|
40
46
|
- !ruby/object:Gem::Version
|
41
47
|
version: '0'
|
42
48
|
- !ruby/object:Gem::Dependency
|
43
49
|
name: aggregate
|
44
50
|
requirement: !ruby/object:Gem::Requirement
|
45
51
|
requirements:
|
46
|
-
- - ~>
|
52
|
+
- - "~>"
|
47
53
|
- !ruby/object:Gem::Version
|
48
54
|
version: 0.2.2
|
49
55
|
type: :runtime
|
50
56
|
prerelease: false
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
52
58
|
requirements:
|
53
|
-
- - ~>
|
59
|
+
- - "~>"
|
54
60
|
- !ruby/object:Gem::Version
|
55
61
|
version: 0.2.2
|
56
62
|
description: An easy to use ruby wrapper for Librato's Metrics API
|
@@ -60,9 +66,9 @@ extensions: []
|
|
60
66
|
extra_rdoc_files:
|
61
67
|
- LICENSE
|
62
68
|
files:
|
63
|
-
- .gitignore
|
64
|
-
- .rspec
|
65
|
-
- .travis.yml
|
69
|
+
- ".gitignore"
|
70
|
+
- ".rspec"
|
71
|
+
- ".travis.yml"
|
66
72
|
- CHANGELOG.md
|
67
73
|
- Gemfile
|
68
74
|
- LICENSE
|
@@ -109,25 +115,25 @@ homepage: https://github.com/librato/librato-metrics
|
|
109
115
|
licenses:
|
110
116
|
- BSD 3-clause
|
111
117
|
metadata: {}
|
112
|
-
post_install_message:
|
118
|
+
post_install_message:
|
113
119
|
rdoc_options:
|
114
|
-
- --charset=UTF-8
|
120
|
+
- "--charset=UTF-8"
|
115
121
|
require_paths:
|
116
122
|
- lib
|
117
123
|
required_ruby_version: !ruby/object:Gem::Requirement
|
118
124
|
requirements:
|
119
|
-
- -
|
125
|
+
- - ">="
|
120
126
|
- !ruby/object:Gem::Version
|
121
127
|
version: '0'
|
122
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
129
|
requirements:
|
124
|
-
- -
|
130
|
+
- - ">="
|
125
131
|
- !ruby/object:Gem::Version
|
126
132
|
version: '0'
|
127
133
|
requirements: []
|
128
|
-
rubyforge_project:
|
129
|
-
rubygems_version: 2.
|
130
|
-
signing_key:
|
134
|
+
rubyforge_project:
|
135
|
+
rubygems_version: 2.6.14
|
136
|
+
signing_key:
|
131
137
|
specification_version: 2
|
132
138
|
summary: Ruby wrapper for Librato's Metrics API
|
133
139
|
test_files:
|