influxdb-client 1.10.0.pre.1451 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2b48922639f94e9e7675f95f0bbd38fd4412fafa2ec628b3259d537593d081fb
4
- data.tar.gz: 4fcaa586653829d4f0770614b2e25d096a14abe9e3a882e47c22b138a1bccbfe
3
+ metadata.gz: cbb3314e109c67928a9c41937503b7ecbaaf8fa6195685e9cdf54430db66f6c4
4
+ data.tar.gz: 53668e1a6047969e2056fad6ef348302724f09ca4be92560e1d1972fbfe24695
5
5
  SHA512:
6
- metadata.gz: 0ce3a69f45a16ca75aebe7e028184360a3800501cf4ec46ba2a0cca423dfd5b2370d95df8cdd990bb22c9508136c0ab9590d9f30e6cc23959b583d6f5882bd25
7
- data.tar.gz: e2dcb0883913a4bc05401badd02347125dfe795600c98e7d5e83b088009a185adfc153223681eb56bd0b74de06b6708f611821b9412f33ad6e08323d4e356d21
6
+ metadata.gz: a9e20e2060966ad0781d8f76600b9c413ae41fa1ce731a2f87f7c16f6d24b74e11c68788a02584e3f67ee2a4799f67bd2f4a24e331242f6c6924b73cca570130
7
+ data.tar.gz: 26c3782910a5936dddc8a6a3e89be90664e8908a4533960706b8157220221dfe93cb2f45ee25bd84e463d18e358f2f3bb860ece16776cf8ae8e55e554f9de3c2
@@ -78,7 +78,7 @@ jobs:
78
78
  default: &default-ruby-image "circleci/ruby:2.6-stretch"
79
79
  influxdb-image:
80
80
  type: string
81
- default: &default-influxdb-image "influxdb:v2.0.2"
81
+ default: &default-influxdb-image "influxdb:v2.0.3"
82
82
  docker:
83
83
  - image: << parameters.ruby-image >>
84
84
  - image: &influx-image quay.io/influxdb/<< parameters.influxdb-image >>
@@ -117,6 +117,9 @@ workflows:
117
117
  version: 2
118
118
  build:
119
119
  jobs:
120
+ - tests-ruby:
121
+ name: ruby-3.0
122
+ ruby-image: "circleci/ruby:3.0-buster"
120
123
  - tests-ruby:
121
124
  name: ruby-2.7
122
125
  ruby-image: "circleci/ruby:2.7-buster"
@@ -124,7 +127,7 @@ workflows:
124
127
  name: ruby-2.6
125
128
  - tests-ruby:
126
129
  name: ruby-2.6-nightly
127
- influxdb-image: "influx:nightly"
130
+ influxdb-image: "influxdb2:nightly"
128
131
  - tests-ruby:
129
132
  name: ruby-2.5
130
133
  ruby-image: "circleci/ruby:2.5-stretch"
@@ -133,6 +136,7 @@ workflows:
133
136
  ruby-image: "circleci/ruby:2.4-stretch"
134
137
  - deploy-preview:
135
138
  requires:
139
+ - ruby-3.0
136
140
  - ruby-2.7
137
141
  - ruby-2.6
138
142
  - ruby-2.6-nightly
