mackerel-client 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -4
- data/CHANGELOG.md +10 -0
- data/RELEASE.md +1 -0
- data/VERSION +1 -1
- data/lib/mackerel/api_command.rb +1 -1
- data/lib/mackerel/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42b290cb5732009e65951d7266bd3be6e8fd59bb0377a2fc3ee0fc6090595f02
|
4
|
+
data.tar.gz: c2c1a12ddd63fe3361ebca84f1ecb09217dde000e64ccc95237ea58d4b729f13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4a4b4b9cb47596e63df03bbb9cb3253816fde131531b7f504be1ae56837a33ec7691878f8aa05309581ae04eb26b441022ed26eb40290eeab1ea0e49b6f6a60
|
7
|
+
data.tar.gz: 49f080bc2bb99898a311aa7739c1760fda76dcc3428d4e7e8653517683c39cffd217c945c56f5e0c79dad69339c272947e01eb856047e120818f25994bbf34fd
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
data/RELEASE.md
CHANGED
@@ -3,6 +3,7 @@ RELEASE
|
|
3
3
|
|
4
4
|
1. Create release branch. (`git checkout -b version-<VERSION>`)
|
5
5
|
1. Bump version `VERSION` and `lib/mackerel/version.rb` files.
|
6
|
+
1. Write changes in CHANGELOG.md
|
6
7
|
1. Push release branch to upstream(GitHub). (`git push -u origin version-<VERSION>`)
|
7
8
|
1. Create Pull-Request on Github.
|
8
9
|
1. Merge Pull-Request to master branch on Github.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.7.0
|
data/lib/mackerel/api_command.rb
CHANGED
@@ -27,7 +27,7 @@ module Mackerel
|
|
27
27
|
|
28
28
|
client_method = client.method(@method)
|
29
29
|
response = client_method.call(request_path) do |req|
|
30
|
-
req.headers
|
30
|
+
req.headers.update @headers
|
31
31
|
req.headers['x-api-key'] = @api_key
|
32
32
|
req.headers['Content-Type'] ||= JSON_CONTENT_TYPE
|
33
33
|
req.params = @params
|
data/lib/mackerel/version.rb
CHANGED
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.7.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: 2018-
|
11
|
+
date: 2018-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -76,6 +76,7 @@ files:
|
|
76
76
|
- ".gitignore"
|
77
77
|
- ".rspec"
|
78
78
|
- ".travis.yml"
|
79
|
+
- CHANGELOG.md
|
79
80
|
- Gemfile
|
80
81
|
- LICENSE.txt
|
81
82
|
- README.md
|