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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73738d41154d0eae69272970b5e61ca9d859464f4188c1da7f221c08fe97b0a5
4
- data.tar.gz: 47e7cf20dd22c82020934d2ca01aeaf9eb82e99ffbcd44aaaecd7df7bae6a745
3
+ metadata.gz: '005047899e29d95b4e056709cee013a8acf0318f7c40449ab483421fdc495dd5'
4
+ data.tar.gz: 6aa38fb36ebbda1952da047034a3992d7c9677bb7dc31b9cacd0dd026e0c29dc
5
5
  SHA512:
6
- metadata.gz: 9e79cf58b77ef3ff7a802b5ad41266c58a2a6dc880c1f987d400ca56b51c5b66ef32b951b61aef28532df92a6a59af93fc6d6db8d0a0695ea18f75099f351e74
7
- data.tar.gz: 9d34db3c422e4c05012948baaed40e3c711c240b609f2a51511fd29773e444c8d8b7f484c65fdd1509f0dece1e3cba81dc9ff4ff88122c3ec6c6d879c66422f5
6
+ metadata.gz: b30dcf6a0e3ae8b95946e8ad3cf76e138846674f38803bbde3c4b3523ae55120196244f60f33da28b66e3823ec60008dc119ae5f5839fbbad896dfbe7f29fcda
7
+ data.tar.gz: db373d2feff2943d25b5acb48aba0aa3fde4484113366b1846477d80308ec515fb4a4604e89c9759013477ce6269b666ac3fc500f4e7f4fc84563eec7753c73d
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Latias
4
4
  module Influxdb
5
- VERSION = '0.2.3'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
@@ -1,15 +1,19 @@
1
1
  require 'rails/generators'
2
2
 
3
- class InfluxdbGenerator < Rails::Generators::Base
4
- desc "Description:\n This creates a Rails initializer for latias::InfluxDB::Rails."
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
- source_root File.expand_path('templates', __dir__)
8
+ source_root File.expand_path('templates', __dir__)
7
9
 
8
- def copy_initializer_file
9
- template 'initializer.rb', 'config/initializers/latias_influxdb.rb'
10
- end
10
+ def copy_initializer_file
11
+ template 'initializer.rb', 'config/initializers/latias_influxdb.rb'
12
+ end
11
13
 
12
- def install
13
- # nothing to do here
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.2.3
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,6 +0,0 @@
1
- module Latias
2
- module Influxdb
3
- class ApplicationController < ActionController::Base
4
- end
5
- end
6
- end
@@ -1,6 +0,0 @@
1
- module Latias
2
- module Influxdb
3
- module ApplicationHelper
4
- end
5
- end
6
- end
@@ -1,6 +0,0 @@
1
- module Latias
2
- module Influxdb
3
- class ApplicationJob < ActiveJob::Base
4
- end
5
- end
6
- end
@@ -1,8 +0,0 @@
1
- module Latias
2
- module Influxdb
3
- class ApplicationMailer < ActionMailer::Base
4
- default from: 'from@example.com'
5
- layout 'mailer'
6
- end
7
- end
8
- end
@@ -1,7 +0,0 @@
1
- module Latias
2
- module Influxdb
3
- class ApplicationRecord < ActiveRecord::Base
4
- self.abstract_class = true
5
- end
6
- end
7
- end
@@ -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>