influxdb-client 3.3.0.pre.8563 → 3.3.0.pre.11290
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/influxdb2/client/point.rb +1 -1
- data/test/test_helper.rb +20 -0
- 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: 4cff52047bd3f6df3b716c59893b79fcccef3f23dfe14b65978863d0b67cbc73
|
|
4
|
+
data.tar.gz: f12fa55bd1cc900e2f35361431995176ae3399a6896359ba35e6e1df698ab46b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f5b57e81070e9902389b9fd3108601ade71c807e6c8520baa7ae25f0bef68e7eac2df0a720de3d815d86cf9f86274c2ee696949fb93ab2b9f81936f97cc8d334
|
|
7
|
+
data.tar.gz: be2192b9d7015ec309d3cdfb685a05530d5186b78dc64bf2632e4cd9f8f3c60f1b65efa5bd27fa01bacb443b93cf324b1696739483e9f67f8f3884788c757148
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
## 3.3.0 [unreleased]
|
|
2
2
|
|
|
3
|
+
### CI
|
|
4
|
+
1. [152](https://github.com/influxdata/influxdb-client-ruby/pull/152):
|
|
5
|
+
- Switches the JRuby jobs from jruby:9.3.1.0-jdk11 to jruby:9.4-dev-jdk11.
|
|
6
|
+
- Adds a monkeypatch for REXML::Document#initialize to tolerate malformed XML emitted during Cobertura report formatting.
|
|
7
|
+
|
|
8
|
+
1. [#149](https://github.com/influxdata/influxdb-client-ruby/pull/149): Fix FrozenError in Point#to_line_protocol when frozen string literals are enabled
|
|
9
|
+
|
|
3
10
|
## 3.2.0 [2024-11-27]
|
|
4
11
|
|
|
5
12
|
### Others
|
|
@@ -242,4 +249,3 @@ To overcome this limitation you have to set the client property `redirect_forwar
|
|
|
242
249
|
|
|
243
250
|
### Features
|
|
244
251
|
1. [#4](https://github.com/influxdata/influxdb-client-ruby/pull/4): Added WriteApi that will be used for Fluentd plugin
|
|
245
|
-
|
|
@@ -114,7 +114,7 @@ module InfluxDB2
|
|
|
114
114
|
#
|
|
115
115
|
# @return a string representation of the point
|
|
116
116
|
def to_line_protocol
|
|
117
|
-
line_protocol =
|
|
117
|
+
line_protocol = String.new
|
|
118
118
|
measurement = _escape_key(@name || '', ESCAPE_MEASUREMENT_LIST)
|
|
119
119
|
|
|
120
120
|
line_protocol << measurement
|
data/test/test_helper.rb
CHANGED
|
@@ -27,6 +27,26 @@ end
|
|
|
27
27
|
if ENV['CI'] == 'true'
|
|
28
28
|
require 'simplecov-cobertura'
|
|
29
29
|
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
|
|
30
|
+
|
|
31
|
+
# Monkeypatch REXML to handle malformed XML from simplecov-cobertura 1.4.2/2.1.0
|
|
32
|
+
# see: https://github.com/dashingrocket/simplecov-cobertura/issues/31
|
|
33
|
+
# TODO: remove this when simplecov-cobertura is updated
|
|
34
|
+
require 'rexml/document'
|
|
35
|
+
module REXML
|
|
36
|
+
class Document
|
|
37
|
+
alias original_initialize initialize
|
|
38
|
+
def initialize(source = nil, context = {})
|
|
39
|
+
if source.is_a?(String) && source.include?('Generated by simplecov-cobertura') && !source.include?('<coverage')
|
|
40
|
+
source_with_root = source + "\n<coverage/>"
|
|
41
|
+
original_initialize(source_with_root, context)
|
|
42
|
+
# Remove the dummy root element so simplecov-cobertura can add its own
|
|
43
|
+
delete_element('/coverage')
|
|
44
|
+
else
|
|
45
|
+
original_initialize(source, context)
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
end
|
|
30
50
|
end
|
|
31
51
|
|
|
32
52
|
$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
|
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.3.0.pre.
|
|
4
|
+
version: 3.3.0.pre.11290
|
|
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: 2026-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: csv
|