influxdb-client 1.0.0.pre.116 → 1.0.0.pre.121
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/README.md +12 -4
- 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: 37721226ace63cea9b14c9e7cbb6474c44406f1d96bce46fcde735f9a7f47de3
|
4
|
+
data.tar.gz: 529302573c9122ea91301dec3cca2738ed7bfa1e106ca0ed59765e6d8948c1f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c2dbe6f3efdc655d6bf322b1a698da6951d9cf5c019ac0b4eda389b31ec70550ad5c0af88a34e3a0bfa733c56c81ced06911cb2f1176cd07be3a0e9f7a8eb9e
|
7
|
+
data.tar.gz: 73053187a5d3af888d542fc71428a56e0a48c998df4743265b24fc4ae6f02e75e90a978db00c060ffdb9df109c9e2b29a947fbf18d7ee3fc3e4caf21c1559126
|
data/README.md
CHANGED
@@ -49,9 +49,9 @@ client = InfluxDB::Client.new('https://localhost:9999', 'my-token')
|
|
49
49
|
| use_ssl | Turn on/off SSL for HTTP communication | bool | true |
|
50
50
|
|
51
51
|
```ruby
|
52
|
-
client = InfluxDB::Client.new('https://localhost:9999', 'my-token',
|
53
|
-
bucket: 'my-bucket',
|
54
|
-
org: 'my-org',
|
52
|
+
client = InfluxDB::Client.new('https://localhost:9999', 'my-token',
|
53
|
+
bucket: 'my-bucket',
|
54
|
+
org: 'my-org',
|
55
55
|
precision: InfluxDB::WritePrecision::NANOSECOND)
|
56
56
|
```
|
57
57
|
|
@@ -103,7 +103,7 @@ client = InfluxDB::Client.new('https://localhost:9999', 'my-token',
|
|
103
103
|
```
|
104
104
|
|
105
105
|
but there is also possibility to override configuration per write:
|
106
|
-
|
106
|
+
|
107
107
|
```ruby
|
108
108
|
client = InfluxDB::Client.new('https://localhost:9999', 'my-token')
|
109
109
|
|
@@ -138,6 +138,14 @@ write_api = client.create_write_api
|
|
138
138
|
write_api.write(data: ['h2o,location=west value=33i 15', point, hash])
|
139
139
|
```
|
140
140
|
|
141
|
+
## Local tests
|
142
|
+
|
143
|
+
```
|
144
|
+
brew install wget # on a mac, if not yet installed!
|
145
|
+
bin/influxdb-restart.sh
|
146
|
+
rake test
|
147
|
+
```
|
148
|
+
|
141
149
|
## Contributing
|
142
150
|
|
143
151
|
Bug reports and pull requests are welcome on GitHub at https://github.com/bonitoo-io/influxdb-client-ruby.
|
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.0.0.pre.
|
4
|
+
version: 1.0.0.pre.121
|
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-01-
|
11
|
+
date: 2020-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|