influxdb-client 3.1.0.pre.7617 → 3.1.0.pre.7871
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: ca2f50fc2a25507c9181f71b3492e035e82b1f9a5a6997171451c7a97a49b4b8
|
4
|
+
data.tar.gz: 1c145f179ef4771b2d40a78e925965d94c9d3f82d18febfad3950d5973a676a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed66fbedf6ff9f74211b8eed6c1ee41efaa19a55c187a5cf8b0ad01582cb5057366f19f9506d79709d21897c591c29e17dde68b3ca2ee0af41cc708975277d1d
|
7
|
+
data.tar.gz: 4fc50ce1446f9ff83f51baeb40ae61444b45e922cbbbc81a20c626dcdd4d537c4090e33ab1979c7f309077b3eac1d727972e807df29c77a85db0941540c1adc4
|
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.7871
|
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-02-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|