influxdb-client 1.14.0.pre.2363 → 1.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- 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: 285819e60bebe048bbcab1d621cacd42b4bf5e7ddfe9b48da0efb9b33d78a415
|
4
|
+
data.tar.gz: bd3a3203c8dd09d595934ccf8ed35e2bfd0c352dd9fa2fb8c43dfe285eab6b14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c2ae692b98b59587e38c998e07f0e00fad98750029c8b570c697293f54844eb4154555095812a366d2b9e8424d5281d29d859f427b1adfe127f20d0b8565699
|
7
|
+
data.tar.gz: 20c210cf2f0c46f146a448dce92cdcfdd73fd74b98d34812edab0bf3a77b80002fe03ce3aa5d6751ba6594c8e0c74c48b90b2066fbade2c483804ed71f8a4f36
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
-
## 1.
|
1
|
+
## 1.15.0 [2021-06-04]
|
2
|
+
|
3
|
+
### API
|
4
|
+
1. [#79](https://github.com/influxdata/influxdb-client-ruby/pull/79): Update swagger generator to 5.1.1
|
5
|
+
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
|
6
|
+
|
7
|
+
## 1.14.0 [2021-04-30]
|
2
8
|
|
3
9
|
### API
|
4
10
|
1. [#77](https://github.com/influxdata/influxdb-client-ruby/pull/77): Update swagger to latest version
|
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.15.0
|
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: '0'
|
188
188
|
requirements: []
|
189
189
|
rubygems_version: 3.0.3.1
|
190
190
|
signing_key:
|