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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
67cdb1d1
Commit
67cdb1d1
authored
Sep 20, 2018
by
Semyon Pupkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SpaceInsidePercentLiteralDelimiters cop
parent
6c090789
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
.rubocop_todo.yml
.rubocop_todo.yml
+0
-8
lib/gitlab/git_access.rb
lib/gitlab/git_access.rb
+2
-2
No files found.
.rubocop_todo.yml
View file @
67cdb1d1
...
...
@@ -73,14 +73,6 @@ Layout/SpaceInsideBlockBraces:
Layout/SpaceInsideParens
:
Enabled
:
false
# Offense count: 14
# Cop supports --auto-correct.
Layout/SpaceInsidePercentLiteralDelimiters
:
Exclude
:
-
'
lib/gitlab/git_access.rb'
-
'
lib/gitlab/health_checks/fs_shards_check.rb'
-
'
spec/lib/gitlab/health_checks/fs_shards_check_spec.rb'
# Offense count: 26
Lint/DuplicateMethods
:
Exclude
:
...
...
lib/gitlab/git_access.rb
View file @
67cdb1d1
...
...
@@ -24,8 +24,8 @@ module Gitlab
cannot_push_to_read_only:
"You can't push code to a read-only GitLab instance."
}.
freeze
DOWNLOAD_COMMANDS
=
%w{
git-upload-pack git-upload-archive
}
.
freeze
PUSH_COMMANDS
=
%w{
git-receive-pack
}
.
freeze
DOWNLOAD_COMMANDS
=
%w{
git-upload-pack git-upload-archive
}
.
freeze
PUSH_COMMANDS
=
%w{
git-receive-pack
}
.
freeze
ALL_COMMANDS
=
DOWNLOAD_COMMANDS
+
PUSH_COMMANDS
attr_reader
:actor
,
:project
,
:protocol
,
:authentication_abilities
,
:namespace_path
,
:project_path
,
:redirected_path
,
:auth_result_type
,
:changes
...
...
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