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
2d0839e5
Commit
2d0839e5
authored
Sep 20, 2018
by
Semyon Pupkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix UnneededRequireStatement cop
parent
b1a4c123
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
14 deletions
+0
-14
.rubocop_todo.yml
.rubocop_todo.yml
+0
-8
db/post_migrate/20161221153951_rename_reserved_project_names.rb
...t_migrate/20161221153951_rename_reserved_project_names.rb
+0
-2
db/post_migrate/20170313133418_rename_more_reserved_project_names.rb
...rate/20170313133418_rename_more_reserved_project_names.rb
+0
-2
lib/declarative_policy.rb
lib/declarative_policy.rb
+0
-2
No files found.
.rubocop_todo.yml
View file @
2d0839e5
...
@@ -91,14 +91,6 @@ Lint/ReturnInVoidContext:
...
@@ -91,14 +91,6 @@ Lint/ReturnInVoidContext:
Exclude
:
Exclude
:
-
'
app/models/project.rb'
-
'
app/models/project.rb'
# Offense count: 3
# Cop supports --auto-correct.
Lint/UnneededRequireStatement
:
Exclude
:
-
'
db/post_migrate/20161221153951_rename_reserved_project_names.rb'
-
'
db/post_migrate/20170313133418_rename_more_reserved_project_names.rb'
-
'
lib/declarative_policy.rb'
# Offense count: 9
# Offense count: 9
Lint/UriEscapeUnescape
:
Lint/UriEscapeUnescape
:
Exclude
:
Exclude
:
...
...
db/post_migrate/20161221153951_rename_reserved_project_names.rb
View file @
2d0839e5
require
'thread'
class
RenameReservedProjectNames
<
ActiveRecord
::
Migration
class
RenameReservedProjectNames
<
ActiveRecord
::
Migration
include
Gitlab
::
Database
::
MigrationHelpers
include
Gitlab
::
Database
::
MigrationHelpers
include
Gitlab
::
ShellAdapter
include
Gitlab
::
ShellAdapter
...
...
db/post_migrate/20170313133418_rename_more_reserved_project_names.rb
View file @
2d0839e5
require
'thread'
class
RenameMoreReservedProjectNames
<
ActiveRecord
::
Migration
class
RenameMoreReservedProjectNames
<
ActiveRecord
::
Migration
include
Gitlab
::
Database
::
MigrationHelpers
include
Gitlab
::
Database
::
MigrationHelpers
include
Gitlab
::
ShellAdapter
include
Gitlab
::
ShellAdapter
...
...
lib/declarative_policy.rb
View file @
2d0839e5
...
@@ -10,8 +10,6 @@ require_dependency 'declarative_policy/step'
...
@@ -10,8 +10,6 @@ require_dependency 'declarative_policy/step'
require_dependency
'declarative_policy/base'
require_dependency
'declarative_policy/base'
require
'thread'
module
DeclarativePolicy
module
DeclarativePolicy
CLASS_CACHE_MUTEX
=
Mutex
.
new
CLASS_CACHE_MUTEX
=
Mutex
.
new
CLASS_CACHE_IVAR
=
:@__DeclarativePolicy_CLASS_CACHE
CLASS_CACHE_IVAR
=
:@__DeclarativePolicy_CLASS_CACHE
...
...
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