mackerel-client 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -4
- data/VERSION +1 -1
- data/bin/{mkr → mkr.rb} +0 -0
- metadata +18 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0ba1c12749c6d2ef0b6082465a55c267a57d47c
|
4
|
+
data.tar.gz: 9f60a87e4dfbd839e1980396dfb0b69de41d0f6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1ca116efffe7242602951e3c953e8684de864db398bae6a1539c1751b68f8fb36acfb1605b3ee9345007c1f145fc5f3b74ef5002c400730f565ba7eff24548c
|
7
|
+
data.tar.gz: 340c7c71be658005b9e4d605207eaf8ee096f7479598c7ac3d2cb4785047fce63bcf138b961bbc5adb033f7da6b761a0bf27e4fd7d232b90ba894435806d7a8a
|
data/README.md
CHANGED
@@ -15,24 +15,27 @@ host = @mackerel.get_host("<hostId>")
|
|
15
15
|
|
16
16
|
* Get host(s) information from hostname or service, role.
|
17
17
|
```
|
18
|
-
mkr host info [--name foo] [--service service] [--role role]
|
18
|
+
mkr.rb host info [--name foo] [--service service] [--role role]
|
19
19
|
```
|
20
20
|
|
21
21
|
* Set status of a host
|
22
22
|
```
|
23
|
-
mkr host status --host-id foo --status working
|
23
|
+
mkr.rb host status --host-id foo --status working
|
24
24
|
```
|
25
25
|
|
26
26
|
* Retire a host
|
27
27
|
```
|
28
|
-
mkr host retire --host-id foo
|
28
|
+
mkr.rb host retire --host-id foo
|
29
29
|
```
|
30
30
|
|
31
31
|
* Get status of a host (not implemented yet)
|
32
32
|
```
|
33
|
-
mkr host status --host-id foo
|
33
|
+
mkr.rb host status --host-id foo
|
34
34
|
```
|
35
35
|
|
36
|
+
Note: CLI command name has been changed to `mkr.rb` from 0.0.7.
|
37
|
+
Primary CLI `mkr` is implemented in Go (https://github.com/mackerelio/mkr).
|
38
|
+
|
36
39
|
## Authentication
|
37
40
|
```
|
38
41
|
export MACKEREL_APIKEY=foobar
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.7
|
data/bin/{mkr → mkr.rb}
RENAMED
File without changes
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mackerel-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
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: 2015-
|
11
|
+
date: 2015-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.9'
|
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
26
|
version: '0.9'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.5'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - ~>
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.5'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '2'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - ~>
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '2'
|
69
69
|
description: Mackerel client is a library to access Mackerel (https://mackerel.io/).
|
@@ -71,19 +71,19 @@ description: Mackerel client is a library to access Mackerel (https://mackerel.i
|
|
71
71
|
email:
|
72
72
|
- developers@mackerel.io
|
73
73
|
executables:
|
74
|
-
- mkr
|
74
|
+
- mkr.rb
|
75
75
|
extensions: []
|
76
76
|
extra_rdoc_files: []
|
77
77
|
files:
|
78
|
-
- .gitignore
|
79
|
-
- .rspec
|
80
|
-
- .travis.yml
|
78
|
+
- ".gitignore"
|
79
|
+
- ".rspec"
|
80
|
+
- ".travis.yml"
|
81
81
|
- Gemfile
|
82
82
|
- LICENSE.txt
|
83
83
|
- README.md
|
84
84
|
- Rakefile
|
85
85
|
- VERSION
|
86
|
-
- bin/mkr
|
86
|
+
- bin/mkr.rb
|
87
87
|
- lib/mackerel.rb
|
88
88
|
- lib/mackerel/client.rb
|
89
89
|
- lib/mackerel/host.rb
|
@@ -101,17 +101,17 @@ require_paths:
|
|
101
101
|
- lib
|
102
102
|
required_ruby_version: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
|
-
- -
|
104
|
+
- - ">="
|
105
105
|
- !ruby/object:Gem::Version
|
106
106
|
version: '0'
|
107
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
|
-
- -
|
109
|
+
- - ">="
|
110
110
|
- !ruby/object:Gem::Version
|
111
111
|
version: '0'
|
112
112
|
requirements: []
|
113
113
|
rubyforge_project:
|
114
|
-
rubygems_version: 2.
|
114
|
+
rubygems_version: 2.4.5
|
115
115
|
signing_key:
|
116
116
|
specification_version: 4
|
117
117
|
summary: Mackerel client implemented by Ruby.
|