influxdb-client 3.1.0.pre.7617 → 3.1.0.pre.7796
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/influxdb2/client/influx_error.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: 798243a3e397aacc6176789ca3a9121aac954864e9bfb75c67ee76267e7c6916
|
4
|
+
data.tar.gz: 9b2c77bb07d9423cfa252a1208c3922be98255d2f70d2171eeddc810b48fcfc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb38d9727ebf6f56a8aa9165544a8c1fa5d0a31f8cabf9a2f40e856703f2b30558b03ac06b81d55b20aab7407c5d48c16532c8b0cdce930c84960dbf9a32adf8
|
7
|
+
data.tar.gz: a4e3c81e3c0241cb42742eae88aa51e0cc74cc9bb8d5d681614703fbb38cc8f8200d5db08c2def6c4ec38a68a9ecffe5708d51bd76e4e3d78734ba4ef5c12be6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
## 3.1.0 [unreleased]
|
2
2
|
|
3
|
+
### Bug Fixes
|
4
|
+
1. [#134](https://github.com/influxdata/influxdb-client-ruby/pull/134): Support influxdb v1.8 HTTP error response message. Prior to this change, in case of an HTTP error response (influxDB v1.8) the InfluxError had empty message.
|
5
|
+
|
3
6
|
## 3.0.0 [2023-12-05]
|
4
7
|
|
5
8
|
### Bug Fixes
|
@@ -32,7 +32,7 @@ module InfluxDB2
|
|
32
32
|
|
33
33
|
def self.from_response(response)
|
34
34
|
json = JSON.parse(response.body)
|
35
|
-
obj = new(message: json['message'] || '', code: response.code, reference: json['code'] || '',
|
35
|
+
obj = new(message: json['message'] || json['error'] || '', code: response.code, reference: json['code'] || '',
|
36
36
|
retry_after: response['Retry-After'] || '')
|
37
37
|
obj
|
38
38
|
rescue JSON::ParserError
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: influxdb-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.0.pre.
|
4
|
+
version: 3.1.0.pre.7796
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakub Bednar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|