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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f855fcd107829fe6a38608b160867dab591272da9fec63f8aba6b20b3cec35e
4
- data.tar.gz: b1a62e82cb2ce97528be51e0a099fcfc835de974a9ec776fbce392e171120306
3
+ metadata.gz: 3eda525f2c561bb0d4db349b155b639ad5c71a52201b78b1f85893d63fa936e1
4
+ data.tar.gz: 68248c88039d04bd0f8df5fb8becffc62bcd01e1b1f30f5b73a721981d44dfeb
5
5
  SHA512:
6
- metadata.gz: 05bb6912d1040b15caf4631a667cbed87f299279fb93a6e72d4e49d7143c7e2393922dd8d5d3828106b2b5e24808a63cd841bd4ef9c7e535bb2def5e8ea7ca9d
7
- data.tar.gz: a5766d1cc020f7d8fa24857cd167064501f3660440136828c610265ab32788bbb473cd504051aa7ebdcfe6df35ba0e19c263ea9ca082587365dab87d147b0e82
6
+ metadata.gz: ae0302217a6568771d08f34af45e86447cfe514f72b3980f2e55fbda8712ec7d0ce9d7d0f93eaeee19075178909a61ba5434e6b136310bedfc2afb6b395476ed
7
+ data.tar.gz: fa2e649f827801e61c298ea8811729b5087d7ce7b6c1d88346ec2fdcd0a746ea4caa9cfe425098a86d0b0e9452fdd3cfaef937f0915675ee06a3b1893ad4b060
@@ -9,6 +9,7 @@ on:
9
9
 
10
10
  jobs:
11
11
  release:
12
+ environment: Build
12
13
  runs-on: ubuntu-latest
13
14
  if: ${{ github.event.workflow_run.conclusion == 'success' }}
14
15
  steps:
data/CHANGELOG.md CHANGED
@@ -1,7 +1,15 @@
1
1
  ## [Unreleased]
2
2
 
3
+ # [0.1.2] - 2021-06-04
4
+
5
+ ### Fixed
6
+
7
+ - Fix JSON parsing to use Faraday middleware only
8
+
3
9
  ## [0.1.1] - 2021-06-01
4
10
 
11
+ ### Added
12
+
5
13
  - Add Dashboard/Folder search capabilities
6
14
 
7
15
  ## [0.1.0] - 2021-05-21
@@ -24,20 +24,20 @@ module Grafana
24
24
 
25
25
  def get(url, **options)
26
26
  # TODO: error handling
27
- JSON.parse(@conn.get(url, **options).body)
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
- JSON.parse(response.body)
34
+ response.body
35
35
  end
36
36
 
37
37
  def delete(url, **options)
38
38
  response = @conn.delete(url, **options)
39
39
 
40
- JSON.parse(response.body)
40
+ response.body
41
41
  end
42
42
  end
43
43
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Grafana
4
- CLIENT_VERSION = "0.1.1"
4
+ CLIENT_VERSION = "0.1.2"
5
5
  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.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-02 00:00:00.000000000 Z
11
+ date: 2021-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday