diff options
author | 2019-07-24 07:46:39 +0200 | |
---|---|---|
committer | 2019-07-24 07:46:39 +0200 | |
commit | 98b87fbd2aada2bac80ad3d76b699ff32e8fd809 (patch) | |
tree | 618e0179a9c3a9a7d38da52313237482458d8511 /app | |
parent | Silence a deprecation warning (diff) | |
download | glsamaker-98b87fbd2aada2bac80ad3d76b699ff32e8fd809.tar.gz glsamaker-98b87fbd2aada2bac80ad3d76b699ff32e8fd809.tar.bz2 glsamaker-98b87fbd2aada2bac80ad3d76b699ff32e8fd809.zip |
Fix rubocop Layout/TrailingBlankLines
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/admin/index_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/admin/users_controller.rb | 2 | ||||
-rw-r--r-- | app/controllers/bugs_controller.rb | 2 | ||||
-rw-r--r-- | app/helpers/admin/templates_helper.rb | 2 | ||||
-rw-r--r-- | app/helpers/glsa_helper.rb | 1 | ||||
-rw-r--r-- | app/indices/indices.rb | 2 | ||||
-rw-r--r-- | app/models/cpe.rb | 2 | ||||
-rw-r--r-- | app/models/cve.rb | 2 | ||||
-rw-r--r-- | app/models/cve_assignment.rb | 2 | ||||
-rw-r--r-- | app/models/cve_change.rb | 2 | ||||
-rw-r--r-- | app/models/cve_comment.rb | 2 | ||||
-rw-r--r-- | app/models/cve_reference.rb | 2 |
12 files changed, 11 insertions, 12 deletions
diff --git a/app/controllers/admin/index_controller.rb b/app/controllers/admin/index_controller.rb index 16f01f5..ac48bfb 100644 --- a/app/controllers/admin/index_controller.rb +++ b/app/controllers/admin/index_controller.rb @@ -3,4 +3,4 @@ class Admin::IndexController < ApplicationController def index end -end
\ No newline at end of file +end diff --git a/app/controllers/admin/users_controller.rb b/app/controllers/admin/users_controller.rb index ef3bd04..d43628d 100644 --- a/app/controllers/admin/users_controller.rb +++ b/app/controllers/admin/users_controller.rb @@ -68,4 +68,4 @@ class Admin::UsersController < ApplicationController flash[:notice] = "User was successfully deleted." redirect_to(admin_users_path) end -end
\ No newline at end of file +end diff --git a/app/controllers/bugs_controller.rb b/app/controllers/bugs_controller.rb index 54142e0..5e5c6d9 100644 --- a/app/controllers/bugs_controller.rb +++ b/app/controllers/bugs_controller.rb @@ -56,4 +56,4 @@ class BugsController < ApplicationController def show end -end
\ No newline at end of file +end diff --git a/app/helpers/admin/templates_helper.rb b/app/helpers/admin/templates_helper.rb index 9266e69..6f30e51 100644 --- a/app/helpers/admin/templates_helper.rb +++ b/app/helpers/admin/templates_helper.rb @@ -3,4 +3,4 @@ module Admin::TemplatesHelper def target_list GLSAMAKER_TEMPLATE_TARGETS.map{|x| [x.titleize, x]} end -end
\ No newline at end of file +end diff --git a/app/helpers/glsa_helper.rb b/app/helpers/glsa_helper.rb index 64171b8..7770227 100644 --- a/app/helpers/glsa_helper.rb +++ b/app/helpers/glsa_helper.rb @@ -198,4 +198,3 @@ private end end end - diff --git a/app/indices/indices.rb b/app/indices/indices.rb index cc3596a..04be101 100644 --- a/app/indices/indices.rb +++ b/app/indices/indices.rb @@ -31,4 +31,4 @@ ThinkingSphinx::Index.define :revision, :with => :active_record do indexes is_release has glsa_id, revid, release_revision -end
\ No newline at end of file +end diff --git a/app/models/cpe.rb b/app/models/cpe.rb index a683c7a..243cced 100644 --- a/app/models/cpe.rb +++ b/app/models/cpe.rb @@ -26,4 +26,4 @@ class Cpe < ActiveRecord::Base def version split[4] end -end
\ No newline at end of file +end diff --git a/app/models/cve.rb b/app/models/cve.rb index 665eac1..d9a05c6 100644 --- a/app/models/cve.rb +++ b/app/models/cve.rb @@ -174,4 +174,4 @@ class Cve < ActiveRecord::Base package_hints.flatten.uniq end -end
\ No newline at end of file +end diff --git a/app/models/cve_assignment.rb b/app/models/cve_assignment.rb index 19d471f..af1559a 100644 --- a/app/models/cve_assignment.rb +++ b/app/models/cve_assignment.rb @@ -1,3 +1,3 @@ class CveAssignment < ActiveRecord::Base belongs_to :cve -end
\ No newline at end of file +end diff --git a/app/models/cve_change.rb b/app/models/cve_change.rb index c40fa7c..71ff974 100644 --- a/app/models/cve_change.rb +++ b/app/models/cve_change.rb @@ -1,4 +1,4 @@ class CveChange < ActiveRecord::Base belongs_to :user, :class_name => "User", :foreign_key => "user_id" belongs_to :cve -end
\ No newline at end of file +end diff --git a/app/models/cve_comment.rb b/app/models/cve_comment.rb index 4c6b8c1..73357dc 100644 --- a/app/models/cve_comment.rb +++ b/app/models/cve_comment.rb @@ -1,4 +1,4 @@ class CveComment < ActiveRecord::Base belongs_to :cve belongs_to :user, :class_name => "User", :foreign_key => "user_id" -end
\ No newline at end of file +end diff --git a/app/models/cve_reference.rb b/app/models/cve_reference.rb index 7fd8ea8..1f11e01 100644 --- a/app/models/cve_reference.rb +++ b/app/models/cve_reference.rb @@ -1,3 +1,3 @@ class CveReference < ActiveRecord::Base belongs_to :cve -end
\ No newline at end of file +end |