diff --git a/app/controllers/getting_started_controller.rb b/app/controllers/getting_started_controller.rb
index eb6030d97..3f0f24079 100644
--- a/app/controllers/getting_started_controller.rb
+++ b/app/controllers/getting_started_controller.rb
@@ -933,4 +933,4 @@ curl http://localhost/api/v1/getting_started -v -u #{login}:#{password}
true
end
-end
\ No newline at end of file
+end
diff --git a/app/controllers/import_otrs_controller.rb b/app/controllers/import_otrs_controller.rb
index b667bd3e0..3979d8b85 100644
--- a/app/controllers/import_otrs_controller.rb
+++ b/app/controllers/import_otrs_controller.rb
@@ -125,4 +125,4 @@ class ImportOtrsController < ApplicationController
true
end
-end
\ No newline at end of file
+end
diff --git a/app/controllers/jobs_controller.rb b/app/controllers/jobs_controller.rb
index 9ef542c42..e01b2927b 100644
--- a/app/controllers/jobs_controller.rb
+++ b/app/controllers/jobs_controller.rb
@@ -27,4 +27,4 @@ class JobsController < ApplicationController
return if deny_if_not_role(Z_ROLENAME_ADMIN)
model_destory_render(Job, params)
end
-end
\ No newline at end of file
+end
diff --git a/app/controllers/online_notifications_controller.rb b/app/controllers/online_notifications_controller.rb
index d95047577..dad949b83 100644
--- a/app/controllers/online_notifications_controller.rb
+++ b/app/controllers/online_notifications_controller.rb
@@ -114,4 +114,4 @@ curl http://localhost/api/v1/online_notifications/mark_all_as_read -v -u #{login
render json: {}, status: :ok
end
-end
\ No newline at end of file
+end
diff --git a/app/controllers/organizations_controller.rb b/app/controllers/organizations_controller.rb
index 3cbcc9042..d5bf431f9 100644
--- a/app/controllers/organizations_controller.rb
+++ b/app/controllers/organizations_controller.rb
@@ -193,4 +193,4 @@ Test:
render json: history
end
-end
\ No newline at end of file
+end
diff --git a/app/controllers/recent_view_controller.rb b/app/controllers/recent_view_controller.rb
index 4b6ca2184..9304225d6 100644
--- a/app/controllers/recent_view_controller.rb
+++ b/app/controllers/recent_view_controller.rb
@@ -52,4 +52,4 @@ curl http://localhost/api/v1/recent_view -v -u #{login}:#{password} -H "Content-
render json: { message: 'ok' }
end
-end
\ No newline at end of file
+end
diff --git a/app/controllers/sessions/collection_base.rb b/app/controllers/sessions/collection_base.rb
index a834d499c..f21a37c6e 100644
--- a/app/controllers/sessions/collection_base.rb
+++ b/app/controllers/sessions/collection_base.rb
@@ -42,4 +42,4 @@ module ExtraCollection
[collections, assets]
end
module_function :session
-end
\ No newline at end of file
+end
diff --git a/app/controllers/sessions/collection_network.rb b/app/controllers/sessions/collection_network.rb
index 0ae9c1156..4a6d8d579 100644
--- a/app/controllers/sessions/collection_network.rb
+++ b/app/controllers/sessions/collection_network.rb
@@ -11,4 +11,4 @@ module ExtraCollection
end
module_function :session
-end
\ No newline at end of file
+end
diff --git a/app/controllers/sessions/collection_ticket.rb b/app/controllers/sessions/collection_ticket.rb
index 6a91072bb..8135895fe 100644
--- a/app/controllers/sessions/collection_ticket.rb
+++ b/app/controllers/sessions/collection_ticket.rb
@@ -41,4 +41,4 @@ module ExtraCollection
[collections, assets]
end
module_function :session
-end
\ No newline at end of file
+end
diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb
index 0e1471704..1332bfa41 100644
--- a/app/controllers/sessions_controller.rb
+++ b/app/controllers/sessions_controller.rb
@@ -279,4 +279,4 @@ class SessionsController < ApplicationController
render json: {}
end
-end
\ No newline at end of file
+end
diff --git a/app/controllers/tests_controller.rb b/app/controllers/tests_controller.rb
index 51941261c..70aaf7c23 100644
--- a/app/controllers/tests_controller.rb
+++ b/app/controllers/tests_controller.rb
@@ -9,4 +9,4 @@ class TestsController < ApplicationController
render json: result
end
-end
\ No newline at end of file
+end
diff --git a/app/controllers/translations_controller.rb b/app/controllers/translations_controller.rb
index b8cbe7807..1f74e6c28 100644
--- a/app/controllers/translations_controller.rb
+++ b/app/controllers/translations_controller.rb
@@ -41,4 +41,4 @@ class TranslationsController < ApplicationController
return if deny_if_not_role(Z_ROLENAME_ADMIN)
model_destory_render(Translation, params)
end
-end
\ No newline at end of file
+end
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index 061d7c78d..195a2e08f 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -733,4 +733,4 @@ curl http://localhost/api/v1/users/avatar -v -u #{login}:#{password} -H "Content
return false
end
-end
\ No newline at end of file
+end
diff --git a/app/models/activity_stream.rb b/app/models/activity_stream.rb
index 25cd4e956..45f2d17c5 100644
--- a/app/models/activity_stream.rb
+++ b/app/models/activity_stream.rb
@@ -118,4 +118,4 @@ return all activity entries of an user
list
end
-end
\ No newline at end of file
+end
diff --git a/app/models/application_model.rb b/app/models/application_model.rb
index 7db50cb62..1242dec17 100644
--- a/app/models/application_model.rb
+++ b/app/models/application_model.rb
@@ -1105,4 +1105,4 @@ destory object dependencies, will be executed automatically
def destroy_dependencies
end
-end
\ No newline at end of file
+end
diff --git a/app/models/application_model/history_log_base.rb b/app/models/application_model/history_log_base.rb
index 2077f6a18..db8463cc2 100644
--- a/app/models/application_model/history_log_base.rb
+++ b/app/models/application_model/history_log_base.rb
@@ -97,4 +97,4 @@ returns
}
end
-end
\ No newline at end of file
+end
diff --git a/app/models/authorization.rb b/app/models/authorization.rb
index b7c70f4b1..31c9345d5 100644
--- a/app/models/authorization.rb
+++ b/app/models/authorization.rb
@@ -91,4 +91,4 @@ class Authorization < ApplicationModel
self.user.cache_delete
end
-end
\ No newline at end of file
+end
diff --git a/app/models/avatar.rb b/app/models/avatar.rb
index 8ba6f6300..7ddaf6111 100644
--- a/app/models/avatar.rb
+++ b/app/models/avatar.rb
@@ -371,4 +371,4 @@ returns:
created_by_id: 1,
)
end
-end
\ No newline at end of file
+end
diff --git a/app/models/channel/email_build.rb b/app/models/channel/email_build.rb
index 1e3e4f993..2b0c6cec6 100644
--- a/app/models/channel/email_build.rb
+++ b/app/models/channel/email_build.rb
@@ -157,4 +157,4 @@ HERE
html
end
-end
\ No newline at end of file
+end
diff --git a/app/models/channel/email_parser.rb b/app/models/channel/email_parser.rb
index 7e197f93a..f7af05bc5 100644
--- a/app/models/channel/email_parser.rb
+++ b/app/models/channel/email_parser.rb
@@ -607,4 +607,4 @@ module Mail
end.join('')
end
end
-end
\ No newline at end of file
+end
diff --git a/app/models/channel/imap.rb b/app/models/channel/imap.rb
index f1f22b0e9..7e90f55e2 100644
--- a/app/models/channel/imap.rb
+++ b/app/models/channel/imap.rb
@@ -95,4 +95,4 @@ class Channel::IMAP < Channel::EmailParser
@imap.disconnect()
end
end
-end
\ No newline at end of file
+end
diff --git a/app/models/channel/pop3.rb b/app/models/channel/pop3.rb
index b4cd6323d..75022a299 100644
--- a/app/models/channel/pop3.rb
+++ b/app/models/channel/pop3.rb
@@ -77,4 +77,4 @@ class Channel::POP3 < Channel::EmailParser
end
end
-end
\ No newline at end of file
+end
diff --git a/app/models/channel/smtp.rb b/app/models/channel/smtp.rb
index 3667d046b..4cf901858 100644
--- a/app/models/channel/smtp.rb
+++ b/app/models/channel/smtp.rb
@@ -18,4 +18,4 @@ class Channel::SMTP
}
mail.deliver
end
-end
\ No newline at end of file
+end
diff --git a/app/models/email_address.rb b/app/models/email_address.rb
index 76f7eafc0..b64cdbd8b 100644
--- a/app/models/email_address.rb
+++ b/app/models/email_address.rb
@@ -7,4 +7,4 @@ class EmailAddress < ApplicationModel
latest_change_support
-end
\ No newline at end of file
+end
diff --git a/app/models/group.rb b/app/models/group.rb
index c8f97d3b0..3a5639be3 100644
--- a/app/models/group.rb
+++ b/app/models/group.rb
@@ -9,4 +9,4 @@ class Group < ApplicationModel
activity_stream_support role: Z_ROLENAME_ADMIN
history_support
latest_change_support
-end
\ No newline at end of file
+end
diff --git a/app/models/job.rb b/app/models/job.rb
index 6aa84e2e6..c8ed289c5 100644
--- a/app/models/job.rb
+++ b/app/models/job.rb
@@ -83,4 +83,4 @@ class Job < ApplicationModel
minutes.gsub!(/(\d)\d/, '\\1')
minutes.to_s + '0'
end
-end
\ No newline at end of file
+end
diff --git a/app/models/locale.rb b/app/models/locale.rb
index a8b0c9191..961b6975c 100644
--- a/app/models/locale.rb
+++ b/app/models/locale.rb
@@ -27,4 +27,4 @@ class Locale < ApplicationModel
true
end
-end
\ No newline at end of file
+end
diff --git a/app/models/object_lookup.rb b/app/models/object_lookup.rb
index 432bd374d..46dc3371d 100644
--- a/app/models/object_lookup.rb
+++ b/app/models/object_lookup.rb
@@ -35,4 +35,4 @@ class ObjectLookup < ApplicationModel
lookup.id
end
-end
\ No newline at end of file
+end
diff --git a/app/models/object_manager.rb b/app/models/object_manager.rb
index cbd9df08f..c4be41e12 100644
--- a/app/models/object_manager.rb
+++ b/app/models/object_manager.rb
@@ -232,4 +232,4 @@ returns:
hash
end
-end
\ No newline at end of file
+end
diff --git a/app/models/observer/organization/ref_object_touch.rb b/app/models/observer/organization/ref_object_touch.rb
index dc96082ad..3b6ba572d 100644
--- a/app/models/observer/organization/ref_object_touch.rb
+++ b/app/models/observer/organization/ref_object_touch.rb
@@ -28,4 +28,4 @@ class Observer::Organization::RefObjectTouch < ActiveRecord::Observer
User.find(user_id).touch
}
end
-end
\ No newline at end of file
+end
diff --git a/app/models/observer/ticket/article/communicate_email.rb b/app/models/observer/ticket/article/communicate_email.rb
index d71e87a03..cf94e112d 100644
--- a/app/models/observer/ticket/article/communicate_email.rb
+++ b/app/models/observer/ticket/article/communicate_email.rb
@@ -20,4 +20,4 @@ class Observer::Ticket::Article::CommunicateEmail < ActiveRecord::Observer
# send background job
Delayed::Job.enqueue( Observer::Ticket::Article::CommunicateEmail::BackgroundJob.new( record.id ) )
end
-end
\ No newline at end of file
+end
diff --git a/app/models/observer/ticket/article/communicate_email/background_job.rb b/app/models/observer/ticket/article/communicate_email/background_job.rb
index 72cc20d37..a715e2dcd 100644
--- a/app/models/observer/ticket/article/communicate_email/background_job.rb
+++ b/app/models/observer/ticket/article/communicate_email/background_job.rb
@@ -57,4 +57,4 @@ class Observer::Ticket::Article::CommunicateEmail::BackgroundJob
)
end
end
-end
\ No newline at end of file
+end
diff --git a/app/models/observer/ticket/notification.rb b/app/models/observer/ticket/notification.rb
index 240294fcb..749ef63cb 100644
--- a/app/models/observer/ticket/notification.rb
+++ b/app/models/observer/ticket/notification.rb
@@ -170,4 +170,4 @@ class Observer::Ticket::Notification < ActiveRecord::Observer
# puts @a.inspect
# AuditTrail.new(record, "UPDATED")
end
-end
\ No newline at end of file
+end
diff --git a/app/models/observer/ticket/notification/background_job.rb b/app/models/observer/ticket/notification/background_job.rb
index aab2cada4..8716eaa6c 100644
--- a/app/models/observer/ticket/notification/background_job.rb
+++ b/app/models/observer/ticket/notification/background_job.rb
@@ -395,4 +395,4 @@ Changes:
'
end
-end
\ No newline at end of file
+end
diff --git a/app/models/observer/ticket/online_notification_seen.rb b/app/models/observer/ticket/online_notification_seen.rb
index df1e9ee02..4516a7ca7 100644
--- a/app/models/observer/ticket/online_notification_seen.rb
+++ b/app/models/observer/ticket/online_notification_seen.rb
@@ -23,4 +23,4 @@ class Observer::Ticket::OnlineNotificationSeen < ActiveRecord::Observer
# set all online notifications to seen
OnlineNotification.seen_by_object( 'Ticket', record.id )
end
-end
\ No newline at end of file
+end
diff --git a/app/models/observer/ticket/ref_object_touch.rb b/app/models/observer/ticket/ref_object_touch.rb
index 54bc16da6..750841449 100644
--- a/app/models/observer/ticket/ref_object_touch.rb
+++ b/app/models/observer/ticket/ref_object_touch.rb
@@ -44,4 +44,4 @@ class Observer::Ticket::RefObjectTouch < ActiveRecord::Observer
record.organization.touch
end
end
-end
\ No newline at end of file
+end
diff --git a/app/models/observer/ticket/user_ticket_counter.rb b/app/models/observer/ticket/user_ticket_counter.rb
index 3b27aeb04..0a1b214f4 100644
--- a/app/models/observer/ticket/user_ticket_counter.rb
+++ b/app/models/observer/ticket/user_ticket_counter.rb
@@ -48,4 +48,3 @@ class Observer::Ticket::UserTicketCounter < ActiveRecord::Observer
end
end
-
diff --git a/app/models/observer/user/ref_object_touch.rb b/app/models/observer/user/ref_object_touch.rb
index 84323a525..7616f7cf2 100644
--- a/app/models/observer/user/ref_object_touch.rb
+++ b/app/models/observer/user/ref_object_touch.rb
@@ -42,4 +42,4 @@ class Observer::User::RefObjectTouch < ActiveRecord::Observer
end
}
end
-end
\ No newline at end of file
+end
diff --git a/app/models/observer/user/ticket_organization.rb b/app/models/observer/user/ticket_organization.rb
index 224bf2426..2f0e8c289 100644
--- a/app/models/observer/user/ticket_organization.rb
+++ b/app/models/observer/user/ticket_organization.rb
@@ -26,4 +26,4 @@ class Observer::User::TicketOrganization < ActiveRecord::Observer
}
end
-end
\ No newline at end of file
+end
diff --git a/app/models/online_notification.rb b/app/models/online_notification.rb
index ce793c8e8..2abe8333c 100644
--- a/app/models/online_notification.rb
+++ b/app/models/online_notification.rb
@@ -187,4 +187,4 @@ returns:
)
end
-end
\ No newline at end of file
+end
diff --git a/app/models/organization.rb b/app/models/organization.rb
index 307c5e1cc..5895939fb 100644
--- a/app/models/organization.rb
+++ b/app/models/organization.rb
@@ -16,4 +16,4 @@ class Organization < ApplicationModel
search_index_support
notify_clients_support
latest_change_support
-end
\ No newline at end of file
+end
diff --git a/app/models/organization/assets.rb b/app/models/organization/assets.rb
index 43b064589..a6ed28e21 100644
--- a/app/models/organization/assets.rb
+++ b/app/models/organization/assets.rb
@@ -50,4 +50,4 @@ returns
data
end
-end
\ No newline at end of file
+end
diff --git a/app/models/organization/permission.rb b/app/models/organization/permission.rb
index b538d5b31..e90c6aa01 100644
--- a/app/models/organization/permission.rb
+++ b/app/models/organization/permission.rb
@@ -35,4 +35,4 @@ returns
return false
end
-end
\ No newline at end of file
+end
diff --git a/app/models/overview.rb b/app/models/overview.rb
index 6b12869c6..4a4b4fcf5 100644
--- a/app/models/overview.rb
+++ b/app/models/overview.rb
@@ -7,4 +7,4 @@ class Overview < ApplicationModel
validates :name, presence: true
validates :prio, presence: true
validates :link, presence: true
-end
\ No newline at end of file
+end
diff --git a/app/models/package.rb b/app/models/package.rb
index 83f427e66..6589bbfb0 100644
--- a/app/models/package.rb
+++ b/app/models/package.rb
@@ -501,4 +501,4 @@ class Package < ApplicationModel
}
end
end
-end
\ No newline at end of file
+end
diff --git a/app/models/recent_view.rb b/app/models/recent_view.rb
index 7dc6cc594..ea64c0f9e 100644
--- a/app/models/recent_view.rb
+++ b/app/models/recent_view.rb
@@ -100,4 +100,4 @@ class RecentView < ApplicationModel
return if !record.respond_to?(:permission)
record.permission( current_user: user )
end
-end
\ No newline at end of file
+end
diff --git a/app/models/role.rb b/app/models/role.rb
index 405183fa0..63c61451f 100644
--- a/app/models/role.rb
+++ b/app/models/role.rb
@@ -6,4 +6,4 @@ class Role < ApplicationModel
validates :name, presence: true
activity_stream_support role: Z_ROLENAME_ADMIN
latest_change_support
-end
\ No newline at end of file
+end
diff --git a/app/models/signature.rb b/app/models/signature.rb
index 07590bd12..4d59520cc 100644
--- a/app/models/signature.rb
+++ b/app/models/signature.rb
@@ -4,4 +4,4 @@ class Signature < ApplicationModel
has_many :groups, after_add: :cache_update, after_remove: :cache_update
validates :name, presence: true
latest_change_support
-end
\ No newline at end of file
+end
diff --git a/app/models/store.rb b/app/models/store.rb
index 817d63845..4d8540bfb 100644
--- a/app/models/store.rb
+++ b/app/models/store.rb
@@ -154,4 +154,4 @@ returns
end
file.provider
end
-end
\ No newline at end of file
+end
diff --git a/app/models/store/file.rb b/app/models/store/file.rb
index e701ca086..c78afb4dc 100644
--- a/app/models/store/file.rb
+++ b/app/models/store/file.rb
@@ -87,4 +87,4 @@ class Store::File < ApplicationModel
adapter = self.class.load_adapter("Store::Provider::#{ self.provider }")
adapter.delete( self.sha )
end
-end
\ No newline at end of file
+end
diff --git a/app/models/store/object.rb b/app/models/store/object.rb
index b3f4f0556..e7102dff3 100644
--- a/app/models/store/object.rb
+++ b/app/models/store/object.rb
@@ -2,4 +2,4 @@
class Store::Object < ApplicationModel
validates :name, presence: true
-end
\ No newline at end of file
+end
diff --git a/app/models/store/provider/db.rb b/app/models/store/provider/db.rb
index 44d80b7ac..4dbb9ccdf 100644
--- a/app/models/store/provider/db.rb
+++ b/app/models/store/provider/db.rb
@@ -22,4 +22,4 @@ class Store::Provider::DB < ApplicationModel
true
end
-end
\ No newline at end of file
+end
diff --git a/app/models/store/provider/file.rb b/app/models/store/provider/file.rb
index 9bd54dde2..5b2534b79 100644
--- a/app/models/store/provider/file.rb
+++ b/app/models/store/provider/file.rb
@@ -81,4 +81,4 @@ class Store::Provider::File
true
end
-end
\ No newline at end of file
+end
diff --git a/app/models/template.rb b/app/models/template.rb
index 28a65d409..308f68b79 100644
--- a/app/models/template.rb
+++ b/app/models/template.rb
@@ -4,4 +4,4 @@ class Template < ApplicationModel
store :options
validates :name, presence: true
notify_clients_support
-end
\ No newline at end of file
+end
diff --git a/app/models/text_module.rb b/app/models/text_module.rb
index 7fad792ab..408f0be43 100644
--- a/app/models/text_module.rb
+++ b/app/models/text_module.rb
@@ -4,4 +4,4 @@ class TextModule < ApplicationModel
validates :name, presence: true
validates :content, presence: true
notify_clients_support
-end
\ No newline at end of file
+end
diff --git a/app/models/ticket.rb b/app/models/ticket.rb
index aba0470ba..13e553b25 100644
--- a/app/models/ticket.rb
+++ b/app/models/ticket.rb
@@ -242,4 +242,4 @@ returns
OnlineNotification.remove( self.class.to_s, self.id )
end
-end
\ No newline at end of file
+end
diff --git a/app/models/ticket/article.rb b/app/models/ticket/article.rb
index 24b209446..952e21914 100644
--- a/app/models/ticket/article.rb
+++ b/app/models/ticket/article.rb
@@ -47,4 +47,4 @@ class Ticket::Article < ApplicationModel
validates :name, presence: true
latest_change_support
end
-end
\ No newline at end of file
+end
diff --git a/app/models/ticket/history_log.rb b/app/models/ticket/history_log.rb
index 5ae0a8ffa..304d384f9 100644
--- a/app/models/ticket/history_log.rb
+++ b/app/models/ticket/history_log.rb
@@ -78,4 +78,4 @@ returns
}
end
-end
\ No newline at end of file
+end
diff --git a/app/models/ticket/number.rb b/app/models/ticket/number.rb
index 7b02c95b3..139fe691e 100644
--- a/app/models/ticket/number.rb
+++ b/app/models/ticket/number.rb
@@ -56,4 +56,3 @@ returns
adapter
end
end
-
diff --git a/app/models/ticket/permission.rb b/app/models/ticket/permission.rb
index 1d20ed4f4..6a81de573 100644
--- a/app/models/ticket/permission.rb
+++ b/app/models/ticket/permission.rb
@@ -44,4 +44,4 @@ returns
return false
end
-end
\ No newline at end of file
+end
diff --git a/app/models/ticket/screen_options.rb b/app/models/ticket/screen_options.rb
index ee68149f9..33691051d 100644
--- a/app/models/ticket/screen_options.rb
+++ b/app/models/ticket/screen_options.rb
@@ -175,4 +175,4 @@ returns
}
end
-end
\ No newline at end of file
+end
diff --git a/app/models/ticket/search_index.rb b/app/models/ticket/search_index.rb
index 8087673e9..7561a06b5 100644
--- a/app/models/ticket/search_index.rb
+++ b/app/models/ticket/search_index.rb
@@ -106,4 +106,4 @@ returns
SearchIndexBackend.add(self.class.to_s, attributes)
end
-end
\ No newline at end of file
+end
diff --git a/app/models/ticket/state_type.rb b/app/models/ticket/state_type.rb
index 679784791..e6f471b12 100644
--- a/app/models/ticket/state_type.rb
+++ b/app/models/ticket/state_type.rb
@@ -4,4 +4,4 @@ class Ticket::StateType < ApplicationModel
has_many :states, class_name: 'Ticket::State'
validates :name, presence: true
latest_change_support
-end
\ No newline at end of file
+end
diff --git a/app/models/type_lookup.rb b/app/models/type_lookup.rb
index e8a1ac4fe..915f09308 100644
--- a/app/models/type_lookup.rb
+++ b/app/models/type_lookup.rb
@@ -35,4 +35,4 @@ class TypeLookup < ApplicationModel
lookup.id
end
-end
\ No newline at end of file
+end
diff --git a/app/models/user.rb b/app/models/user.rb
index 3cb7aa050..4ca5839b4 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -529,4 +529,4 @@ returns
self.password = "{sha2}#{crypted}"
end
end
-end
\ No newline at end of file
+end
diff --git a/app/models/user/permission.rb b/app/models/user/permission.rb
index 1e9c5b051..ae412d4f7 100644
--- a/app/models/user/permission.rb
+++ b/app/models/user/permission.rb
@@ -33,4 +33,4 @@ returns
return false
end
-end
\ No newline at end of file
+end
diff --git a/config/application.rb b/config/application.rb
index 37d2f5941..dbf164ec3 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -74,4 +74,4 @@ module Zammad
config.api_path = '/api/v1'
end
-end
\ No newline at end of file
+end
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 495dcbd9b..177f4abbb 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -41,4 +41,4 @@ Zammad::Application.configure do
# define cache store
config.cache_store = :file_store, 'tmp/cache_file_store_development'
-end
\ No newline at end of file
+end
diff --git a/config/environments/production.rb b/config/environments/production.rb
index 98ce96c7c..23c50f34a 100644
--- a/config/environments/production.rb
+++ b/config/environments/production.rb
@@ -15,7 +15,7 @@ Zammad::Application.configure do
config.action_controller.perform_caching = true
# Disable Rails's static asset server (Apache or nginx will already do this)
- config.serve_static_assets = false
+ config.serve_static_assets = true
# Compress JavaScripts and CSS
config.assets.compress = true
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 6dd496a98..a64fd3487 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -49,4 +49,4 @@ Zammad::Application.configure do
# define cache store
config.cache_store = :file_store, 'tmp/cache_file_store_test'
-end
\ No newline at end of file
+end
diff --git a/config/initializers/logo.rb b/config/initializers/logo.rb
index 6656a6c18..00e77ca23 100644
--- a/config/initializers/logo.rb
+++ b/config/initializers/logo.rb
@@ -1,4 +1,4 @@
# sync logo to fs / only if settings already exists
if ActiveRecord::Base.connection.tables.include?('settings')
StaticAssets.sync
-end
\ No newline at end of file
+end
diff --git a/config/initializers/vendor_lib.rb b/config/initializers/vendor_lib.rb
index 2b07b6184..2aba3cccb 100644
--- a/config/initializers/vendor_lib.rb
+++ b/config/initializers/vendor_lib.rb
@@ -3,4 +3,4 @@ Dir["#{Rails.root}/vendor/lib/*"].each {|file|
if File.file?(file)
require file
end
-}
\ No newline at end of file
+}
diff --git a/config/initializers/zammad_constants.rb b/config/initializers/zammad_constants.rb
index 1bda31d5f..6df36f534 100644
--- a/config/initializers/zammad_constants.rb
+++ b/config/initializers/zammad_constants.rb
@@ -6,4 +6,3 @@
Z_ROLENAME_ADMIN = 'Admin'
Z_ROLENAME_AGENT = 'Agent'
Z_ROLENAME_CUSTOMER = 'Customer'
-
diff --git a/config/routes.rb b/config/routes.rb
index da0be492b..29d8d4801 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -19,4 +19,4 @@ Zammad::Application.routes.draw do
end
end
-end
\ No newline at end of file
+end
diff --git a/config/routes/activity_stream.rb b/config/routes/activity_stream.rb
index 7ff765d0b..349476c4f 100644
--- a/config/routes/activity_stream.rb
+++ b/config/routes/activity_stream.rb
@@ -3,4 +3,4 @@ Zammad::Application.routes.draw do
match api_path + '/activity_stream', to: 'activity_stream#show', via: :get
-end
\ No newline at end of file
+end
diff --git a/config/routes/auth.rb b/config/routes/auth.rb
index 733d94a5f..96e284d87 100644
--- a/config/routes/auth.rb
+++ b/config/routes/auth.rb
@@ -17,4 +17,4 @@ Zammad::Application.routes.draw do
match api_path + '/sessions', to: 'sessions#list', via: :get
match api_path + '/sessions/:id', to: 'sessions#delete', via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/channel.rb b/config/routes/channel.rb
index e9cf82143..7d7c2adc8 100644
--- a/config/routes/channel.rb
+++ b/config/routes/channel.rb
@@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
match api_path + '/channels/:id', to: 'channels#update', via: :put
match api_path + '/channels/:id', to: 'channels#destroy', via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/email_address.rb b/config/routes/email_address.rb
index 99f0e6de1..49542f856 100644
--- a/config/routes/email_address.rb
+++ b/config/routes/email_address.rb
@@ -7,4 +7,4 @@ Zammad::Application.routes.draw do
match api_path + '/email_addresses', to: 'email_addresses#create', via: :post
match api_path + '/email_addresses/:id', to: 'email_addresses#update', via: :put
-end
\ No newline at end of file
+end
diff --git a/config/routes/getting_started.rb b/config/routes/getting_started.rb
index 0cdbe97f8..72d1e2fe5 100644
--- a/config/routes/getting_started.rb
+++ b/config/routes/getting_started.rb
@@ -9,4 +9,4 @@ Zammad::Application.routes.draw do
match api_path + '/getting_started/email_inbound', to: 'getting_started#email_inbound', via: :post
match api_path + '/getting_started/email_verify', to: 'getting_started#email_verify', via: :post
-end
\ No newline at end of file
+end
diff --git a/config/routes/group.rb b/config/routes/group.rb
index 4c3340c84..3b2051160 100644
--- a/config/routes/group.rb
+++ b/config/routes/group.rb
@@ -7,4 +7,4 @@ Zammad::Application.routes.draw do
match api_path + '/groups', to: 'groups#create', via: :post
match api_path + '/groups/:id', to: 'groups#update', via: :put
-end
\ No newline at end of file
+end
diff --git a/config/routes/ical_tickets.rb b/config/routes/ical_tickets.rb
index 507e42790..324c30007 100644
--- a/config/routes/ical_tickets.rb
+++ b/config/routes/ical_tickets.rb
@@ -6,4 +6,4 @@ Zammad::Application.routes.draw do
match api_path + '/ical/tickets_new_open/:action_token', to: 'ical_tickets#new_open', via: :get
match api_path + '/ical/tickets_pending/:action_token', to: 'ical_tickets#pending', via: :get
match api_path + '/ical/tickets_escalation/:action_token', to: 'ical_tickets#escalation', via: :get
-end
\ No newline at end of file
+end
diff --git a/config/routes/import_otrs.rb b/config/routes/import_otrs.rb
index f9c0af468..41c8b1c2e 100644
--- a/config/routes/import_otrs.rb
+++ b/config/routes/import_otrs.rb
@@ -6,4 +6,4 @@ Zammad::Application.routes.draw do
match api_path + '/import/otrs/import_start', to: 'import_otrs#import_start', via: :post
match api_path + '/import/otrs/import_status', to: 'import_otrs#import_status', via: :get
-end
\ No newline at end of file
+end
diff --git a/config/routes/job.rb b/config/routes/job.rb
index 5810bfd14..03998f5a5 100644
--- a/config/routes/job.rb
+++ b/config/routes/job.rb
@@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
match api_path + '/jobs/:id', to: 'jobs#update', via: :put
match api_path + '/jobs/:id', to: 'jobs#destroy', via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/link.rb b/config/routes/link.rb
index 7288e0c1c..c86ec2ddc 100644
--- a/config/routes/link.rb
+++ b/config/routes/link.rb
@@ -6,4 +6,4 @@ Zammad::Application.routes.draw do
match api_path + '/links/add', to: 'links#add', via: :get
match api_path + '/links/remove', to: 'links#remove', via: :get
-end
\ No newline at end of file
+end
diff --git a/config/routes/message.rb b/config/routes/message.rb
index f5114062c..67b748557 100644
--- a/config/routes/message.rb
+++ b/config/routes/message.rb
@@ -5,4 +5,4 @@ Zammad::Application.routes.draw do
match api_path + '/message_send', to: 'long_polling#message_send', via: [ :get, :post ]
match api_path + '/message_receive', to: 'long_polling#message_receive', via: [ :get, :post ]
-end
\ No newline at end of file
+end
diff --git a/config/routes/network.rb b/config/routes/network.rb
index cbdda0645..345a277d6 100644
--- a/config/routes/network.rb
+++ b/config/routes/network.rb
@@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
match api_path + '/networks/:id', to: 'networks#update', via: :put
match api_path + '/networks/:id', to: 'networks#destroy',via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/object_manager_attribute.rb b/config/routes/object_manager_attribute.rb
index 7571dfcb5..54c3bcd57 100644
--- a/config/routes/object_manager_attribute.rb
+++ b/config/routes/object_manager_attribute.rb
@@ -9,4 +9,4 @@ Zammad::Application.routes.draw do
match api_path + '/object_manager_attributes/:id', to: 'object_manager_attributes#update', via: :put
match api_path + '/object_manager_attributes/:id', to: 'object_manager_attributes#destroy', via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/online_notification.rb b/config/routes/online_notification.rb
index c34e81e55..b7606f39d 100644
--- a/config/routes/online_notification.rb
+++ b/config/routes/online_notification.rb
@@ -6,4 +6,4 @@ Zammad::Application.routes.draw do
match api_path + '/online_notifications/:id', to: 'online_notifications#update', via: :put
match api_path + '/online_notifications/mark_all_as_read', to: 'online_notifications#mark_all_as_read', via: :post
-end
\ No newline at end of file
+end
diff --git a/config/routes/organization.rb b/config/routes/organization.rb
index 029197ee6..ad54d47f9 100644
--- a/config/routes/organization.rb
+++ b/config/routes/organization.rb
@@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
match api_path + '/organizations/:id', to: 'organizations#update', via: :put
match api_path + '/organizations/history/:id',to: 'organizations#history',via: :get
-end
\ No newline at end of file
+end
diff --git a/config/routes/overview.rb b/config/routes/overview.rb
index 383128cbd..8b017738d 100644
--- a/config/routes/overview.rb
+++ b/config/routes/overview.rb
@@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
match api_path + '/overviews/:id', to: 'overviews#update', via: :put
match api_path + '/overviews/:id', to: 'overviews#destroy', via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/package.rb b/config/routes/package.rb
index aeff15cd9..a06e3f090 100644
--- a/config/routes/package.rb
+++ b/config/routes/package.rb
@@ -6,4 +6,4 @@ Zammad::Application.routes.draw do
match api_path + '/packages', to: 'packages#install', via: :post
match api_path + '/packages', to: 'packages#uninstall', via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/postmaster_filter.rb b/config/routes/postmaster_filter.rb
index 701e96963..d82a08093 100644
--- a/config/routes/postmaster_filter.rb
+++ b/config/routes/postmaster_filter.rb
@@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
match api_path + '/postmaster_filters/:id', to: 'postmaster_filters#update', via: :put
match api_path + '/postmaster_filters/:id', to: 'postmaster_filters#destroy', via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/recent_view.rb b/config/routes/recent_view.rb
index 3162182ee..44cd56f7c 100644
--- a/config/routes/recent_view.rb
+++ b/config/routes/recent_view.rb
@@ -3,4 +3,4 @@ Zammad::Application.routes.draw do
match api_path + '/recent_view', to: 'recent_view#index', via: :get
match api_path + '/recent_view', to: 'recent_view#create', via: :post
-end
\ No newline at end of file
+end
diff --git a/config/routes/role.rb b/config/routes/role.rb
index 15d02a4b2..380713f33 100644
--- a/config/routes/role.rb
+++ b/config/routes/role.rb
@@ -7,4 +7,4 @@ Zammad::Application.routes.draw do
match api_path + '/roles', to: 'roles#create', via: :post
match api_path + '/roles/:id', to: 'roles#update', via: :put
-end
\ No newline at end of file
+end
diff --git a/config/routes/rss.rb b/config/routes/rss.rb
index 682da0dd7..6476410b6 100644
--- a/config/routes/rss.rb
+++ b/config/routes/rss.rb
@@ -4,4 +4,4 @@ Zammad::Application.routes.draw do
# rss
match api_path + '/rss_fetch', to: 'rss#fetch', via: :get
-end
\ No newline at end of file
+end
diff --git a/config/routes/search.rb b/config/routes/search.rb
index a41ab3a2d..827cd97db 100644
--- a/config/routes/search.rb
+++ b/config/routes/search.rb
@@ -7,4 +7,4 @@ Zammad::Application.routes.draw do
# search_user_org
match api_path + '/search_user_org', to: 'search#search_user_org', via: [:get, :post]
-end
\ No newline at end of file
+end
diff --git a/config/routes/setting.rb b/config/routes/setting.rb
index 451efa9a9..86c660fe0 100644
--- a/config/routes/setting.rb
+++ b/config/routes/setting.rb
@@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
match api_path + '/settings/:id', to: 'settings#update', via: :put
match api_path + '/settings/:id', to: 'settings#destroy', via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/signature.rb b/config/routes/signature.rb
index 241177a2a..2519ff0d5 100644
--- a/config/routes/signature.rb
+++ b/config/routes/signature.rb
@@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
match api_path + '/signatures/:id', to: 'signatures#update', via: :put
match api_path + '/signatures/:id', to: 'signatures#destroy', via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/sla.rb b/config/routes/sla.rb
index 3f98d90ca..6ee10b4e5 100644
--- a/config/routes/sla.rb
+++ b/config/routes/sla.rb
@@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
match api_path + '/slas/:id', to: 'slas#update', via: :put
match api_path + '/slas/:id', to: 'slas#destroy', via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/tag.rb b/config/routes/tag.rb
index 5baa44327..0405299a4 100644
--- a/config/routes/tag.rb
+++ b/config/routes/tag.rb
@@ -6,4 +6,4 @@ Zammad::Application.routes.draw do
match api_path + '/tags/add', to: 'tags#add', via: :get
match api_path + '/tags/remove', to: 'tags#remove', via: :get
-end
\ No newline at end of file
+end
diff --git a/config/routes/taskbar.rb b/config/routes/taskbar.rb
index a948ec81b..0a9765352 100644
--- a/config/routes/taskbar.rb
+++ b/config/routes/taskbar.rb
@@ -7,4 +7,4 @@ Zammad::Application.routes.draw do
match api_path + '/taskbar/:id', to: 'taskbar#update', via: :put
match api_path + '/taskbar/:id', to: 'taskbar#destroy',via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/template.rb b/config/routes/template.rb
index dcb08c447..438b238e1 100644
--- a/config/routes/template.rb
+++ b/config/routes/template.rb
@@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
match api_path + '/templates/:id', to: 'templates#update', via: :put
match api_path + '/templates/:id', to: 'templates#destroy', via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/test.rb b/config/routes/test.rb
index 0583987d0..6bbbfdde7 100644
--- a/config/routes/test.rb
+++ b/config/routes/test.rb
@@ -12,4 +12,4 @@ Zammad::Application.routes.draw do
match '/tests-taskbar', to: 'tests#taskbar', via: :get
match '/tests/wait/:sec', to: 'tests#wait', via: :get
-end
\ No newline at end of file
+end
diff --git a/config/routes/text_module.rb b/config/routes/text_module.rb
index 4dfcfd0e6..821b985dd 100644
--- a/config/routes/text_module.rb
+++ b/config/routes/text_module.rb
@@ -8,4 +8,4 @@ Zammad::Application.routes.draw do
match api_path + '/text_modules/:id', to: 'text_modules#update', via: :put
match api_path + '/text_modules/:id', to: 'text_modules#destroy', via: :delete
-end
\ No newline at end of file
+end
diff --git a/config/routes/ticket.rb b/config/routes/ticket.rb
index 439cb431f..a4ef33bc4 100644
--- a/config/routes/ticket.rb
+++ b/config/routes/ticket.rb
@@ -40,4 +40,4 @@ Zammad::Application.routes.draw do
match api_path + '/ticket_attachment_upload', to: 'ticket_articles#ticket_attachment_upload_delete', via: :delete
match api_path + '/ticket_article_plain/:id', to: 'ticket_articles#article_plain', via: :get
-end
\ No newline at end of file
+end
diff --git a/config/routes/translation.rb b/config/routes/translation.rb
index 8d6e88cb1..9293a85f9 100644
--- a/config/routes/translation.rb
+++ b/config/routes/translation.rb
@@ -9,4 +9,4 @@ Zammad::Application.routes.draw do
match api_path + '/translations/lang/:locale', to: 'translations#load', via: :get
match api_path + '/translations/admin/lang/:locale', to: 'translations#admin', via: :get
-end
\ No newline at end of file
+end
diff --git a/config/routes/user.rb b/config/routes/user.rb
index 53e281a0d..929042e73 100644
--- a/config/routes/user.rb
+++ b/config/routes/user.rb
@@ -21,4 +21,4 @@ Zammad::Application.routes.draw do
match api_path + '/users/:id', to: 'users#update', via: :put
match api_path + '/users/image/:hash', to: 'users#image', via: :get
-end
\ No newline at end of file
+end
diff --git a/db/migrate/20120101000001_create_base.rb b/db/migrate/20120101000001_create_base.rb
index fbffe56d0..9294b2de6 100644
--- a/db/migrate/20120101000001_create_base.rb
+++ b/db/migrate/20120101000001_create_base.rb
@@ -323,4 +323,4 @@ class CreateBase < ActiveRecord::Migration
add_index :settings, [:frontend]
end
-end
\ No newline at end of file
+end
diff --git a/db/migrate/20130201071513_create_sla.rb b/db/migrate/20130201071513_create_sla.rb
index 89fc7aac5..28fa4ecdb 100644
--- a/db/migrate/20130201071513_create_sla.rb
+++ b/db/migrate/20130201071513_create_sla.rb
@@ -18,4 +18,4 @@ class CreateSla < ActiveRecord::Migration
def down
end
-end
\ No newline at end of file
+end
diff --git a/db/migrate/20130726000001_update_session.rb b/db/migrate/20130726000001_update_session.rb
index 52a8aa478..3399b9197 100644
--- a/db/migrate/20130726000001_update_session.rb
+++ b/db/migrate/20130726000001_update_session.rb
@@ -6,4 +6,3 @@ class UpdateSession < ActiveRecord::Migration
def down
end
end
-
diff --git a/db/migrate/20130815000002_update_ticket_number.rb b/db/migrate/20130815000002_update_ticket_number.rb
index feaf14266..43616ef4f 100644
--- a/db/migrate/20130815000002_update_ticket_number.rb
+++ b/db/migrate/20130815000002_update_ticket_number.rb
@@ -30,4 +30,4 @@ class UpdateTicketNumber < ActiveRecord::Migration
end
def down
end
-end
\ No newline at end of file
+end
diff --git a/db/migrate/20130817000001_update_auth.rb b/db/migrate/20130817000001_update_auth.rb
index 19c9be415..96903113b 100644
--- a/db/migrate/20130817000001_update_auth.rb
+++ b/db/migrate/20130817000001_update_auth.rb
@@ -49,4 +49,4 @@ class UpdateAuth < ActiveRecord::Migration
end
def down
end
-end
\ No newline at end of file
+end
diff --git a/db/migrate/20140728000001_update_setting1.rb b/db/migrate/20140728000001_update_setting1.rb
index 7516393cd..134aa334f 100644
--- a/db/migrate/20140728000001_update_setting1.rb
+++ b/db/migrate/20140728000001_update_setting1.rb
@@ -48,4 +48,4 @@ class UpdateSetting1 < ActiveRecord::Migration
def down
end
-end
\ No newline at end of file
+end
diff --git a/db/migrate/20141119000001_update_setting2.rb b/db/migrate/20141119000001_update_setting2.rb
index 7d9de0cec..cf81cb713 100644
--- a/db/migrate/20141119000001_update_setting2.rb
+++ b/db/migrate/20141119000001_update_setting2.rb
@@ -22,4 +22,4 @@ class UpdateSetting2 < ActiveRecord::Migration
def down
end
-end
\ No newline at end of file
+end
diff --git a/db/migrate/20141120000001_update_setting3.rb b/db/migrate/20141120000001_update_setting3.rb
index e2e6cb4dd..fee652b2f 100644
--- a/db/migrate/20141120000001_update_setting3.rb
+++ b/db/migrate/20141120000001_update_setting3.rb
@@ -13,4 +13,4 @@ class UpdateSetting3 < ActiveRecord::Migration
def down
end
-end
\ No newline at end of file
+end
diff --git a/db/migrate/20141221000001_create_job.rb b/db/migrate/20141221000001_create_job.rb
index a1898d184..3881241aa 100644
--- a/db/migrate/20141221000001_create_job.rb
+++ b/db/migrate/20141221000001_create_job.rb
@@ -22,4 +22,4 @@ class CreateJob < ActiveRecord::Migration
def down
drop_table :jobs
end
-end
\ No newline at end of file
+end
diff --git a/db/migrate/20141231000001_add_develop_mode.rb b/db/migrate/20141231000001_add_develop_mode.rb
index e2855ecdc..36309fba6 100644
--- a/db/migrate/20141231000001_add_develop_mode.rb
+++ b/db/migrate/20141231000001_add_develop_mode.rb
@@ -13,4 +13,4 @@ class AddDevelopMode < ActiveRecord::Migration
def down
end
-end
\ No newline at end of file
+end
diff --git a/db/migrate/20150112000001_update_overview_and_ticket_state.rb b/db/migrate/20150112000001_update_overview_and_ticket_state.rb
index e68228751..cbbf2b51f 100644
--- a/db/migrate/20150112000001_update_overview_and_ticket_state.rb
+++ b/db/migrate/20150112000001_update_overview_and_ticket_state.rb
@@ -124,4 +124,4 @@ class UpdateOverviewAndTicketState < ActiveRecord::Migration
def down
end
-end
\ No newline at end of file
+end
diff --git a/db/migrate/20150223000001_update_overview2.rb b/db/migrate/20150223000001_update_overview2.rb
index 9af6d1d92..d51be1b9f 100644
--- a/db/migrate/20150223000001_update_overview2.rb
+++ b/db/migrate/20150223000001_update_overview2.rb
@@ -30,4 +30,4 @@ class UpdateOverview2 < ActiveRecord::Migration
def down
end
-end
\ No newline at end of file
+end
diff --git a/db/migrate/20150322000001_update_geo_ip_config.rb b/db/migrate/20150322000001_update_geo_ip_config.rb
index 35ddd8bfb..b16528a3f 100644
--- a/db/migrate/20150322000001_update_geo_ip_config.rb
+++ b/db/migrate/20150322000001_update_geo_ip_config.rb
@@ -27,4 +27,4 @@ class UpdateGeoIpConfig < ActiveRecord::Migration
def down
end
-end
\ No newline at end of file
+end
diff --git a/db/migrate/20150421000000_create_locale.rb b/db/migrate/20150421000000_create_locale.rb
index 53e00e4b0..187cc4fff 100644
--- a/db/migrate/20150421000000_create_locale.rb
+++ b/db/migrate/20150421000000_create_locale.rb
@@ -22,4 +22,4 @@ class CreateLocale < ActiveRecord::Migration
def down
end
-end
\ No newline at end of file
+end
diff --git a/lib/auth/internal.rb b/lib/auth/internal.rb
index 48d69bc8b..2ccbd30d5 100644
--- a/lib/auth/internal.rb
+++ b/lib/auth/internal.rb
@@ -17,4 +17,4 @@ module Auth::Internal
return false
end
-end
\ No newline at end of file
+end
diff --git a/lib/auth/ldap.rb b/lib/auth/ldap.rb
index 0d11e6c8c..b3db2c056 100644
--- a/lib/auth/ldap.rb
+++ b/lib/auth/ldap.rb
@@ -121,4 +121,4 @@ module Auth::Ldap
return user
end
-end
\ No newline at end of file
+end
diff --git a/lib/auth/otrs.rb b/lib/auth/otrs.rb
index 726038f05..052d9acf6 100644
--- a/lib/auth/otrs.rb
+++ b/lib/auth/otrs.rb
@@ -25,4 +25,4 @@ module Auth::Otrs
return user
end
-end
\ No newline at end of file
+end
diff --git a/lib/auto_wizard.rb b/lib/auto_wizard.rb
index 2362db250..b5a9cf417 100644
--- a/lib/auto_wizard.rb
+++ b/lib/auto_wizard.rb
@@ -92,4 +92,4 @@ returns
admin_user
end
-end
\ No newline at end of file
+end
diff --git a/lib/auto_wizzard.rb b/lib/auto_wizzard.rb
index 2362db250..b5a9cf417 100644
--- a/lib/auto_wizzard.rb
+++ b/lib/auto_wizzard.rb
@@ -92,4 +92,4 @@ returns
admin_user
end
-end
\ No newline at end of file
+end
diff --git a/lib/cache.rb b/lib/cache.rb
index 1fb5f590f..b80682e1a 100644
--- a/lib/cache.rb
+++ b/lib/cache.rb
@@ -67,4 +67,4 @@ clear whole cache store
Rails.cache.clear
end
-end
\ No newline at end of file
+end
diff --git a/lib/core_ext/class.rb b/lib/core_ext/class.rb
index 865d7eae5..0b6ac9185 100644
--- a/lib/core_ext/class.rb
+++ b/lib/core_ext/class.rb
@@ -11,4 +11,4 @@ class Class
camel_cased_word = self.to_s
camel_cased_word.gsub(/::/, '').to_sym
end
-end
\ No newline at end of file
+end
diff --git a/lib/core_ext/string.rb b/lib/core_ext/string.rb
index bf31012ae..aabb5b2a2 100644
--- a/lib/core_ext/string.rb
+++ b/lib/core_ext/string.rb
@@ -178,4 +178,4 @@ class String
text.chomp
end
-end
\ No newline at end of file
+end
diff --git a/lib/event_buffer.rb b/lib/event_buffer.rb
index d4a80a356..1e3e09ed5 100644
--- a/lib/event_buffer.rb
+++ b/lib/event_buffer.rb
@@ -15,4 +15,4 @@ module EventBuffer
Thread.current[:event_buffer] = []
end
-end
\ No newline at end of file
+end
diff --git a/lib/fill_db.rb b/lib/fill_db.rb
index 65a67d4e9..a9a000dc8 100644
--- a/lib/fill_db.rb
+++ b/lib/fill_db.rb
@@ -124,4 +124,4 @@ module FillDB
}
end
end
-end
\ No newline at end of file
+end
diff --git a/lib/geo_ip.rb b/lib/geo_ip.rb
index 2c3885069..27b2d91a2 100644
--- a/lib/geo_ip.rb
+++ b/lib/geo_ip.rb
@@ -36,4 +36,4 @@ returns
# db lookup
backend.location(address)
end
-end
\ No newline at end of file
+end
diff --git a/lib/geo_ip/zammad_geo_ip.rb b/lib/geo_ip/zammad_geo_ip.rb
index d31422724..130fc6522 100644
--- a/lib/geo_ip/zammad_geo_ip.rb
+++ b/lib/geo_ip/zammad_geo_ip.rb
@@ -42,4 +42,4 @@ class GeoIp::ZammadGeoIp
end
data
end
-end
\ No newline at end of file
+end
diff --git a/lib/import/otrs2.rb b/lib/import/otrs2.rb
index 593d6008c..644183e8f 100644
--- a/lib/import/otrs2.rb
+++ b/lib/import/otrs2.rb
@@ -1272,4 +1272,4 @@ module Import::OTRS2
record['Closed'] = record['Created']
end
end
-end
\ No newline at end of file
+end
diff --git a/lib/notification_factory.rb b/lib/notification_factory.rb
index 72fc02e43..455900d76 100644
--- a/lib/notification_factory.rb
+++ b/lib/notification_factory.rb
@@ -121,4 +121,4 @@ module NotificationFactory
true
)
end
-end
\ No newline at end of file
+end
diff --git a/lib/search_index_backend.rb b/lib/search_index_backend.rb
index fa9864bba..174c4859f 100644
--- a/lib/search_index_backend.rb
+++ b/lib/search_index_backend.rb
@@ -263,4 +263,4 @@ return true if backend is configured
url
end
-end
\ No newline at end of file
+end
diff --git a/lib/session_helper.rb b/lib/session_helper.rb
index 602f142c3..4add9ed6b 100644
--- a/lib/session_helper.rb
+++ b/lib/session_helper.rb
@@ -48,4 +48,4 @@ module SessionHelper
return if !session
session.destroy
end
-end
\ No newline at end of file
+end
diff --git a/lib/sessions.rb b/lib/sessions.rb
index 1f125806d..d6dd1c6fc 100644
--- a/lib/sessions.rb
+++ b/lib/sessions.rb
@@ -587,4 +587,4 @@ returns
}
end
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/activity_stream.rb b/lib/sessions/backend/activity_stream.rb
index 2665c5ab1..07043b00e 100644
--- a/lib/sessions/backend/activity_stream.rb
+++ b/lib/sessions/backend/activity_stream.rb
@@ -61,4 +61,4 @@ class Sessions::Backend::ActivityStream
})
end
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/collections.rb b/lib/sessions/backend/collections.rb
index e3131e8d4..4c8d65c4a 100644
--- a/lib/sessions/backend/collections.rb
+++ b/lib/sessions/backend/collections.rb
@@ -45,4 +45,4 @@ class Sessions::Backend::Collections
backends
end
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/collections/base.rb b/lib/sessions/backend/collections/base.rb
index 0f4b5f26d..d48f55a0c 100644
--- a/lib/sessions/backend/collections/base.rb
+++ b/lib/sessions/backend/collections/base.rb
@@ -106,4 +106,4 @@ class Sessions::Backend::Collections::Base
@is_not_role.push role
end
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/collections/email_address.rb b/lib/sessions/backend/collections/email_address.rb
index de090e244..c1b921dbc 100644
--- a/lib/sessions/backend/collections/email_address.rb
+++ b/lib/sessions/backend/collections/email_address.rb
@@ -1,4 +1,4 @@
class Sessions::Backend::Collections::EmailAddress < Sessions::Backend::Collections::Base
model_set 'EmailAddress'
is_not_role_set 'Customer'
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/collections/group.rb b/lib/sessions/backend/collections/group.rb
index c8ed8f92f..2858fdf5c 100644
--- a/lib/sessions/backend/collections/group.rb
+++ b/lib/sessions/backend/collections/group.rb
@@ -1,3 +1,3 @@
class Sessions::Backend::Collections::Group < Sessions::Backend::Collections::Base
model_set 'Group'
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/collections/organization.rb b/lib/sessions/backend/collections/organization.rb
index daa0898b6..377f129bd 100644
--- a/lib/sessions/backend/collections/organization.rb
+++ b/lib/sessions/backend/collections/organization.rb
@@ -16,4 +16,4 @@ class Sessions::Backend::Collections::Organization < Sessions::Backend::Collecti
all
end
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/collections/role.rb b/lib/sessions/backend/collections/role.rb
index 80b825f8c..fb3e05df1 100644
--- a/lib/sessions/backend/collections/role.rb
+++ b/lib/sessions/backend/collections/role.rb
@@ -1,3 +1,3 @@
class Sessions::Backend::Collections::Role < Sessions::Backend::Collections::Base
model_set 'Role'
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/collections/signature.rb b/lib/sessions/backend/collections/signature.rb
index 60bea9ea1..6b00e1556 100644
--- a/lib/sessions/backend/collections/signature.rb
+++ b/lib/sessions/backend/collections/signature.rb
@@ -1,4 +1,4 @@
class Sessions::Backend::Collections::Signature < Sessions::Backend::Collections::Base
model_set 'Signature'
is_not_role_set 'Customer'
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/collections/ticket_article_sender.rb b/lib/sessions/backend/collections/ticket_article_sender.rb
index 4b409f54a..9e40da1a6 100644
--- a/lib/sessions/backend/collections/ticket_article_sender.rb
+++ b/lib/sessions/backend/collections/ticket_article_sender.rb
@@ -1,3 +1,3 @@
class Sessions::Backend::Collections::TicketArticleSender < Sessions::Backend::Collections::Base
model_set 'Ticket::Article::Sender'
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/collections/ticket_article_type.rb b/lib/sessions/backend/collections/ticket_article_type.rb
index e9b59d127..a110bdcd7 100644
--- a/lib/sessions/backend/collections/ticket_article_type.rb
+++ b/lib/sessions/backend/collections/ticket_article_type.rb
@@ -1,3 +1,3 @@
class Sessions::Backend::Collections::TicketArticleType < Sessions::Backend::Collections::Base
model_set 'Ticket::Article::Type'
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/collections/ticket_priority.rb b/lib/sessions/backend/collections/ticket_priority.rb
index 110808da3..6e76ff215 100644
--- a/lib/sessions/backend/collections/ticket_priority.rb
+++ b/lib/sessions/backend/collections/ticket_priority.rb
@@ -1,3 +1,3 @@
class Sessions::Backend::Collections::TicketPriority < Sessions::Backend::Collections::Base
model_set 'Ticket::Priority'
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/collections/ticket_state.rb b/lib/sessions/backend/collections/ticket_state.rb
index 7426be23f..9a5592c7c 100644
--- a/lib/sessions/backend/collections/ticket_state.rb
+++ b/lib/sessions/backend/collections/ticket_state.rb
@@ -1,3 +1,3 @@
class Sessions::Backend::Collections::TicketState < Sessions::Backend::Collections::Base
model_set 'Ticket::State'
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/rss.rb b/lib/sessions/backend/rss.rb
index db787c4bf..1a67fbcf9 100644
--- a/lib/sessions/backend/rss.rb
+++ b/lib/sessions/backend/rss.rb
@@ -61,4 +61,4 @@ class Sessions::Backend::Rss
})
end
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/ticket_create.rb b/lib/sessions/backend/ticket_create.rb
index 22592251d..387ff7731 100644
--- a/lib/sessions/backend/ticket_create.rb
+++ b/lib/sessions/backend/ticket_create.rb
@@ -67,4 +67,4 @@ class Sessions::Backend::TicketCreate
})
end
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/ticket_overview_index.rb b/lib/sessions/backend/ticket_overview_index.rb
index f41302bcc..e87e37f5a 100644
--- a/lib/sessions/backend/ticket_overview_index.rb
+++ b/lib/sessions/backend/ticket_overview_index.rb
@@ -63,4 +63,4 @@ class Sessions::Backend::TicketOverviewIndex
})
end
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/backend/ticket_overview_list.rb b/lib/sessions/backend/ticket_overview_list.rb
index 5c4b04a78..6a65a954d 100644
--- a/lib/sessions/backend/ticket_overview_list.rb
+++ b/lib/sessions/backend/ticket_overview_list.rb
@@ -129,4 +129,4 @@ class Sessions::Backend::TicketOverviewList
nil
end
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/cache_in.rb b/lib/sessions/cache_in.rb
index d25fbd720..27cff0046 100644
--- a/lib/sessions/cache_in.rb
+++ b/lib/sessions/cache_in.rb
@@ -50,4 +50,4 @@ module Sessions::CacheIn
return if self.expired( key, params )
@@data[ key ]
end
-end
\ No newline at end of file
+end
diff --git a/lib/sessions/client.rb b/lib/sessions/client.rb
index c4899ed92..80644cca5 100644
--- a/lib/sessions/client.rb
+++ b/lib/sessions/client.rb
@@ -76,4 +76,4 @@ class Sessions::Client
return if level == 'notice'
puts "#{Time.now}:client(#{ @client_id }) #{ data }"
end
-end
\ No newline at end of file
+end
diff --git a/lib/sso/env.rb b/lib/sso/env.rb
index 4f0cb2608..e1b00d848 100644
--- a/lib/sso/env.rb
+++ b/lib/sso/env.rb
@@ -16,4 +16,4 @@ module Sso::Env
false
end
-end
\ No newline at end of file
+end
diff --git a/lib/sso/otrs.rb b/lib/sso/otrs.rb
index 96c5622d5..2f839df7b 100644
--- a/lib/sso/otrs.rb
+++ b/lib/sso/otrs.rb
@@ -26,4 +26,4 @@ module Sso::Otrs
user
end
-end
\ No newline at end of file
+end
diff --git a/lib/static_assets.rb b/lib/static_assets.rb
index c5f23f070..d05b4eb76 100644
--- a/lib/static_assets.rb
+++ b/lib/static_assets.rb
@@ -81,4 +81,4 @@ module StaticAssets
f.puts file.content
end
end
-end
\ No newline at end of file
+end
diff --git a/lib/user_agent.rb b/lib/user_agent.rb
index 475c8a657..4cec34e3d 100644
--- a/lib/user_agent.rb
+++ b/lib/user_agent.rb
@@ -413,4 +413,4 @@ returns
@content_type
end
end
-end
\ No newline at end of file
+end
diff --git a/lib/user_info.rb b/lib/user_info.rb
index 8640ca7bf..ed6a12761 100644
--- a/lib/user_info.rb
+++ b/lib/user_info.rb
@@ -6,4 +6,4 @@ module UserInfo
def self.current_user_id=(user_id)
Thread.current[:user_id] = user_id
end
-end
\ No newline at end of file
+end
diff --git a/script/scheduler.rb b/script/scheduler.rb
index 5dc8364d7..d8189dcb0 100755
--- a/script/scheduler.rb
+++ b/script/scheduler.rb
@@ -55,5 +55,3 @@ Daemons.run_proc(name, daemon_options) do
Scheduler.worker
end
-
-
diff --git a/script/websocket-server.rb b/script/websocket-server.rb
index a30f37f6b..31d1d18f1 100755
--- a/script/websocket-server.rb
+++ b/script/websocket-server.rb
@@ -327,4 +327,4 @@ EventMachine.run {
# puts "#{Time.now}:#{ level }:client(#{ client_id }) #{ data }"
end
-}
\ No newline at end of file
+}
diff --git a/test/browser/aaa_getting_started_test.rb b/test/browser/aaa_getting_started_test.rb
index 6195f7a6a..43a4f3403 100644
--- a/test/browser/aaa_getting_started_test.rb
+++ b/test/browser/aaa_getting_started_test.rb
@@ -328,4 +328,4 @@ class AaaGettingStartedTest < TestCase
)
}
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/aab_unit_test.rb b/test/browser/aab_unit_test.rb
index 4e915ed6e..0009f2dcf 100644
--- a/test/browser/aab_unit_test.rb
+++ b/test/browser/aab_unit_test.rb
@@ -73,4 +73,4 @@ class AAbUnitTest < TestCase
value: '0',
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/aac_basic_richtext_test.rb b/test/browser/aac_basic_richtext_test.rb
index 55fecd15f..4bcc870a8 100644
--- a/test/browser/aac_basic_richtext_test.rb
+++ b/test/browser/aac_basic_richtext_test.rb
@@ -65,4 +65,4 @@ class AACBasicRichtextTest < TestCase
cleanup: true,
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/agent_organization_profile_test.rb b/test/browser/agent_organization_profile_test.rb
index d1d92ea19..05549911a 100644
--- a/test/browser/agent_organization_profile_test.rb
+++ b/test/browser/agent_organization_profile_test.rb
@@ -128,4 +128,4 @@ class AgentOrganizationProfileTest < TestCase
value: message,
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/agent_ticket_actions_level0_test.rb b/test/browser/agent_ticket_actions_level0_test.rb
index b5e1e22a3..ba5a602c0 100644
--- a/test/browser/agent_ticket_actions_level0_test.rb
+++ b/test/browser/agent_ticket_actions_level0_test.rb
@@ -287,4 +287,4 @@ class AgentTicketActionLevel0Test < TestCase
value: 'some content ' + lastname,
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/agent_ticket_actions_level1_test.rb b/test/browser/agent_ticket_actions_level1_test.rb
index abe0fd62e..5bcf39a68 100644
--- a/test/browser/agent_ticket_actions_level1_test.rb
+++ b/test/browser/agent_ticket_actions_level1_test.rb
@@ -149,4 +149,4 @@ class AgentTicketActionLevel1Test < TestCase
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/agent_ticket_actions_level2_test.rb b/test/browser/agent_ticket_actions_level2_test.rb
index 7e7ca9359..6057bed70 100644
--- a/test/browser/agent_ticket_actions_level2_test.rb
+++ b/test/browser/agent_ticket_actions_level2_test.rb
@@ -246,4 +246,4 @@ class AgentTicketActionsLevel2Test < TestCase
},
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/agent_ticket_actions_level3_test.rb b/test/browser/agent_ticket_actions_level3_test.rb
index 6320f21fa..95b6a4a39 100644
--- a/test/browser/agent_ticket_actions_level3_test.rb
+++ b/test/browser/agent_ticket_actions_level3_test.rb
@@ -274,4 +274,4 @@ class AgentTicketActionsLevel3Test < TestCase
value: '22 some level 3 body in instance 2',
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/agent_ticket_actions_level4_test.rb b/test/browser/agent_ticket_actions_level4_test.rb
index a82e9df6f..6390dc632 100644
--- a/test/browser/agent_ticket_actions_level4_test.rb
+++ b/test/browser/agent_ticket_actions_level4_test.rb
@@ -129,4 +129,4 @@ class AgentTicketActionLevel4Test < TestCase
# cleanup
tasks_close_all()
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/agent_ticket_actions_level5_test.rb b/test/browser/agent_ticket_actions_level5_test.rb
index 99470aea3..f24b12a91 100644
--- a/test/browser/agent_ticket_actions_level5_test.rb
+++ b/test/browser/agent_ticket_actions_level5_test.rb
@@ -299,4 +299,4 @@ class AgentTicketActionLevel5Test < TestCase
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/agent_ticket_actions_level6_test.rb b/test/browser/agent_ticket_actions_level6_test.rb
index 9cf98d6a6..bba17b76a 100644
--- a/test/browser/agent_ticket_actions_level6_test.rb
+++ b/test/browser/agent_ticket_actions_level6_test.rb
@@ -204,4 +204,4 @@ class AgentTicketActionLevel6Test < TestCase
# some form reset checks
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/agent_ticket_overview_level0_test.rb b/test/browser/agent_ticket_overview_level0_test.rb
index 154828815..bf7f342c6 100644
--- a/test/browser/agent_ticket_overview_level0_test.rb
+++ b/test/browser/agent_ticket_overview_level0_test.rb
@@ -187,4 +187,4 @@ class AgentTicketOverviewLevel0Test < TestCase
# cleanup
tasks_close_all()
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/agent_ticket_overview_level1_test.rb b/test/browser/agent_ticket_overview_level1_test.rb
index f3f1df060..70faf514e 100644
--- a/test/browser/agent_ticket_overview_level1_test.rb
+++ b/test/browser/agent_ticket_overview_level1_test.rb
@@ -157,4 +157,4 @@ class AgentTicketOverviewLevel1Test < TestCase
value: ticket2[:number],
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/agent_user_manage_test.rb b/test/browser/agent_user_manage_test.rb
index 4984a857b..d7d6014e6 100644
--- a/test/browser/agent_user_manage_test.rb
+++ b/test/browser/agent_user_manage_test.rb
@@ -116,4 +116,4 @@ class AgentUserManageTest < TestCase
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/agent_user_profile_test.rb b/test/browser/agent_user_profile_test.rb
index fbe70311c..1b1782c4c 100644
--- a/test/browser/agent_user_profile_test.rb
+++ b/test/browser/agent_user_profile_test.rb
@@ -124,4 +124,4 @@ class AgentUserProfileTest < TestCase
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/customer_ticket_create_test.rb b/test/browser/customer_ticket_create_test.rb
index 0cda7eeed..45348d21f 100644
--- a/test/browser/customer_ticket_create_test.rb
+++ b/test/browser/customer_ticket_create_test.rb
@@ -52,4 +52,4 @@ class CustomerTicketCreateTest < TestCase
value: 'some body 1234 äöüß',
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/maintenance_message_test.rb b/test/browser/maintenance_message_test.rb
index 9dde3c61e..af1969628 100644
--- a/test/browser/maintenance_message_test.rb
+++ b/test/browser/maintenance_message_test.rb
@@ -171,4 +171,4 @@ class MaintenanceMessageTest < TestCase
value: message_text,
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/prefereces_test.rb b/test/browser/prefereces_test.rb
index d04fac3bf..3f3ada209 100644
--- a/test/browser/prefereces_test.rb
+++ b/test/browser/prefereces_test.rb
@@ -315,4 +315,4 @@ class PreferencesTest < TestCase
value: 'Meine'
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/setting_test.rb b/test/browser/setting_test.rb
index ff65d6815..ccfc9da61 100644
--- a/test/browser/setting_test.rb
+++ b/test/browser/setting_test.rb
@@ -131,4 +131,4 @@ class SettingTest < TestCase
value: '---',
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/signup_password_change_and_reset_test.rb b/test/browser/signup_password_change_and_reset_test.rb
index 464987482..ef6907672 100644
--- a/test/browser/signup_password_change_and_reset_test.rb
+++ b/test/browser/signup_password_change_and_reset_test.rb
@@ -252,4 +252,4 @@ class SignupPasswordChangeAndResetTest < TestCase
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/taskbar_session_test.rb b/test/browser/taskbar_session_test.rb
index 3be41baaa..7395ee633 100644
--- a/test/browser/taskbar_session_test.rb
+++ b/test/browser/taskbar_session_test.rb
@@ -69,4 +69,4 @@ class TaskbarSessionTest < TestCase
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser/taskbar_task_test.rb b/test/browser/taskbar_task_test.rb
index f851b905d..4ae0ed371 100644
--- a/test/browser/taskbar_task_test.rb
+++ b/test/browser/taskbar_task_test.rb
@@ -121,4 +121,4 @@ class TaskbarTaskTest < TestCase
value: 'OUTBOUND TEST#1',
)
end
-end
\ No newline at end of file
+end
diff --git a/test/browser_test_helper.rb b/test/browser_test_helper.rb
index 82f792bc8..730334ae3 100644
--- a/test/browser_test_helper.rb
+++ b/test/browser_test_helper.rb
@@ -1730,4 +1730,4 @@ wait untill text in selector disabppears
return if !@@debug
puts "#{Time.now.to_s}/#{method}: #{params.inspect}"
end
-end
\ No newline at end of file
+end
diff --git a/test/integration/auto_wizard_test.rb b/test/integration/auto_wizard_test.rb
index 65ef44862..a6c7ce4bf 100644
--- a/test/integration/auto_wizard_test.rb
+++ b/test/integration/auto_wizard_test.rb
@@ -23,4 +23,4 @@ class AutoWizardTest < TestCase
end
-end
\ No newline at end of file
+end
diff --git a/test/integration/elasticsearch_test.rb b/test/integration/elasticsearch_test.rb
index 72d0bcb8b..dfacaf92a 100644
--- a/test/integration/elasticsearch_test.rb
+++ b/test/integration/elasticsearch_test.rb
@@ -352,4 +352,4 @@ class ElasticsearchTest < ActiveSupport::TestCase
assert(!result[0], 'record 1')
end
-end
\ No newline at end of file
+end
diff --git a/test/integration/geo_ip_test.rb b/test/integration/geo_ip_test.rb
index 821bc7dcf..9404f31b7 100644
--- a/test/integration/geo_ip_test.rb
+++ b/test/integration/geo_ip_test.rb
@@ -56,4 +56,4 @@ class GeoIpTest < ActiveSupport::TestCase
assert_equal(-122.2536, result['longitude'])
end
-end
\ No newline at end of file
+end
diff --git a/test/integration/otrs_import_test.rb b/test/integration/otrs_import_test.rb
index f54cc4e6c..6fff031ca 100644
--- a/test/integration/otrs_import_test.rb
+++ b/test/integration/otrs_import_test.rb
@@ -210,4 +210,4 @@ class OtrsImportTest < ActiveSupport::TestCase
# create entry
# state change entry
end
-end
\ No newline at end of file
+end
diff --git a/test/integration/user_agent_test.rb b/test/integration/user_agent_test.rb
index b823e41eb..02aba36c6 100644
--- a/test/integration/user_agent_test.rb
+++ b/test/integration/user_agent_test.rb
@@ -475,4 +475,4 @@ class UserAgentTest < ActiveSupport::TestCase
assert_equal('some value ', result.data['submitted']['key'])
end
-end
\ No newline at end of file
+end
diff --git a/test/integration_test_helper.rb b/test/integration_test_helper.rb
index 363f46afb..0475463fe 100644
--- a/test/integration_test_helper.rb
+++ b/test/integration_test_helper.rb
@@ -24,4 +24,4 @@ class ActiveSupport::TestCase
end
# Add more helper methods to be used by all tests here...
-end
\ No newline at end of file
+end
diff --git a/test/test_helper.rb b/test/test_helper.rb
index 56c9488bf..b674375e8 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -37,4 +37,4 @@ class ActiveSupport::TestCase
end
# Add more helper methods to be used by all tests here...
-end
\ No newline at end of file
+end
diff --git a/test/ui_test.rb b/test/ui_test.rb
index a4efdcb32..3f9920c8d 100644
--- a/test/ui_test.rb
+++ b/test/ui_test.rb
@@ -45,5 +45,3 @@ class ExampleTest < Test::Unit::TestCase
assert_equal browser.current_url, 'https://portal.znuny.com/#ticket_view/my_tickets'
end
end
-
-
diff --git a/test/unit/aaa_string_test.rb b/test/unit/aaa_string_test.rb
index f9ddda7e3..987831d9c 100644
--- a/test/unit/aaa_string_test.rb
+++ b/test/unit/aaa_string_test.rb
@@ -126,4 +126,4 @@ you
assert_equal( should, html.html2text )
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/cache_test.rb b/test/unit/cache_test.rb
index cbc1fd1e1..cee7d292e 100644
--- a/test/unit/cache_test.rb
+++ b/test/unit/cache_test.rb
@@ -118,4 +118,4 @@ class CacheTest < ActiveSupport::TestCase
cache = Cache.get( 'some_reset_key' )
assert_equal( cache, 12_356, 'verify' )
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/db_auto_increment_test.rb b/test/unit/db_auto_increment_test.rb
index ea3fad13f..5e33d4d62 100644
--- a/test/unit/db_auto_increment_test.rb
+++ b/test/unit/db_auto_increment_test.rb
@@ -53,4 +53,4 @@ class DbAutoIncrementTest < ActiveSupport::TestCase
Setting.set('system_init_done', setting_backup)
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/email_build_test.rb b/test/unit/email_build_test.rb
index 56344ecfe..772d571ec 100644
--- a/test/unit/email_build_test.rb
+++ b/test/unit/email_build_test.rb
@@ -163,4 +163,4 @@ class EmailBuildTest < ActiveSupport::TestCase
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/email_parser_test.rb b/test/unit/email_parser_test.rb
index 583ec4f7f..bdda9d888 100644
--- a/test/unit/email_parser_test.rb
+++ b/test/unit/email_parser_test.rb
@@ -713,4 +713,4 @@ Weil wir die Echtheit oder Vollständigkeit der in dieserNachricht enthaltenen I
end
}
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/email_process_test.rb b/test/unit/email_process_test.rb
index 8d1063c5d..2f485695a 100644
--- a/test/unit/email_process_test.rb
+++ b/test/unit/email_process_test.rb
@@ -2178,4 +2178,4 @@ Some Text',
end
}
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/notification_factory_test.rb b/test/unit/notification_factory_test.rb
index 4f1ebbfb8..53721668d 100644
--- a/test/unit/notification_factory_test.rb
+++ b/test/unit/notification_factory_test.rb
@@ -293,4 +293,4 @@ next line, Group: Users',
ticket.destroy
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/object_cache_test.rb b/test/unit/object_cache_test.rb
index 93280cda6..2ed7d6d46 100644
--- a/test/unit/object_cache_test.rb
+++ b/test/unit/object_cache_test.rb
@@ -56,4 +56,4 @@ class ObjectCacheTest < ActiveSupport::TestCase
assert_equal( nil, group_lookup_id, 'verify by lookup.id' )
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/online_notifiaction_test.rb b/test/unit/online_notifiaction_test.rb
index 172001f3f..47e3eefca 100644
--- a/test/unit/online_notifiaction_test.rb
+++ b/test/unit/online_notifiaction_test.rb
@@ -344,4 +344,4 @@ class OnlineNotificationTest < ActiveSupport::TestCase
}
true
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/organization_ref_object_touch_test.rb b/test/unit/organization_ref_object_touch_test.rb
index 0627dcc0a..fa845c1d3 100644
--- a/test/unit/organization_ref_object_touch_test.rb
+++ b/test/unit/organization_ref_object_touch_test.rb
@@ -118,4 +118,4 @@ class OrganizationRefObjectTouchTest < ActiveSupport::TestCase
delete = ticket.destroy
assert( delete, 'ticket destroy' )
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/package_test.rb b/test/unit/package_test.rb
index 75d263a35..c26419984 100644
--- a/test/unit/package_test.rb
+++ b/test/unit/package_test.rb
@@ -293,4 +293,4 @@ X3RhYmxlIDpzYW1wbGVfdGFibGVzDQogIGVuZA0KZW5k
}
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/recent_view_test.rb b/test/unit/recent_view_test.rb
index 9e4879865..4bdaebdeb 100644
--- a/test/unit/recent_view_test.rb
+++ b/test/unit/recent_view_test.rb
@@ -185,4 +185,4 @@ class RecentViewTest < ActiveSupport::TestCase
assert( !list[1], 'check if recent view list is empty' )
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/rest_test.rb b/test/unit/rest_test.rb
index 31f4cb1ea..1e2844ad4 100644
--- a/test/unit/rest_test.rb
+++ b/test/unit/rest_test.rb
@@ -244,4 +244,3 @@ class RestTest < ActiveSupport::TestCase
return { data: response.data, response: response }
end
end
-
diff --git a/test/unit/session_basic_test.rb b/test/unit/session_basic_test.rb
index 2fc126158..552a4f723 100644
--- a/test/unit/session_basic_test.rb
+++ b/test/unit/session_basic_test.rb
@@ -276,4 +276,4 @@ class SessionBasicTest < ActiveSupport::TestCase
assert( result1, 'check ticket_create - recall 3' )
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/session_basic_ticket_test.rb b/test/unit/session_basic_ticket_test.rb
index c015429ef..1acbd3a33 100644
--- a/test/unit/session_basic_ticket_test.rb
+++ b/test/unit/session_basic_ticket_test.rb
@@ -94,4 +94,4 @@ class SessionBasicTicketTest < ActiveSupport::TestCase
result1 = client1.push
assert( result1, 'check ticket_overview_list - recall 3' )
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/session_collections_test.rb b/test/unit/session_collections_test.rb
index 05762ce83..9db5a2976 100644
--- a/test/unit/session_collections_test.rb
+++ b/test/unit/session_collections_test.rb
@@ -158,4 +158,4 @@ class SessionCollectionsTest < ActiveSupport::TestCase
nil
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/session_enhanced_test.rb b/test/unit/session_enhanced_test.rb
index 5a350444b..f5b29c03f 100644
--- a/test/unit/session_enhanced_test.rb
+++ b/test/unit/session_enhanced_test.rb
@@ -312,4 +312,4 @@ class SessionEnhancedTest < ActiveSupport::TestCase
assert_equal( collections_orig[key], collections_result[key], "collection message for #{key} #{type}-check (client_id #{client_id})" )
}
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/store_test.rb b/test/unit/store_test.rb
index b49a843ed..52cb5ad0c 100644
--- a/test/unit/store_test.rb
+++ b/test/unit/store_test.rb
@@ -125,4 +125,3 @@ class StoreTest < ActiveSupport::TestCase
}
end
end
-
diff --git a/test/unit/ticket_customer_organization_update_test.rb b/test/unit/ticket_customer_organization_update_test.rb
index 629507e09..7e1c82d1b 100644
--- a/test/unit/ticket_customer_organization_update_test.rb
+++ b/test/unit/ticket_customer_organization_update_test.rb
@@ -74,4 +74,4 @@ class TicketCustomerOrganizationUpdateTest < ActiveSupport::TestCase
ticket.destroy
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/ticket_notification_test.rb b/test/unit/ticket_notification_test.rb
index a8264ad4d..455f29e10 100644
--- a/test/unit/ticket_notification_test.rb
+++ b/test/unit/ticket_notification_test.rb
@@ -551,4 +551,4 @@ class TicketNotificationTest < ActiveSupport::TestCase
}
count
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/ticket_ref_object_touch_test.rb b/test/unit/ticket_ref_object_touch_test.rb
index c8122fe47..1da9ec3c8 100644
--- a/test/unit/ticket_ref_object_touch_test.rb
+++ b/test/unit/ticket_ref_object_touch_test.rb
@@ -158,4 +158,4 @@ class TicketRefObjectTouchTest < ActiveSupport::TestCase
end
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/ticket_sla_test.rb b/test/unit/ticket_sla_test.rb
index e7688a987..4c6408d61 100644
--- a/test/unit/ticket_sla_test.rb
+++ b/test/unit/ticket_sla_test.rb
@@ -848,4 +848,4 @@ class TicketSlaTest < ActiveSupport::TestCase
assert( delete, 'ticket destroy' )
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/ticket_test.rb b/test/unit/ticket_test.rb
index 640540027..fc1207284 100644
--- a/test/unit/ticket_test.rb
+++ b/test/unit/ticket_test.rb
@@ -165,4 +165,4 @@ class TicketTest < ActiveSupport::TestCase
assert_equal( Ticket.latest_change.to_s, ticket2.updated_at.to_s )
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/token_test.rb b/test/unit/token_test.rb
index 89c39a034..404b38ee5 100644
--- a/test/unit/token_test.rb
+++ b/test/unit/token_test.rb
@@ -106,4 +106,4 @@ class TokenTest < ActiveSupport::TestCase
end
}
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/translation_test.rb b/test/unit/translation_test.rb
index a33e9d324..d9a49ec08 100644
--- a/test/unit/translation_test.rb
+++ b/test/unit/translation_test.rb
@@ -31,4 +31,4 @@ class TranslationTest < ActiveSupport::TestCase
assert_equal( result, test[:result], 'verify result' )
}
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/user_ref_object_touch_test.rb b/test/unit/user_ref_object_touch_test.rb
index fbcbc402a..1d61935ea 100644
--- a/test/unit/user_ref_object_touch_test.rb
+++ b/test/unit/user_ref_object_touch_test.rb
@@ -113,4 +113,4 @@ class UserRefObjectTouchTest < ActiveSupport::TestCase
assert( delete, 'ticket destroy' )
end
-end
\ No newline at end of file
+end
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index a194dc27c..0992d91e9 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -288,4 +288,3 @@ class UserTest < ActiveSupport::TestCase
}
end
end
-