influxdb-client 1.14.0 → 1.16.0.pre.2686
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +2 -2
- data/lib/influxdb2/client/models/delete_predicate_request.rb +5 -6
- data/lib/influxdb2/client/models/dialect.rb +5 -6
- data/lib/influxdb2/client/models/health_check.rb +5 -6
- data/lib/influxdb2/client/models/query.rb +5 -6
- data/lib/influxdb2/client/version.rb +1 -1
- data/test/influxdb/point_test.rb +0 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1980343bc130f3760b59ec721021be779263747c0cd441e30212ceacc821d65b
|
4
|
+
data.tar.gz: f8c77313016a4b78eeebb82ad30c4b5a3a1275ce36d7e0b381f442f2c7bc7567
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48b584e2e946aa3cc5a5db8135a38c155d88e75403bb771a156f4b3537f0c3d4266aa744f2d9d697a07ee9f075485af06efb738ae2190e7d57566282cd00f072
|
7
|
+
data.tar.gz: dc19ef50dbeb2dbb5e0bb1822ab83ae359418409dd008c41d97be0c0059ebbf58981efeb134485bc0fdfb7d03778443c6f158254915c50e81b6ad285a3d8dd1f
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## 1.16.0 [unreleased]
|
2
|
+
|
3
|
+
## 1.15.0 [2021-06-04]
|
4
|
+
|
5
|
+
### API
|
6
|
+
1. [#79](https://github.com/influxdata/influxdb-client-ruby/pull/79): Update swagger generator to 5.1.1
|
7
|
+
1. [#82](https://github.com/influxdata/influxdb-client-ruby/pull/82): Use [openapi](https://github.com/influxdata/openapi) repository as a source for InfluxDB API definition
|
8
|
+
|
1
9
|
## 1.14.0 [2021-04-30]
|
2
10
|
|
3
11
|
### API
|
data/README.md
CHANGED
@@ -54,13 +54,13 @@ The client can be installed manually or with bundler.
|
|
54
54
|
To install the client gem manually:
|
55
55
|
|
56
56
|
```
|
57
|
-
gem install influxdb-client -v 1.
|
57
|
+
gem install influxdb-client -v 1.15.0
|
58
58
|
```
|
59
59
|
|
60
60
|
For management API:
|
61
61
|
|
62
62
|
```
|
63
|
-
gem install influxdb-client-apis -v 1.
|
63
|
+
gem install influxdb-client-apis -v 1.15.0
|
64
64
|
```
|
65
65
|
|
66
66
|
## Usage
|
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-beta3
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -25,7 +24,7 @@ module InfluxDB2
|
|
25
24
|
# InfluxQL-like delete statement
|
26
25
|
attr_accessor :predicate
|
27
26
|
|
28
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
27
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
29
28
|
def self.attribute_map
|
30
29
|
{
|
31
30
|
:'start' => :'start',
|
@@ -39,7 +38,7 @@ module InfluxDB2
|
|
39
38
|
{
|
40
39
|
:'start' => :'Time',
|
41
40
|
:'stop' => :'Time',
|
42
|
-
:'predicate' => :'String'
|
41
|
+
:'predicate' => :'String'
|
43
42
|
}
|
44
43
|
end
|
45
44
|
|
@@ -119,7 +118,7 @@ module InfluxDB2
|
|
119
118
|
# Calculates hash code according to all attributes.
|
120
119
|
# @return [Integer] Hash code
|
121
120
|
def hash
|
122
|
-
[start, stop, predicate
|
121
|
+
[start, stop, predicate].hash
|
123
122
|
end
|
124
123
|
|
125
124
|
# Builds the object from hash
|
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-beta3
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -53,7 +52,7 @@ module InfluxDB2
|
|
53
52
|
end
|
54
53
|
end
|
55
54
|
|
56
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
55
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
57
56
|
def self.attribute_map
|
58
57
|
{
|
59
58
|
:'header' => :'header',
|
@@ -71,7 +70,7 @@ module InfluxDB2
|
|
71
70
|
:'delimiter' => :'String',
|
72
71
|
:'annotations' => :'Array<String>',
|
73
72
|
:'comment_prefix' => :'String',
|
74
|
-
:'date_time_format' => :'String'
|
73
|
+
:'date_time_format' => :'String'
|
75
74
|
}
|
76
75
|
end
|
77
76
|
|
@@ -221,7 +220,7 @@ module InfluxDB2
|
|
221
220
|
# Calculates hash code according to all attributes.
|
222
221
|
# @return [Integer] Hash code
|
223
222
|
def hash
|
224
|
-
[header, delimiter, annotations, comment_prefix, date_time_format
|
223
|
+
[header, delimiter, annotations, comment_prefix, date_time_format].hash
|
225
224
|
end
|
226
225
|
|
227
226
|
# Builds the object from hash
|
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-beta3
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -49,7 +48,7 @@ module InfluxDB2
|
|
49
48
|
end
|
50
49
|
end
|
51
50
|
|
52
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
51
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
53
52
|
def self.attribute_map
|
54
53
|
{
|
55
54
|
:'name' => :'name',
|
@@ -69,7 +68,7 @@ module InfluxDB2
|
|
69
68
|
:'checks' => :'Array<HealthCheck>',
|
70
69
|
:'status' => :'String',
|
71
70
|
:'version' => :'String',
|
72
|
-
:'commit' => :'String'
|
71
|
+
:'commit' => :'String'
|
73
72
|
}
|
74
73
|
end
|
75
74
|
|
@@ -178,7 +177,7 @@ module InfluxDB2
|
|
178
177
|
# Calculates hash code according to all attributes.
|
179
178
|
# @return [Integer] Hash code
|
180
179
|
def hash
|
181
|
-
[name, message, checks, status, version, commit
|
180
|
+
[name, message, checks, status, version, commit].hash
|
182
181
|
end
|
183
182
|
|
184
183
|
# Builds the object from hash
|
@@ -1,12 +1,11 @@
|
|
1
1
|
=begin
|
2
|
-
#Influx API Service
|
2
|
+
#Influx OSS API Service
|
3
3
|
|
4
4
|
#No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 0.
|
6
|
+
The version of the OpenAPI document: 2.0.0
|
7
7
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 5.0.0-beta3
|
10
9
|
|
11
10
|
=end
|
12
11
|
|
@@ -51,7 +50,7 @@ module InfluxDB2
|
|
51
50
|
end
|
52
51
|
end
|
53
52
|
|
54
|
-
# Attribute mapping from ruby-style variable name to JSON key
|
53
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
55
54
|
def self.attribute_map
|
56
55
|
{
|
57
56
|
:'extern' => :'extern',
|
@@ -69,7 +68,7 @@ module InfluxDB2
|
|
69
68
|
:'query' => :'String',
|
70
69
|
:'type' => :'String',
|
71
70
|
:'dialect' => :'Dialect',
|
72
|
-
:'now' => :'Time'
|
71
|
+
:'now' => :'Time'
|
73
72
|
}
|
74
73
|
end
|
75
74
|
|
@@ -166,7 +165,7 @@ module InfluxDB2
|
|
166
165
|
# Calculates hash code according to all attributes.
|
167
166
|
# @return [Integer] Hash code
|
168
167
|
def hash
|
169
|
-
[extern, query, type, dialect, now
|
168
|
+
[extern, query, type, dialect, now].hash
|
170
169
|
end
|
171
170
|
|
172
171
|
# Builds the object from hash
|
data/test/influxdb/point_test.rb
CHANGED
@@ -226,8 +226,6 @@ class PointTest < MiniTest::Test
|
|
226
226
|
.add_tag("t\tab", "t\tab")
|
227
227
|
.add_field('level', 2)
|
228
228
|
|
229
|
-
puts point.to_line_protocol
|
230
|
-
|
231
229
|
assert_equal 'h\\n2\\ro\\t_data,carriage\\rreturn=carriage\\nreturn,new\\nline=new\\nline,t\\tab=t\\tab level=2i',
|
232
230
|
point.to_line_protocol
|
233
231
|
end
|
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: 1.
|
4
|
+
version: 1.16.0.pre.2686
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakub Bednar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-04
|
11
|
+
date: 2021-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -182,9 +182,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
182
182
|
version: 2.2.0
|
183
183
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
|
-
- - "
|
185
|
+
- - ">"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
187
|
+
version: 1.3.1
|
188
188
|
requirements: []
|
189
189
|
rubygems_version: 3.0.3.1
|
190
190
|
signing_key:
|