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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a8025a2dd9cbfd378bc719250d994bb31af4f047
4
- data.tar.gz: fe92c27be56baefd72f2f1de9452075b9e520237
2
+ SHA256:
3
+ metadata.gz: 8069c2301665234ac12b6f03bd7a9402c39c40e021eb3684847ab00a99513b56
4
+ data.tar.gz: cde3020f373af8c4a99dc56e0d4628ccef73c5984f1ce4042468d05c6a4c491d
5
5
  SHA512:
6
- metadata.gz: 61fd86ed9588edbe18390f187387239bd9bb9bc0741bbbe41f36feda23aab143f5187b78716a9dedf4b6c746121896081ae559163181545677a4399c80074cfb
7
- data.tar.gz: 3ba6941136bfb4fa2eeb2a099dff83f385a786d71f0b5bdcb346533b8f0fd0bdbc2e8162a2ceaa6dd4191bc09405bed3b4cd26f4246388f6d0a5509bb1756e78
6
+ metadata.gz: b5a2a09b85e2fe29f0ed35be2b81bb53a3e69af68a0e70adcdd6fa928a5b24a2c46147ebe1598f76728948399ad373bde2f1d9e67f42e8c42f20b8157998543b
7
+ data.tar.gz: 792c970d2230a6303830488e3537e60ecfe4c55dc6490951ed84840dfef2543dcae146b4082018e7307903b52a1ec045ecce418317aa382859f5c215172db81f
@@ -0,0 +1,5 @@
1
+ version: 1
2
+ update_configs:
3
+ - package_manager: ruby:bundler
4
+ directory: /
5
+ update_schedule: weekly
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.9.0 (2020-01-23)
4
+
5
+ * Use Faraday v1.0 #54 (onk)
6
+
3
7
  ## v0.8.0 (2019-06-26)
4
8
 
5
9
  ### Breaking change
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.0
1
+ 0.9.0
@@ -34,7 +34,7 @@ module Mackerel
34
34
  req.body = @body
35
35
  end
36
36
  JSON.parse(response.body)
37
- rescue Faraday::Error::ClientError => e
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"]
@@ -1,3 +1,3 @@
1
1
  module Mackerel
2
- VERSION = "0.8.0"
2
+ VERSION = "0.9.0"
3
3
  end
@@ -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.9'
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.8.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: 2019-06-26 00:00:00.000000000 Z
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.9'
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.9'
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
- rubyforge_project:
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.