grafana-client 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +1 -0
- data/CHANGELOG.md +8 -0
- data/lib/grafana/client/base_client.rb +3 -3
- data/lib/grafana/client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3eda525f2c561bb0d4db349b155b639ad5c71a52201b78b1f85893d63fa936e1
|
4
|
+
data.tar.gz: 68248c88039d04bd0f8df5fb8becffc62bcd01e1b1f30f5b73a721981d44dfeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae0302217a6568771d08f34af45e86447cfe514f72b3980f2e55fbda8712ec7d0ce9d7d0f93eaeee19075178909a61ba5434e6b136310bedfc2afb6b395476ed
|
7
|
+
data.tar.gz: fa2e649f827801e61c298ea8811729b5087d7ce7b6c1d88346ec2fdcd0a746ea4caa9cfe425098a86d0b0e9452fdd3cfaef937f0915675ee06a3b1893ad4b060
|
data/CHANGELOG.md
CHANGED
@@ -24,20 +24,20 @@ module Grafana
|
|
24
24
|
|
25
25
|
def get(url, **options)
|
26
26
|
# TODO: error handling
|
27
|
-
|
27
|
+
@conn.get(url, **options).body
|
28
28
|
end
|
29
29
|
|
30
30
|
def post(url, body, **options)
|
31
31
|
response = @conn.post(url, body, **options)
|
32
32
|
|
33
33
|
# TODO: handle errors in the response
|
34
|
-
|
34
|
+
response.body
|
35
35
|
end
|
36
36
|
|
37
37
|
def delete(url, **options)
|
38
38
|
response = @conn.delete(url, **options)
|
39
39
|
|
40
|
-
|
40
|
+
response.body
|
41
41
|
end
|
42
42
|
end
|
43
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grafana-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Tanous
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|