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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31730bc25cb0a0b6def2d537096f4bbcc46af1de869df74a56115f91184c5126
4
- data.tar.gz: e96b732c979574df0b1f60721578e199decd2bb1f3fbb17b1d83006286d5a49d
3
+ metadata.gz: 42b290cb5732009e65951d7266bd3be6e8fd59bb0377a2fc3ee0fc6090595f02
4
+ data.tar.gz: c2c1a12ddd63fe3361ebca84f1ecb09217dde000e64ccc95237ea58d4b729f13
5
5
  SHA512:
6
- metadata.gz: bc4578bed917dbd28c5d866ca443b6390e157c38f63f9430217e6b657898f986378e86c0f91f5a1d557bbcc6e98adf68a8d3201974012d6fb61ae7bb81d356c7
7
- data.tar.gz: c45d14fe4d0225c5c8d3968aef9caa79ecc275a91ece1c24ae6230b9d133817046c1bd649a2c06b568b0831cdc29159aa801bdafa80005fa0c72249740873587
6
+ metadata.gz: f4a4b4b9cb47596e63df03bbb9cb3253816fde131531b7f504be1ae56837a33ec7691878f8aa05309581ae04eb26b441022ed26eb40290eeab1ea0e49b6f6a60
7
+ data.tar.gz: 49f080bc2bb99898a311aa7739c1760fda76dcc3428d4e7e8653517683c39cffd217c945c56f5e0c79dad69339c272947e01eb856047e120818f25994bbf34fd
data/.travis.yml CHANGED
@@ -3,7 +3,6 @@ before_install:
3
3
  # https://github.com/travis-ci/travis-ci/issues/3531
4
4
  - gem install bundler # -v 1.7.14 if a specific version is needed
5
5
  rvm:
6
- - "2.2"
7
- - "2.1.1"
8
- - "2.0.0"
9
- - "1.9.3"
6
+ - "2.5"
7
+ - "2.4"
8
+ - "2.3"
data/CHANGELOG.md ADDED
@@ -0,0 +1,10 @@
1
+ # Changelog
2
+
3
+ ## v0.7.0 (2018-10-22)
4
+
5
+ * fix unintended initializing http headers #47 (y_uuki)
6
+
7
+ ## v0.6.0 (2018-07-04)
8
+
9
+ * Use Rspec v3.x #43 (onk)
10
+
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.6.0
1
+ 0.7.0
@@ -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 = @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
@@ -1,3 +1,3 @@
1
1
  module Mackerel
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
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.6.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-07-04 00:00:00.000000000 Z
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