Commit 792da3ca authored by Ruben Davila's avatar Ruben Davila

Fixes for new Rubocop complains.

parent df601666
module Geo
class NotifyNodesService < BaseNotify
def initialize
@wiki_queue = Gitlab::Geo::UpdateQueue.new('updated_wikis')
end
......
......@@ -2,7 +2,7 @@ module Oauth2
class LogoutTokenValidationService < ::BaseService
attr_reader :status
def initialize(user, params={})
def initialize(user, params = {})
@params = params
@current_user = user
end
......
......@@ -123,6 +123,5 @@ module Projects
tags << name if local_tags[name].nil?
end
end
end
end
......@@ -22,5 +22,4 @@ module GeoDynamicBackoff
count = count - 30 # we must start counting after 30
(count**4) + 15 + (rand(30) * (count + 1))
end
end
......@@ -9,7 +9,7 @@ module EE
adapter.group(cn)
end
def initialize(entry, adapter=nil)
def initialize(entry, adapter = nil)
Rails.logger.debug { "Instantiating #{self.class.name} with LDIF:\n#{entry.to_ldif}" }
@entry = entry
@adapter = adapter
......
......@@ -14,7 +14,7 @@ module Gitlab
end
end
def self.allowed?(user, options={})
def self.allowed?(user, options = {})
self.open(user) do |access|
# Whether user is allowed, or not, we should update
# permissions to keep things clean
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment