mackerel-client 0.4.0 → 0.4.1

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
  SHA1:
3
- metadata.gz: 8223df7347ec3ad38411bc07a47ee281dfa903ce
4
- data.tar.gz: 455e08dfe09c1f13d97ae24798cfa24faa3738b3
3
+ metadata.gz: 4d420580a522e80698166f2b7d3ccce50c5df7b0
4
+ data.tar.gz: cd9032028a01755fa2fbb7e79b6590375bd0aa6f
5
5
  SHA512:
6
- metadata.gz: 5cb671cf7f4de85fdd7581441192f0dc0126bbe6114647b1120d4dd80f1c71393af0ad1163d55d5d416bc000f960908b8f551f0606dd0de0a4317ec3496ab927
7
- data.tar.gz: eaeec9170583fd338b270b4a7f5587219278ed8ac8af7f86c5298a4253b40d01a76f30a9598ad1a50fae2f7cbff45d5acc7870a02031bc522ef2aadf6dc5d601
6
+ metadata.gz: fbc6a2762fdbabad4fcfd8a4631b4d89f6b69158eec3e79e47c4542df2fe2bf9248f733ab97dad0b31280af1887f9c229239dea6080e0c14b8be0ed2d2644837
7
+ data.tar.gz: 9f71cb13cf0442de1a74e0e759794bacb9a47bd8f39d87530643f135b9d5127d5d8ac6030c1b7e3e2215d6daef0c8ad31319f156d85cda60619ce33a3425aeb9
data/README.md CHANGED
@@ -5,6 +5,8 @@ mackerel-client is a ruby library to access Mackerel (https://mackerel.io/). CLI
5
5
  ## Usage
6
6
 
7
7
  ```ruby
8
+ require 'mackerel/client'
9
+
8
10
  @mackerel = Mackerel::Client.new(:mackerel_api_key => "<Put your API key>")
9
11
  host = @mackerel.get_host("<hostId>")
10
12
  ```
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.0
1
+ 0.4.1
@@ -1,4 +1,3 @@
1
1
  require 'mackerel/client'
2
- require 'mackerel/api_command'
3
2
  require 'mackerel/runner'
4
3
  require 'mackerel/version'
@@ -3,6 +3,8 @@ require 'uri'
3
3
 
4
4
  require 'json' unless defined? ::JSON
5
5
 
6
+ require 'mackerel/api_command'
7
+
6
8
  require 'mackerel/role'
7
9
  require 'mackerel/host'
8
10
  require 'mackerel/monitor'
@@ -1,3 +1,3 @@
1
1
  module Mackerel
2
- VERSION = "0.2.0"
2
+ VERSION = "0.4.1"
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.4.0
4
+ version: 0.4.1
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: 2017-11-15 00:00:00.000000000 Z
11
+ date: 2017-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday