mackerel-client 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.dependabot/config.yml +5 -0
- data/CHANGELOG.md +4 -0
- data/VERSION +1 -1
- data/lib/mackerel/api_command.rb +1 -1
- data/lib/mackerel/version.rb +1 -1
- data/mackerel-client.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8069c2301665234ac12b6f03bd7a9402c39c40e021eb3684847ab00a99513b56
|
4
|
+
data.tar.gz: cde3020f373af8c4a99dc56e0d4628ccef73c5984f1ce4042468d05c6a4c491d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5a2a09b85e2fe29f0ed35be2b81bb53a3e69af68a0e70adcdd6fa928a5b24a2c46147ebe1598f76728948399ad373bde2f1d9e67f42e8c42f20b8157998543b
|
7
|
+
data.tar.gz: 792c970d2230a6303830488e3537e60ecfe4c55dc6490951ed84840dfef2543dcae146b4082018e7307903b52a1ec045ecce418317aa382859f5c215172db81f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.9.0
|
data/lib/mackerel/api_command.rb
CHANGED
@@ -34,7 +34,7 @@ module Mackerel
|
|
34
34
|
req.body = @body
|
35
35
|
end
|
36
36
|
JSON.parse(response.body)
|
37
|
-
rescue Faraday::
|
37
|
+
rescue Faraday::ClientError, Faraday::ServerError => e
|
38
38
|
begin
|
39
39
|
body = JSON.parse(e.response[:body])
|
40
40
|
message = body["error"].is_a?(Hash) ? body["error"]["message"] : body["error"]
|
data/lib/mackerel/version.rb
CHANGED
data/mackerel-client.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
17
17
|
spec.require_paths = ["lib"]
|
18
18
|
|
19
|
-
spec.add_dependency 'faraday', '~> 0
|
19
|
+
spec.add_dependency 'faraday', '~> 1.0'
|
20
20
|
|
21
21
|
spec.add_development_dependency "rake"
|
22
22
|
spec.add_development_dependency "bundler"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mackerel-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mackerel developer team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
19
|
+
version: '1.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0
|
26
|
+
version: '1.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -73,6 +73,7 @@ executables: []
|
|
73
73
|
extensions: []
|
74
74
|
extra_rdoc_files: []
|
75
75
|
files:
|
76
|
+
- ".dependabot/config.yml"
|
76
77
|
- ".gitignore"
|
77
78
|
- ".rspec"
|
78
79
|
- ".travis.yml"
|
@@ -150,8 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
151
|
- !ruby/object:Gem::Version
|
151
152
|
version: '0'
|
152
153
|
requirements: []
|
153
|
-
|
154
|
-
rubygems_version: 2.5.2
|
154
|
+
rubygems_version: 3.0.1
|
155
155
|
signing_key:
|
156
156
|
specification_version: 4
|
157
157
|
summary: Mackerel client implemented by Ruby.
|