BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
e052daa0
Commit
e052daa0
authored
Jun 03, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable Style/EmptyLinesAroundAccessModifier rubocop cop
See #17478
parent
ae5f17ae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
.rubocop.yml
.rubocop.yml
+1
-1
access_token_validation_service.rb
app/services/oauth2/access_token_validation_service.rb
+1
-0
config.rb
lib/gitlab/ldap/config.rb
+1
-0
No files found.
.rubocop.yml
View file @
e052daa0
...
...
@@ -194,7 +194,7 @@ Style/EmptyLines:
# Keep blank lines around access modifiers.
Style/EmptyLinesAroundAccessModifier
:
Enabled
:
fals
e
Enabled
:
tru
e
# Keeps track of empty lines around block bodies.
Style/EmptyLinesAroundBlockBody
:
...
...
app/services/oauth2/access_token_validation_service.rb
View file @
e052daa0
...
...
@@ -22,6 +22,7 @@ module Oauth2::AccessTokenValidationService
end
protected
# True if the token's scope is a superset of required scopes,
# or the required scopes is empty.
def
sufficient_scope?
(
token
,
scopes
)
...
...
lib/gitlab/ldap/config.rb
View file @
e052daa0
...
...
@@ -93,6 +93,7 @@ module Gitlab
end
protected
def
base_config
Gitlab
.
config
.
ldap
end
...
...
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