@@ -1,4 +1,10 @@
1
- ## 1.10.0 [unreleased]
1
+ ## 1.11.0 [2021-01-29]
2
+
3
+ ### CI
4
+ 1. [#63](https://github.com/influxdata/influxdb-client-ruby/pull/63): Updated default docker image to v2.0.3
5
+ 1. [#65](https://github.com/influxdata/influxdb-client-ruby/pull/65): Added Ruby 3.0 into CI
6
+
7
+ ## 1.10.0 [2020-12-04]
2
8
 
3
9
  ### Features
4
10
  1. [#59](https://github.com/influxdata/influxdb-client-ruby/pull/59): CSV parser is able to parse export from UI
data/README.md CHANGED
@@ -23,7 +23,7 @@ The client can be installed manually or with bundler.
23
23
  To install the client gem manually:
24
24
 
25
25
  ```
26
- gem install influxdb-client -v 1.9.0
26
+ gem install influxdb-client -v 1.11.0
27
27
  ```
28
28
 
29
29
  ## Usage
@@ -27,7 +27,7 @@ DEFAULT_DOCKER_REGISTRY="quay.io/influxdb/"
27
27
  DOCKER_REGISTRY="${DOCKER_REGISTRY:-$DEFAULT_DOCKER_REGISTRY}"
28
28
 
29
29
  DEFAULT_INFLUXDB_V2_REPOSITORY="influxdb"
30
- DEFAULT_INFLUXDB_V2_VERSION="v2.0.2"
30
+ DEFAULT_INFLUXDB_V2_VERSION="v2.0.3"
31
31
  INFLUXDB_V2_REPOSITORY="${INFLUXDB_V2_REPOSITORY:-$DEFAULT_INFLUXDB_V2_REPOSITORY}"
32
32
  INFLUXDB_V2_VERSION="${INFLUXDB_V2_VERSION:-$DEFAULT_INFLUXDB_V2_VERSION}"
33
33
  INFLUXDB_V2_IMAGE=${DOCKER_REGISTRY}${INFLUXDB_V2_REPOSITORY}:${INFLUXDB_V2_VERSION}
@@ -19,5 +19,5 @@
19
19
  # THE SOFTWARE.
20
20
 
21
21
  module InfluxDB2
22
- VERSION = '1.10.0'.freeze
22
+ VERSION = '1.11.0'.freeze
23
23
  end
@@ -56,8 +56,6 @@ class DeleteApiIntegrationTest < MiniTest::Test
56
56
  end
57
57
 
58
58
  def test_delete
59
- # TODO: https://github.com/influxdata/influxdb/issues/19545
60
- skip
61
59
  @client.create_delete_api.delete(Time.utc(2015, 10, 16, 8, 20, 15), Time.utc(2020, 10, 16, 8, 20, 15),
62
60
  predicate: 'location="europe"')
63
61
 
@@ -65,24 +63,18 @@ class DeleteApiIntegrationTest < MiniTest::Test
65
63
  end
66
64
 
67
65
  def test_delete_without_predicate
68
- # TODO: https://github.com/influxdata/influxdb/issues/19545
69
- skip
70
66
  @client.create_delete_api.delete(Time.utc(2016, 10, 15, 7, 20, 15), Time.utc(2018, 10, 14, 8, 20, 15))
71
67
 
72
68
  assert_equal 2, _query_count
73
69
  end
74
70
 
75
71
  def test_delete_all
76
- # TODO: https://github.com/influxdata/influxdb/issues/19545
77
- skip
78
72
  @client.create_delete_api.delete(Time.utc(2010, 10, 15, 7, 20, 15), Time.utc(2020, 10, 14, 8, 20, 15))
79
73
 
80
74
  assert_equal 0, _query_count
81
75
  end
82
76
 
83
77
  def test_delete_without_interval
84
- # TODO: https://github.com/influxdata/influxdb/issues/19545
85
- skip
86
78
  error = assert_raises InfluxDB2::InfluxError do
87
79
  @client.create_delete_api.delete(nil, nil)
88
80
  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.10.0.pre.1451
4
+ version: 1.11.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: 2020-12-03 00:00:00.000000000 Z
11
+ date: 2021-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -198,9 +198,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
198
198
  version: 2.2.0
199
199
  required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  requirements:
201
- - - ">"
201
+ - - ">="
202
202
  - !ruby/object:Gem::Version
203
- version: 1.3.1
203
+ version: '0'
204
204
  requirements: []
205
205
  rubygems_version: 3.0.3
206
206
  signing_key: