-<% end %>
\ No newline at end of file
+<% end %>
diff --git a/app/views/documents/_document_fields.html.erb b/app/views/documents/_document_fields.html.erb
index 7d7129df6..8f532c71b 100644
--- a/app/views/documents/_document_fields.html.erb
+++ b/app/views/documents/_document_fields.html.erb
@@ -28,4 +28,4 @@
-
\ No newline at end of file
+
diff --git a/app/views/images/destroy.js.erb b/app/views/images/destroy.js.erb
index 0fb79df5d..647e14a49 100644
--- a/app/views/images/destroy.js.erb
+++ b/app/views/images/destroy.js.erb
@@ -1 +1 @@
-App.Imageable.removeImage("<%= dom_id(@image) %>")
\ No newline at end of file
+App.Imageable.removeImage("<%= dom_id(@image) %>")
diff --git a/app/views/layouts/_notification_item.html.erb b/app/views/layouts/_notification_item.html.erb
index 5e2d6060c..7a21a3c38 100644
--- a/app/views/layouts/_notification_item.html.erb
+++ b/app/views/layouts/_notification_item.html.erb
@@ -27,4 +27,4 @@
<% end %>
-<% end %>
\ No newline at end of file
+<% end %>
diff --git a/app/views/legislation/annotations/_annotation_link.html.erb b/app/views/legislation/annotations/_annotation_link.html.erb
index 74f841abd..b047f52cb 100644
--- a/app/views/legislation/annotations/_annotation_link.html.erb
+++ b/app/views/legislation/annotations/_annotation_link.html.erb
@@ -1,3 +1,3 @@
<%= link_to legislation_process_draft_version_annotation_path(annotation.draft_version.process, annotation.draft_version, annotation, sub_annotation_ids: "") do %>
-<% end %>
\ No newline at end of file
+<% end %>
diff --git a/app/views/legislation/annotations/_comment_header.html.erb b/app/views/legislation/annotations/_comment_header.html.erb
index 26cd21469..12a386206 100644
--- a/app/views/legislation/annotations/_comment_header.html.erb
+++ b/app/views/legislation/annotations/_comment_header.html.erb
@@ -7,4 +7,4 @@
<%= render "annotation_link", annotation: annotation %>
-
\ No newline at end of file
+
diff --git a/app/views/legislation/processes/_debate.html.erb b/app/views/legislation/processes/_debate.html.erb
index fe4c02cef..57f0b5f71 100644
--- a/app/views/legislation/processes/_debate.html.erb
+++ b/app/views/legislation/processes/_debate.html.erb
@@ -14,4 +14,4 @@
-<% end %>
\ No newline at end of file
+<% end %>
diff --git a/app/views/legislation/proposals/suggest.js.erb b/app/views/legislation/proposals/suggest.js.erb
index 819af2b16..d49120ed2 100644
--- a/app/views/legislation/proposals/suggest.js.erb
+++ b/app/views/legislation/proposals/suggest.js.erb
@@ -1 +1 @@
-<%= render "shared/suggest" %>
\ No newline at end of file
+<%= render "shared/suggest" %>
diff --git a/app/views/mailer/budget_investment_unfeasible.html.erb b/app/views/mailer/budget_investment_unfeasible.html.erb
index 710afce72..80ee3ccc5 100644
--- a/app/views/mailer/budget_investment_unfeasible.html.erb
+++ b/app/views/mailer/budget_investment_unfeasible.html.erb
@@ -21,4 +21,4 @@
-
\ No newline at end of file
+
diff --git a/app/views/mailer/budget_investment_unselected.html.erb b/app/views/mailer/budget_investment_unselected.html.erb
index c57576b6f..e45a7848d 100644
--- a/app/views/mailer/budget_investment_unselected.html.erb
+++ b/app/views/mailer/budget_investment_unselected.html.erb
@@ -11,4 +11,4 @@
-
\ No newline at end of file
+
diff --git a/app/views/management/email_verifications/sent.html.erb b/app/views/management/email_verifications/sent.html.erb
index 8a5458c29..a996ead96 100644
--- a/app/views/management/email_verifications/sent.html.erb
+++ b/app/views/management/email_verifications/sent.html.erb
@@ -9,4 +9,3 @@
-
diff --git a/app/views/management/proposals/vote.js.erb b/app/views/management/proposals/vote.js.erb
index 4a2dcf3a9..f26a977ac 100644
--- a/app/views/management/proposals/vote.js.erb
+++ b/app/views/management/proposals/vote.js.erb
@@ -1 +1 @@
-<%= render template: "proposals/vote" %>
\ No newline at end of file
+<%= render template: "proposals/vote" %>
diff --git a/app/views/management/users/_erase_user_account.html.erb b/app/views/management/users/_erase_user_account.html.erb
index 8d5a545a3..5746e103a 100644
--- a/app/views/management/users/_erase_user_account.html.erb
+++ b/app/views/management/users/_erase_user_account.html.erb
@@ -6,4 +6,4 @@
<%= link_to t("management.users.erase_submit"), erase_management_users_path, method: :delete, class: "button hollow alert", data: { confirm: t("management.users.erase_account_confirm") } %>
-
\ No newline at end of file
+
diff --git a/app/views/map_locations/_form_fields.html.erb b/app/views/map_locations/_form_fields.html.erb
index 344287993..f2292a42e 100644
--- a/app/views/map_locations/_form_fields.html.erb
+++ b/app/views/map_locations/_form_fields.html.erb
@@ -29,4 +29,3 @@
<% end %>
<% end %>
-
diff --git a/app/views/moderation/comments/hide.js.erb b/app/views/moderation/comments/hide.js.erb
index 6739b9d09..e4f79a0ff 100644
--- a/app/views/moderation/comments/hide.js.erb
+++ b/app/views/moderation/comments/hide.js.erb
@@ -1,3 +1,3 @@
var comment_id = "<%= dom_id(@comment) %>";
App.ModeratorComments.add_class_faded(comment_id);
-App.ModeratorComments.hide_moderator_actions(comment_id);
\ No newline at end of file
+App.ModeratorComments.hide_moderator_actions(comment_id);
diff --git a/app/views/moderation/debates/hide.js.erb b/app/views/moderation/debates/hide.js.erb
index 14f6fd80e..f8162a501 100644
--- a/app/views/moderation/debates/hide.js.erb
+++ b/app/views/moderation/debates/hide.js.erb
@@ -1,3 +1,3 @@
var debate_id = "<%= dom_id(@debate) %>";
App.ModeratorDebates.add_class_faded(debate_id);
-App.ModeratorDebates.hide_moderator_actions(debate_id);
\ No newline at end of file
+App.ModeratorDebates.hide_moderator_actions(debate_id);
diff --git a/app/views/notifications/mark_as_read.js.erb b/app/views/notifications/mark_as_read.js.erb
index 6e6cb3785..3b8e24761 100644
--- a/app/views/notifications/mark_as_read.js.erb
+++ b/app/views/notifications/mark_as_read.js.erb
@@ -1 +1 @@
-$("#notification_<%= @notification.id %>").hide()
\ No newline at end of file
+$("#notification_<%= @notification.id %>").hide()
diff --git a/app/views/notifications/mark_as_unread.js.erb b/app/views/notifications/mark_as_unread.js.erb
index 6e6cb3785..3b8e24761 100644
--- a/app/views/notifications/mark_as_unread.js.erb
+++ b/app/views/notifications/mark_as_unread.js.erb
@@ -1 +1 @@
-$("#notification_<%= @notification.id %>").hide()
\ No newline at end of file
+$("#notification_<%= @notification.id %>").hide()
diff --git a/app/views/proposals/suggest.js.erb b/app/views/proposals/suggest.js.erb
index 819af2b16..d49120ed2 100644
--- a/app/views/proposals/suggest.js.erb
+++ b/app/views/proposals/suggest.js.erb
@@ -1 +1 @@
-<%= render "shared/suggest" %>
\ No newline at end of file
+<%= render "shared/suggest" %>
diff --git a/app/views/proposals/vote.js.erb b/app/views/proposals/vote.js.erb
index e74df788c..09fe51476 100644
--- a/app/views/proposals/vote.js.erb
+++ b/app/views/proposals/vote.js.erb
@@ -1 +1 @@
-$("#<%= dom_id(@proposal) %>_votes").html("<%= j render("proposals/votes", proposal: @proposal) %>");
\ No newline at end of file
+$("#<%= dom_id(@proposal) %>_votes").html("<%= j render("proposals/votes", proposal: @proposal) %>");
diff --git a/app/views/proposals/vote_featured.js.erb b/app/views/proposals/vote_featured.js.erb
index 7363dadf9..ee4c20d5a 100644
--- a/app/views/proposals/vote_featured.js.erb
+++ b/app/views/proposals/vote_featured.js.erb
@@ -1 +1 @@
-$("#<%= dom_id(@proposal) %>_votes").html("<%= j render("proposals/featured_votes", proposal: @proposal) %>");
\ No newline at end of file
+$("#<%= dom_id(@proposal) %>_votes").html("<%= j render("proposals/featured_votes", proposal: @proposal) %>");
diff --git a/app/views/shared/_canonical.html.erb b/app/views/shared/_canonical.html.erb
index 1c3361a0e..e53d3dc39 100644
--- a/app/views/shared/_canonical.html.erb
+++ b/app/views/shared/_canonical.html.erb
@@ -1 +1 @@
-
\ No newline at end of file
+
diff --git a/app/views/shared/_errors.html.erb b/app/views/shared/_errors.html.erb
index 3fe7d16c6..04de31885 100644
--- a/app/views/shared/_errors.html.erb
+++ b/app/views/shared/_errors.html.erb
@@ -14,4 +14,4 @@
<% end %>
-<% end %>
\ No newline at end of file
+<% end %>
diff --git a/app/views/shared/_print.html.erb b/app/views/shared/_print.html.erb
index 5544258d3..f321c34a6 100644
--- a/app/views/shared/_print.html.erb
+++ b/app/views/shared/_print.html.erb
@@ -1,3 +1,3 @@
<%= t("shared.print.print_button") %>
-
\ No newline at end of file
+
diff --git a/config/initializers/devise_security_extension.rb b/config/initializers/devise_security_extension.rb
index f72d8b3ec..51cf56429 100644
--- a/config/initializers/devise_security_extension.rb
+++ b/config/initializers/devise_security_extension.rb
@@ -68,4 +68,4 @@ module Devise
end
end
end
-end
\ No newline at end of file
+end
diff --git a/config/initializers/i18n_backend.rb b/config/initializers/i18n_backend.rb
index bdaa023ca..824834de1 100644
--- a/config/initializers/i18n_backend.rb
+++ b/config/initializers/i18n_backend.rb
@@ -1 +1 @@
-I18n::Backend::Simple.send(:include, I18n::Backend::Memoize) unless Rails.env.development?
\ No newline at end of file
+I18n::Backend::Simple.send(:include, I18n::Backend::Memoize) unless Rails.env.development?
diff --git a/config/initializers/i18n_pluralize.rb b/config/initializers/i18n_pluralize.rb
index 5200df8ff..20698d6f0 100644
--- a/config/initializers/i18n_pluralize.rb
+++ b/config/initializers/i18n_pluralize.rb
@@ -16,4 +16,4 @@ module I18n
end
end
-end
\ No newline at end of file
+end
diff --git a/lib/numeric.rb b/lib/numeric.rb
index 9ed1aabae..ab9b212b9 100644
--- a/lib/numeric.rb
+++ b/lib/numeric.rb
@@ -2,4 +2,4 @@ class Numeric
def percent_of(n)
(to_f / n * 100).to_i
end
-end
\ No newline at end of file
+end
diff --git a/lib/wysiwyg_sanitizer.rb b/lib/wysiwyg_sanitizer.rb
index ee056383c..1a6c430f4 100644
--- a/lib/wysiwyg_sanitizer.rb
+++ b/lib/wysiwyg_sanitizer.rb
@@ -11,4 +11,4 @@ class WYSIWYGSanitizer
ActionController::Base.helpers.sanitize(html, tags: allowed_tags, attributes: allowed_attributes)
end
-end
\ No newline at end of file
+end
diff --git a/spec/controllers/management/base_controller_spec.rb b/spec/controllers/management/base_controller_spec.rb
index 751466e7b..ca0fa7528 100644
--- a/spec/controllers/management/base_controller_spec.rb
+++ b/spec/controllers/management/base_controller_spec.rb
@@ -24,4 +24,4 @@ describe Management::BaseController do
end
end
-end
\ No newline at end of file
+end
diff --git a/spec/controllers/management/users_controller_spec.rb b/spec/controllers/management/users_controller_spec.rb
index 3b89920b9..60cc81700 100644
--- a/spec/controllers/management/users_controller_spec.rb
+++ b/spec/controllers/management/users_controller_spec.rb
@@ -17,4 +17,4 @@ describe Management::UsersController do
end
end
-end
\ No newline at end of file
+end
diff --git a/spec/controllers/users/registrations_controller_spec.rb b/spec/controllers/users/registrations_controller_spec.rb
index 2a82842b0..409529534 100644
--- a/spec/controllers/users/registrations_controller_spec.rb
+++ b/spec/controllers/users/registrations_controller_spec.rb
@@ -31,4 +31,4 @@ describe Users::RegistrationsController do
end
-end
\ No newline at end of file
+end
diff --git a/spec/features/admin/poll/officer_assignments_spec.rb b/spec/features/admin/poll/officer_assignments_spec.rb
index 891f381c4..2f04ab607 100644
--- a/spec/features/admin/poll/officer_assignments_spec.rb
+++ b/spec/features/admin/poll/officer_assignments_spec.rb
@@ -64,4 +64,4 @@ describe "Officer Assignments" do
end
end
-end
\ No newline at end of file
+end
diff --git a/spec/features/admin/poll/officers_spec.rb b/spec/features/admin/poll/officers_spec.rb
index c47f17ccb..dcc2fc140 100644
--- a/spec/features/admin/poll/officers_spec.rb
+++ b/spec/features/admin/poll/officers_spec.rb
@@ -33,4 +33,4 @@ describe "Admin poll officers" do
expect(page).not_to have_css "#officers"
end
-end
\ No newline at end of file
+end
diff --git a/spec/features/admin/users_spec.rb b/spec/features/admin/users_spec.rb
index 8ba66a6d7..e3a0d9950 100644
--- a/spec/features/admin/users_spec.rb
+++ b/spec/features/admin/users_spec.rb
@@ -31,4 +31,3 @@ describe "Admin users" do
expect(page).not_to have_content @admin.email
end
end
-
diff --git a/spec/features/comments/poll_questions_spec.rb b/spec/features/comments/poll_questions_spec.rb
index 6e5cffe97..99b14edf3 100644
--- a/spec/features/comments/poll_questions_spec.rb
+++ b/spec/features/comments/poll_questions_spec.rb
@@ -1 +1 @@
-#refactor specs and test as one more commmentable
\ No newline at end of file
+#refactor specs and test as one more commmentable
diff --git a/spec/features/direct_messages_spec.rb b/spec/features/direct_messages_spec.rb
index c64d56d5a..2872d252b 100644
--- a/spec/features/direct_messages_spec.rb
+++ b/spec/features/direct_messages_spec.rb
@@ -119,4 +119,4 @@ describe "Direct messages" do
end
-end
\ No newline at end of file
+end
diff --git a/spec/features/management/email_verifications_spec.rb b/spec/features/management/email_verifications_spec.rb
index 7de10c253..209874c6e 100644
--- a/spec/features/management/email_verifications_spec.rb
+++ b/spec/features/management/email_verifications_spec.rb
@@ -34,4 +34,4 @@ describe "EmailVerifications" do
expect(user).to be_level_three_verified
end
-end
\ No newline at end of file
+end
diff --git a/spec/features/proposal_ballots_spec.rb b/spec/features/proposal_ballots_spec.rb
index d88a05985..168bc7103 100644
--- a/spec/features/proposal_ballots_spec.rb
+++ b/spec/features/proposal_ballots_spec.rb
@@ -27,4 +27,3 @@ describe "Proposal ballots" do
end
end
-
diff --git a/spec/features/sessions_spec.rb b/spec/features/sessions_spec.rb
index 5e0dd0b09..16fa62585 100644
--- a/spec/features/sessions_spec.rb
+++ b/spec/features/sessions_spec.rb
@@ -20,4 +20,3 @@ describe "Sessions" do
end
end
-
diff --git a/spec/features/stats_spec.rb b/spec/features/stats_spec.rb
index a16e63aab..c28dec444 100644
--- a/spec/features/stats_spec.rb
+++ b/spec/features/stats_spec.rb
@@ -49,4 +49,4 @@ describe "Stats" do
end
-end
\ No newline at end of file
+end
diff --git a/spec/features/user_invites_spec.rb b/spec/features/user_invites_spec.rb
index 5e15cd222..5e38ebb2c 100644
--- a/spec/features/user_invites_spec.rb
+++ b/spec/features/user_invites_spec.rb
@@ -15,4 +15,4 @@ describe "User invites" do
expect(page).to have_content "3 invitations have been sent."
end
-end
\ No newline at end of file
+end
diff --git a/spec/helpers/admin_helper_spec.rb b/spec/helpers/admin_helper_spec.rb
index 1f20ee1b4..c5cc7c25b 100644
--- a/spec/helpers/admin_helper_spec.rb
+++ b/spec/helpers/admin_helper_spec.rb
@@ -16,4 +16,4 @@ describe AdminHelper do
end
-end
\ No newline at end of file
+end
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb
index b17a14756..7ad856681 100644
--- a/spec/helpers/application_helper_spec.rb
+++ b/spec/helpers/application_helper_spec.rb
@@ -24,4 +24,4 @@ describe ApplicationHelper do
end
end
-end
\ No newline at end of file
+end
diff --git a/spec/helpers/verification_helper_spec.rb b/spec/helpers/verification_helper_spec.rb
index c5fe164d5..5ed838c9f 100644
--- a/spec/helpers/verification_helper_spec.rb
+++ b/spec/helpers/verification_helper_spec.rb
@@ -21,4 +21,4 @@ describe VerificationHelper do
end
end
-end
\ No newline at end of file
+end
diff --git a/spec/helpers/votes_helper_spec.rb b/spec/helpers/votes_helper_spec.rb
index c402fb2b4..41dd80c7f 100644
--- a/spec/helpers/votes_helper_spec.rb
+++ b/spec/helpers/votes_helper_spec.rb
@@ -29,4 +29,4 @@ describe VotesHelper do
end
end
-end
\ No newline at end of file
+end
diff --git a/spec/models/budget/reclassified_vote_spec.rb b/spec/models/budget/reclassified_vote_spec.rb
index a4ca44dac..a683e3564 100644
--- a/spec/models/budget/reclassified_vote_spec.rb
+++ b/spec/models/budget/reclassified_vote_spec.rb
@@ -37,4 +37,4 @@ describe Budget::ReclassifiedVote do
end
end
-end
\ No newline at end of file
+end
diff --git a/spec/models/direct_upload_spec.rb b/spec/models/direct_upload_spec.rb
index ab7183825..2c40bc9ee 100644
--- a/spec/models/direct_upload_spec.rb
+++ b/spec/models/direct_upload_spec.rb
@@ -62,4 +62,4 @@ describe DirectUpload do
end
-end
\ No newline at end of file
+end
diff --git a/spec/models/tag_cloud_spec.rb b/spec/models/tag_cloud_spec.rb
index df04e9d5c..09a0f4c21 100644
--- a/spec/models/tag_cloud_spec.rb
+++ b/spec/models/tag_cloud_spec.rb
@@ -122,4 +122,4 @@ describe TagCloud do
end
end
-end
\ No newline at end of file
+end
diff --git a/spec/models/verification/sms_spec.rb b/spec/models/verification/sms_spec.rb
index 4434bd341..714ea68a5 100644
--- a/spec/models/verification/sms_spec.rb
+++ b/spec/models/verification/sms_spec.rb
@@ -19,4 +19,4 @@ describe Verification::Sms do
expect(build(:verification_sms, phone: "555; DROP TABLE USERS")).not_to be_valid
end
-end
\ No newline at end of file
+end
diff --git a/spec/models/widget/card_spec.rb b/spec/models/widget/card_spec.rb
index 5cc4238f5..c0a393984 100644
--- a/spec/models/widget/card_spec.rb
+++ b/spec/models/widget/card_spec.rb
@@ -36,4 +36,4 @@ describe Widget::Card do
expect(Widget::Card.body).not_to include(page_card)
end
end
-end
\ No newline at end of file
+end
diff --git a/spec/models/widget/feed_spec.rb b/spec/models/widget/feed_spec.rb
index f8b881a0b..2d8521f70 100644
--- a/spec/models/widget/feed_spec.rb
+++ b/spec/models/widget/feed_spec.rb
@@ -75,4 +75,4 @@ describe Widget::Feed do
end
-end
\ No newline at end of file
+end
diff --git a/spec/support/matchers/appear_before.rb b/spec/support/matchers/appear_before.rb
index bab77830f..dc44c5ebc 100644
--- a/spec/support/matchers/appear_before.rb
+++ b/spec/support/matchers/appear_before.rb
@@ -3,4 +3,4 @@ RSpec::Matchers.define :appear_before do |later_content|
text = page.text
text.index(earlier_content) < text.index(later_content)
end
-end
\ No newline at end of file
+end
diff --git a/spec/support/verifiable.rb b/spec/support/verifiable.rb
index 53070da4d..4a8c5a90e 100644
--- a/spec/support/verifiable.rb
+++ b/spec/support/verifiable.rb
@@ -254,4 +254,4 @@ shared_examples_for "verifiable" do
end
end
-end
\ No newline at end of file
+end