Moved back to compact module/class declaration.
This commit is contained in:
parent
19d2b9750c
commit
70f3bb5dd4
5 changed files with 170 additions and 179 deletions
|
@ -1,7 +1,6 @@
|
||||||
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
||||||
|
# rubocop:disable ClassAndModuleChildren
|
||||||
class ApplicationModel
|
module ApplicationModel::ActivityStreamBase
|
||||||
module ActivityStreamBase
|
|
||||||
|
|
||||||
=begin
|
=begin
|
||||||
|
|
||||||
|
@ -43,4 +42,3 @@ returns
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
||||||
|
# rubocop:disable ClassAndModuleChildren
|
||||||
class ApplicationModel
|
module ApplicationModel::Assets
|
||||||
module Assets
|
|
||||||
|
|
||||||
=begin
|
=begin
|
||||||
|
|
||||||
|
@ -41,4 +40,3 @@ returns
|
||||||
data
|
data
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# perform background job
|
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
||||||
class ApplicationModel
|
# rubocop:disable ClassAndModuleChildren
|
||||||
class BackgroundJobSearchIndex
|
class ApplicationModel::BackgroundJobSearchIndex
|
||||||
def initialize(object, o_id)
|
def initialize(object, o_id)
|
||||||
@object = object
|
@object = object
|
||||||
@o_id = o_id
|
@o_id = o_id
|
||||||
|
@ -10,4 +10,3 @@ class ApplicationModel
|
||||||
Object.const_get(@object).find(@o_id).search_index_update_backend
|
Object.const_get(@object).find(@o_id).search_index_update_backend
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
||||||
|
# rubocop:disable ClassAndModuleChildren
|
||||||
class ApplicationModel
|
module ApplicationModel::HistoryLogBase
|
||||||
module HistoryLogBase
|
|
||||||
|
|
||||||
=begin
|
=begin
|
||||||
|
|
||||||
|
@ -98,4 +97,3 @@ returns
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
# Copyright (C) 2012-2014 Zammad Foundation, http://zammad-foundation.org/
|
||||||
|
# rubocop:disable ClassAndModuleChildren
|
||||||
class ApplicationModel
|
module ApplicationModel::SearchIndexBase
|
||||||
module SearchIndexBase
|
|
||||||
|
|
||||||
=begin
|
=begin
|
||||||
|
|
||||||
|
@ -143,4 +142,3 @@ returns
|
||||||
attributes_new.merge(attributes)
|
attributes_new.merge(attributes)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
Loading…
Reference in a new issue