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
eb8e562c
Commit
eb8e562c
authored
Oct 26, 2021
by
yhgupta
Committed by
Peter Leitzen
Oct 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed remaining cop offenses for Naming/FileName
parent
7d567806
Changes
41
Hide whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
123 additions
and
3 deletions
+123
-3
.rubocop.yml
.rubocop.yml
+18
-0
app/views/issues/_issues_calendar.ics.ruby
app/views/issues/_issues_calendar.ics.ruby
+3
-0
bin/pngquant
bin/pngquant
+1
-1
ee/app/models/dast/branch.rb
ee/app/models/dast/branch.rb
+3
-0
ee/lib/elastic/v12p1/application_class_proxy.rb
ee/lib/elastic/v12p1/application_class_proxy.rb
+3
-0
ee/lib/elastic/v12p1/application_instance_proxy.rb
ee/lib/elastic/v12p1/application_instance_proxy.rb
+3
-0
ee/lib/elastic/v12p1/config.rb
ee/lib/elastic/v12p1/config.rb
+3
-0
ee/lib/elastic/v12p1/issue_class_proxy.rb
ee/lib/elastic/v12p1/issue_class_proxy.rb
+3
-0
ee/lib/elastic/v12p1/issue_instance_proxy.rb
ee/lib/elastic/v12p1/issue_instance_proxy.rb
+3
-0
ee/lib/elastic/v12p1/merge_request_class_proxy.rb
ee/lib/elastic/v12p1/merge_request_class_proxy.rb
+3
-0
ee/lib/elastic/v12p1/merge_request_instance_proxy.rb
ee/lib/elastic/v12p1/merge_request_instance_proxy.rb
+3
-0
ee/lib/elastic/v12p1/milestone_class_proxy.rb
ee/lib/elastic/v12p1/milestone_class_proxy.rb
+3
-0
ee/lib/elastic/v12p1/milestone_instance_proxy.rb
ee/lib/elastic/v12p1/milestone_instance_proxy.rb
+3
-0
ee/lib/elastic/v12p1/note_class_proxy.rb
ee/lib/elastic/v12p1/note_class_proxy.rb
+3
-0
ee/lib/elastic/v12p1/note_instance_proxy.rb
ee/lib/elastic/v12p1/note_instance_proxy.rb
+3
-0
ee/lib/elastic/v12p1/project_class_proxy.rb
ee/lib/elastic/v12p1/project_class_proxy.rb
+3
-0
ee/lib/elastic/v12p1/project_instance_proxy.rb
ee/lib/elastic/v12p1/project_instance_proxy.rb
+3
-0
ee/lib/elastic/v12p1/project_wiki_class_proxy.rb
ee/lib/elastic/v12p1/project_wiki_class_proxy.rb
+3
-0
ee/lib/elastic/v12p1/project_wiki_instance_proxy.rb
ee/lib/elastic/v12p1/project_wiki_instance_proxy.rb
+3
-0
ee/lib/elastic/v12p1/repository_class_proxy.rb
ee/lib/elastic/v12p1/repository_class_proxy.rb
+3
-0
ee/lib/elastic/v12p1/repository_instance_proxy.rb
ee/lib/elastic/v12p1/repository_instance_proxy.rb
+3
-0
ee/lib/elastic/v12p1/routing.rb
ee/lib/elastic/v12p1/routing.rb
+3
-0
ee/lib/elastic/v12p1/snippet_class_proxy.rb
ee/lib/elastic/v12p1/snippet_class_proxy.rb
+3
-0
ee/lib/elastic/v12p1/snippet_instance_proxy.rb
ee/lib/elastic/v12p1/snippet_instance_proxy.rb
+3
-0
ee/lib/gitlab/elastic/bool_expr.rb
ee/lib/gitlab/elastic/bool_expr.rb
+3
-0
ee/lib/gitlab/status_page/storage/object.rb
ee/lib/gitlab/status_page/storage/object.rb
+3
-0
lib/gitlab/ci/pipeline/chain/command.rb
lib/gitlab/ci/pipeline/chain/command.rb
+3
-0
lib/gitlab/database/migrations/observation.rb
lib/gitlab/database/migrations/observation.rb
+3
-0
lib/gitlab/health_checks/metric.rb
lib/gitlab/health_checks/metric.rb
+3
-0
lib/gitlab/health_checks/probes/status.rb
lib/gitlab/health_checks/probes/status.rb
+3
-0
lib/gitlab/health_checks/result.rb
lib/gitlab/health_checks/result.rb
+3
-0
lib/gitlab/middleware/release_env.rb
lib/gitlab/middleware/release_env.rb
+3
-0
lib/gitlab/redis/hll.rb
lib/gitlab/redis/hll.rb
+3
-0
lib/gitlab/slash_commands/result.rb
lib/gitlab/slash_commands/result.rb
+3
-0
lib/gitlab/template_parser/ast.rb
lib/gitlab/template_parser/ast.rb
+3
-0
rubocop/cop/gitlab/change_timezone.rb
rubocop/cop/gitlab/change_timezone.rb
+0
-0
rubocop/cop/gitlab/keys_first_and_values_first.rb
rubocop/cop/gitlab/keys_first_and_values_first.rb
+0
-0
rubocop/rubocop.rb
rubocop/rubocop.rb
+3
-0
scripts/docs_screenshots.rb
scripts/docs_screenshots.rb
+1
-1
spec/rubocop/cop/gitlab/change_timezone_spec.rb
spec/rubocop/cop/gitlab/change_timezone_spec.rb
+1
-1
tooling/lib/tooling/image.rb
tooling/lib/tooling/image.rb
+0
-0
No files found.
.rubocop.yml
View file @
eb8e562c
...
...
@@ -130,6 +130,7 @@ Naming/FileName:
-
'
qa/spec/**/*'
-
'
qa/qa/specs/**/*'
-
'
qa/tasks/**/*.rake'
-
'
**/*.ru'
IgnoreExecutableScripts
:
true
AllowedAcronyms
:
...
...
@@ -151,6 +152,23 @@ Naming/FileName:
-
CI
-
CD
-
OAuth
-
CSP
-
CSV
-
SCA
-
SAN
-
CIDR
-
SPDX
-
MR
-
SSE
-
JWT
-
HLL
-
VSCode
-
GPG
-
OTP
-
GID
-
AR
-
RSpec
-
Javascript
# default ones:
-
CLI
-
DSL
...
...
app/views/issues/_issues_calendar.ics.ruby
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
cal
=
Icalendar
::
Calendar
.
new
...
...
@@ -17,3 +18,5 @@ end
# rubocop: enable CodeReuse/ActiveRecord
cal
.
to_ical
# rubocop:enable Naming/FileName
bin/pngquant
View file @
eb8e562c
...
...
@@ -5,7 +5,7 @@ require 'rails'
require
'png_quantizator'
require
'parallel'
require
'rainbow/ext/string'
require_relative
'../tooling/lib/tooling/image
s
'
require_relative
'../tooling/lib/tooling/image'
return
if
Rails
.
env
.
production?
...
...
ee/app/models/dast/branch.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Dast
...
...
@@ -13,3 +14,5 @@ module Dast
end
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/application_class_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
ApplicationClassProxy
=
Elastic
::
Latest
::
ApplicationClassProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/application_instance_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
ApplicationInstanceProxy
=
Elastic
::
Latest
::
ApplicationInstanceProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/config.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -6,3 +7,5 @@ module Elastic
IssueConfig
=
Elastic
::
Latest
::
IssueConfig
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/issue_class_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
IssueClassProxy
=
Elastic
::
Latest
::
IssueClassProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/issue_instance_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
IssueInstanceProxy
=
Elastic
::
Latest
::
IssueInstanceProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/merge_request_class_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
MergeRequestClassProxy
=
Elastic
::
Latest
::
MergeRequestClassProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/merge_request_instance_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
MergeRequestInstanceProxy
=
Elastic
::
Latest
::
MergeRequestInstanceProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/milestone_class_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
MilestoneClassProxy
=
Elastic
::
Latest
::
MilestoneClassProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/milestone_instance_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
MilestoneInstanceProxy
=
Elastic
::
Latest
::
MilestoneInstanceProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/note_class_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
NoteClassProxy
=
Elastic
::
Latest
::
NoteClassProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/note_instance_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
NoteInstanceProxy
=
Elastic
::
Latest
::
NoteInstanceProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/project_class_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
ProjectClassProxy
=
Elastic
::
Latest
::
ProjectClassProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/project_instance_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
ProjectInstanceProxy
=
Elastic
::
Latest
::
ProjectInstanceProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/project_wiki_class_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
ProjectWikiClassProxy
=
Elastic
::
Latest
::
ProjectWikiClassProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/project_wiki_instance_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
ProjectWikiInstanceProxy
=
Elastic
::
Latest
::
ProjectWikiInstanceProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/repository_class_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
RepositoryClassProxy
=
Elastic
::
Latest
::
RepositoryClassProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/repository_instance_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
RepositoryInstanceProxy
=
Elastic
::
Latest
::
RepositoryInstanceProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/routing.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
Routing
=
Elastic
::
Latest
::
Routing
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/snippet_class_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
SnippetClassProxy
=
Elastic
::
Latest
::
SnippetClassProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/elastic/v12p1/snippet_instance_proxy.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Elastic
...
...
@@ -5,3 +6,5 @@ module Elastic
SnippetInstanceProxy
=
Elastic
::
Latest
::
SnippetInstanceProxy
end
end
# rubocop:enable Naming/FileName
ee/lib/gitlab/elastic/bool_expr.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Gitlab
...
...
@@ -25,3 +26,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
ee/lib/gitlab/status_page/storage/object.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Gitlab
...
...
@@ -8,3 +9,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
lib/gitlab/ci/pipeline/chain/command.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Gitlab
...
...
@@ -144,3 +145,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
lib/gitlab/database/migrations/observation.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Gitlab
...
...
@@ -14,3 +15,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
lib/gitlab/health_checks/metric.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Gitlab
...
...
@@ -5,3 +6,5 @@ module Gitlab
Metric
=
Struct
.
new
(
:name
,
:value
,
:labels
)
end
end
# rubocop:enable Naming/FileName
lib/gitlab/health_checks/probes/status.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Gitlab
...
...
@@ -12,3 +13,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
lib/gitlab/health_checks/result.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Gitlab
...
...
@@ -13,3 +14,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
lib/gitlab/middleware/release_env.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Gitlab
...
...
@@ -14,3 +15,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
lib/gitlab/redis/hll.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Gitlab
...
...
@@ -51,3 +52,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
lib/gitlab/slash_commands/result.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Gitlab
...
...
@@ -5,3 +6,5 @@ module Gitlab
Result
=
Struct
.
new
(
:type
,
:message
)
end
end
# rubocop:enable Naming/FileName
lib/gitlab/template_parser/ast.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
module
Gitlab
...
...
@@ -155,3 +156,5 @@ module Gitlab
end
end
end
# rubocop:enable Naming/FileName
rubocop/cop/gitlab/change_timzone.rb
→
rubocop/cop/gitlab/change_tim
e
zone.rb
View file @
eb8e562c
File moved
rubocop/cop/gitlab/keys
-first-and-values-
first.rb
→
rubocop/cop/gitlab/keys
_first_and_values_
first.rb
View file @
eb8e562c
File moved
rubocop/rubocop.rb
View file @
eb8e562c
# rubocop:disable Naming/FileName
# frozen_string_literal: true
# Auto-require all cops under `rubocop/cop/**/*.rb`
Dir
[
File
.
join
(
__dir__
,
'cop'
,
'**'
,
'*.rb'
)].
sort
.
each
(
&
method
(
:require
))
# rubocop:enable Naming/FileName
scripts/docs_screenshots.rb
View file @
eb8e562c
...
...
@@ -5,7 +5,7 @@
require
'png_quantizator'
require
'open3'
require
'parallel'
require_relative
'../tooling/lib/tooling/image
s
'
require_relative
'../tooling/lib/tooling/image'
generator
=
ARGV
[
0
]
milestone
=
ARGV
[
1
]
...
...
spec/rubocop/cop/gitlab/change_timezone_spec.rb
View file @
eb8e562c
# frozen_string_literal: true
require
'fast_spec_helper'
require_relative
'../../../../rubocop/cop/gitlab/change_timzone'
require_relative
'../../../../rubocop/cop/gitlab/change_tim
e
zone'
RSpec
.
describe
RuboCop
::
Cop
::
Gitlab
::
ChangeTimezone
do
subject
(
:cop
)
{
described_class
.
new
}
...
...
tooling/lib/tooling/image
s
.rb
→
tooling/lib/tooling/image.rb
View file @
eb8e562c
File moved
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