latias-influxdb 0.2.3 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/latias/influxdb/version.rb +1 -1
- data/lib/rails/generators/latias/influxdb/install_generator.rb +12 -8
- metadata +1 -9
- data/app/assets/config/latias_influxdb_manifest.js +0 -1
- data/app/assets/stylesheets/latias/influxdb/application.css +0 -15
- data/app/controllers/latias/influxdb/application_controller.rb +0 -6
- data/app/helpers/latias/influxdb/application_helper.rb +0 -6
- data/app/jobs/latias/influxdb/application_job.rb +0 -6
- data/app/mailers/latias/influxdb/application_mailer.rb +0 -8
- data/app/models/latias/influxdb/application_record.rb +0 -7
- data/app/views/layouts/latias/influxdb/application.html.erb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '005047899e29d95b4e056709cee013a8acf0318f7c40449ab483421fdc495dd5'
|
4
|
+
data.tar.gz: 6aa38fb36ebbda1952da047034a3992d7c9677bb7dc31b9cacd0dd026e0c29dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b30dcf6a0e3ae8b95946e8ad3cf76e138846674f38803bbde3c4b3523ae55120196244f60f33da28b66e3823ec60008dc119ae5f5839fbbad896dfbe7f29fcda
|
7
|
+
data.tar.gz: db373d2feff2943d25b5acb48aba0aa3fde4484113366b1846477d80308ec515fb4a4604e89c9759013477ce6269b666ac3fc500f4e7f4fc84563eec7753c73d
|
@@ -1,15 +1,19 @@
|
|
1
1
|
require 'rails/generators'
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
module Latias
|
4
|
+
module Influxdb
|
5
|
+
class InstallGenerator < Rails::Generators::Base
|
6
|
+
desc "Description:\n This creates a Rails initializer for latias::InfluxDB::Rails."
|
5
7
|
|
6
|
-
|
8
|
+
source_root File.expand_path('templates', __dir__)
|
7
9
|
|
8
|
-
|
9
|
-
|
10
|
-
|
10
|
+
def copy_initializer_file
|
11
|
+
template 'initializer.rb', 'config/initializers/latias_influxdb.rb'
|
12
|
+
end
|
11
13
|
|
12
|
-
|
13
|
-
|
14
|
+
def install
|
15
|
+
# nothing to do here
|
16
|
+
end
|
17
|
+
end
|
14
18
|
end
|
15
19
|
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.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nattanon
|
@@ -48,14 +48,6 @@ files:
|
|
48
48
|
- MIT-LICENSE
|
49
49
|
- README.md
|
50
50
|
- Rakefile
|
51
|
-
- app/assets/config/latias_influxdb_manifest.js
|
52
|
-
- app/assets/stylesheets/latias/influxdb/application.css
|
53
|
-
- app/controllers/latias/influxdb/application_controller.rb
|
54
|
-
- app/helpers/latias/influxdb/application_helper.rb
|
55
|
-
- app/jobs/latias/influxdb/application_job.rb
|
56
|
-
- app/mailers/latias/influxdb/application_mailer.rb
|
57
|
-
- app/models/latias/influxdb/application_record.rb
|
58
|
-
- app/views/layouts/latias/influxdb/application.html.erb
|
59
51
|
- config/routes.rb
|
60
52
|
- lib/latias/influxdb.rb
|
61
53
|
- lib/latias/influxdb/bucket.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
//= link_directory ../stylesheets/latias/influxdb .css
|
@@ -1,15 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
-
* listed below.
|
4
|
-
*
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
-
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
-
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
-
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
-
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
-
* It is generally better to create a new file per style scope.
|
12
|
-
*
|
13
|
-
*= require_tree .
|
14
|
-
*= require_self
|
15
|
-
*/
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>Latias influxdb</title>
|
5
|
-
<%= csrf_meta_tags %>
|
6
|
-
<%= csp_meta_tag %>
|
7
|
-
|
8
|
-
<%= stylesheet_link_tag "latias/influxdb/application", media: "all" %>
|
9
|
-
</head>
|
10
|
-
<body>
|
11
|
-
|
12
|
-
<%= yield %>
|
13
|
-
|
14
|
-
</body>
|
15
|
-
</html>
|