latias-influxdb 0.2.0 → 0.2.1
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ed54fb50c1e6f28a7896a5991a251a9a80700121e46dde00d8b717ed3dcfc80
|
4
|
+
data.tar.gz: 18545511343c762ae0b5ec30f8fd728c2118abbde2d234398ec6676e1b275278
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1b07cde58038611fecb11761473659969a2129db6753a2afdb36882058bfea7e4d82159f318ec5b46f28a8bfe8eb6d4c33ebe5cbee4746fe90fe98e388c3fd8
|
7
|
+
data.tar.gz: 3a9aa7122cd7c2618af27dd067bce534bb309261b17a6c130eee6eb38abc9a8f5bcd2fdbef4519f212ccc51743b37606cae4fe2d6552f6eaf0a6245b1e926499
|
data/README.md
CHANGED
@@ -31,7 +31,7 @@ class MdbEnergyBucket < Latias::Influxdb::Bucket
|
|
31
31
|
@bucket = 'MDBEnergy'
|
32
32
|
@org = 'MDBEnergy'
|
33
33
|
@use_ssl = false
|
34
|
-
|
34
|
+
client_connection
|
35
35
|
end
|
36
36
|
end
|
37
37
|
|
@@ -60,6 +60,12 @@ Or install it yourself as:
|
|
60
60
|
$ gem install latias-influxdb
|
61
61
|
```
|
62
62
|
|
63
|
+
Check version
|
64
|
+
|
65
|
+
```bash
|
66
|
+
rails latias:influxdb:verion
|
67
|
+
```
|
68
|
+
|
63
69
|
## Contributing
|
64
70
|
|
65
71
|
Contribution directions go here.
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
class InfluxdbGenerator < Rails::Generators::Base
|
4
|
+
desc "Description:\n This creates a Rails initializer for latias::InfluxDB::Rails."
|
5
|
+
|
6
|
+
source_root File.expand_path('templates', __dir__)
|
7
|
+
|
8
|
+
def copy_initializer_file
|
9
|
+
template 'initializer.rb', 'config/initializers/latias_influxdb.rb'
|
10
|
+
end
|
11
|
+
|
12
|
+
def install
|
13
|
+
# nothing to do here
|
14
|
+
end
|
15
|
+
end
|
@@ -1,4 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
require 'latias/influxdb/version'
|
2
|
+
|
3
|
+
namespace :latias do
|
4
|
+
namespace :influxdb do
|
5
|
+
desc 'check lib varsion'
|
6
|
+
task verion: :environment do
|
7
|
+
puts "Version: #{Latias::Influxdb::VERSION}"
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: latias-influxdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nattanon
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 6.1.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: influxdb-client
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.16.0.pre.2765
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.16.0.pre.2765
|
27
41
|
description:
|
28
42
|
email:
|
29
43
|
- nattanon@hospital-os.com
|
@@ -48,6 +62,8 @@ files:
|
|
48
62
|
- lib/latias/influxdb/configuration.rb
|
49
63
|
- lib/latias/influxdb/engine.rb
|
50
64
|
- lib/latias/influxdb/version.rb
|
65
|
+
- lib/rails/generators/latias/influxdb/influxdb_generator.rb
|
66
|
+
- lib/rails/generators/latias/influxdb/templates/initializer.rb
|
51
67
|
- lib/tasks/latias/influxdb_tasks.rake
|
52
68
|
homepage: https://gitlab.opensource-technology.com/nattanon/latias-influxdb
|
53
69
|
licenses:
|