Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
792da3ca
Commit
792da3ca
authored
Aug 08, 2016
by
Ruben Davila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes for new Rubocop complains.
parent
df601666
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
6 deletions
+3
-6
app/services/geo/notify_nodes_service.rb
app/services/geo/notify_nodes_service.rb
+0
-1
app/services/oauth2/logout_token_validation_service.rb
app/services/oauth2/logout_token_validation_service.rb
+1
-1
app/services/projects/update_remote_mirror_service.rb
app/services/projects/update_remote_mirror_service.rb
+0
-1
app/workers/concerns/geo_dynamic_backoff.rb
app/workers/concerns/geo_dynamic_backoff.rb
+0
-1
lib/ee/gitlab/ldap/group.rb
lib/ee/gitlab/ldap/group.rb
+1
-1
lib/gitlab/ldap/access.rb
lib/gitlab/ldap/access.rb
+1
-1
No files found.
app/services/geo/notify_nodes_service.rb
View file @
792da3ca
module
Geo
class
NotifyNodesService
<
BaseNotify
def
initialize
@wiki_queue
=
Gitlab
::
Geo
::
UpdateQueue
.
new
(
'updated_wikis'
)
end
...
...
app/services/oauth2/logout_token_validation_service.rb
View file @
792da3ca
...
...
@@ -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
...
...
app/services/projects/update_remote_mirror_service.rb
View file @
792da3ca
...
...
@@ -123,6 +123,5 @@ module Projects
tags
<<
name
if
local_tags
[
name
].
nil?
end
end
end
end
app/workers/concerns/geo_dynamic_backoff.rb
View file @
792da3ca
...
...
@@ -22,5 +22,4 @@ module GeoDynamicBackoff
count
=
count
-
30
# we must start counting after 30
(
count
**
4
)
+
15
+
(
rand
(
30
)
*
(
count
+
1
))
end
end
lib/ee/gitlab/ldap/group.rb
View file @
792da3ca
...
...
@@ -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
...
...
lib/gitlab/ldap/access.rb
View file @
792da3ca
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment