influxdb 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/lib/influxdb/client.rb +7 -2
- data/lib/influxdb/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ed83d11d5fa7d16964912a9d586796f26bd785c
|
4
|
+
data.tar.gz: 4a30560d5455f23971e4d86afb87ea0d2918049b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3a132de196624683b6cf3a2ecc02ec9e0f6ba2fd013432f72ca5d87c2b8e8e827250260414df002507cb554e6acca4181a05b6be6d40d4f0c36add80ffb60d7
|
7
|
+
data.tar.gz: 9265b98d24c2a5ebfbd1569eaf25d926285c9a45f70b1ffc480156eac612b10b59cb3277c269c8a26eac4963bd00213570d5272aa546eef979fbc3ab0c3d9186
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,15 @@
|
|
2
2
|
|
3
3
|
For the full commit log, [see here](https://github.com/influxdata/influxdb-ruby/commits/master).
|
4
4
|
|
5
|
-
##
|
5
|
+
## Unreleased changes
|
6
|
+
|
7
|
+
- None yet.
|
8
|
+
|
9
|
+
## v0.4.1, released 2017-08-30
|
10
|
+
|
11
|
+
- Bugfix in async client: Flush queue before exit (#198, #199 @onlynone)
|
12
|
+
|
13
|
+
## v0.4.0, released 2017-08-19
|
6
14
|
|
7
15
|
- **Dropped support for Ruby < 2.2.**
|
8
16
|
- Updated dependencies.
|
data/lib/influxdb/client.rb
CHANGED
@@ -55,11 +55,16 @@ module InfluxDB
|
|
55
55
|
@stopped = false
|
56
56
|
@writer = find_writer
|
57
57
|
|
58
|
-
at_exit { stop! }
|
58
|
+
at_exit { stop! }
|
59
59
|
end
|
60
60
|
|
61
61
|
def stop!
|
62
|
-
|
62
|
+
if config.async?
|
63
|
+
# If retry was infinite (-1), set it to zero to give the main thread one
|
64
|
+
# last chance to flush the queue
|
65
|
+
config.retry = 0 if config.retry < 0
|
66
|
+
writer.worker.stop!
|
67
|
+
end
|
63
68
|
@stopped = true
|
64
69
|
end
|
65
70
|
|
data/lib/influxdb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: influxdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Todd Persen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|