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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
d0434437
Commit
d0434437
authored
Feb 02, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rubocop: no trailing newlines
parent
615bb941
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
6 additions
and
11 deletions
+6
-11
.rubocop.yml
.rubocop.yml
+3
-3
app/controllers/namespaces_controller.rb
app/controllers/namespaces_controller.rb
+0
-1
app/controllers/projects/raw_controller.rb
app/controllers/projects/raw_controller.rb
+0
-1
app/helpers/projects_helper.rb
app/helpers/projects_helper.rb
+0
-1
app/services/oauth2/access_token_validation_service.rb
app/services/oauth2/access_token_validation_service.rb
+1
-1
config/initializers/7_omniauth.rb
config/initializers/7_omniauth.rb
+1
-1
config/initializers/gitlab_shell_secret_token.rb
config/initializers/gitlab_shell_secret_token.rb
+1
-1
lib/gitlab/backend/shell_adapter.rb
lib/gitlab/backend/shell_adapter.rb
+0
-1
lib/gitlab/force_push_check.rb
lib/gitlab/force_push_check.rb
+0
-1
No files found.
.rubocop.yml
View file @
d0434437
...
@@ -657,7 +657,7 @@ Style/Tab:
...
@@ -657,7 +657,7 @@ Style/Tab:
Style/TrailingBlankLines
:
Style/TrailingBlankLines
:
Description
:
'
Checks
trailing
blank
lines
and
final
newline.'
Description
:
'
Checks
trailing
blank
lines
and
final
newline.'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#newline-eof'
StyleGuide
:
'
https://github.com/bbatsov/ruby-style-guide#newline-eof'
Enabled
:
fals
e
Enabled
:
tru
e
Style/TrailingComma
:
Style/TrailingComma
:
Description
:
'
Checks
for
trailing
comma
in
parameter
lists
and
literals.'
Description
:
'
Checks
for
trailing
comma
in
parameter
lists
and
literals.'
...
@@ -909,7 +909,7 @@ Lint/StringConversionInInterpolation:
...
@@ -909,7 +909,7 @@ Lint/StringConversionInInterpolation:
Lint/UnderscorePrefixedVariableName
:
Lint/UnderscorePrefixedVariableName
:
Description
:
'
Do
not
use
prefix
`_`
for
a
variable
that
is
used.'
Description
:
'
Do
not
use
prefix
`_`
for
a
variable
that
is
used.'
Enabled
:
fals
e
Enabled
:
tru
e
Lint/UnusedBlockArgument
:
Lint/UnusedBlockArgument
:
Description
:
'
Checks
for
unused
block
arguments.'
Description
:
'
Checks
for
unused
block
arguments.'
...
@@ -966,7 +966,7 @@ Rails/Delegate:
...
@@ -966,7 +966,7 @@ Rails/Delegate:
Rails/HasAndBelongsToMany
:
Rails/HasAndBelongsToMany
:
Description
:
'
Prefer
has_many
:through
to
has_and_belongs_to_many.'
Description
:
'
Prefer
has_many
:through
to
has_and_belongs_to_many.'
Enabled
:
fals
e
Enabled
:
tru
e
Rails/Output
:
Rails/Output
:
Description
:
'
Checks
for
calls
to
puts,
print,
etc.'
Description
:
'
Checks
for
calls
to
puts,
print,
etc.'
...
...
app/controllers/namespaces_controller.rb
View file @
d0434437
...
@@ -15,4 +15,3 @@ class NamespacesController < ApplicationController
...
@@ -15,4 +15,3 @@ class NamespacesController < ApplicationController
end
end
end
end
end
end
app/controllers/projects/raw_controller.rb
View file @
d0434437
...
@@ -35,4 +35,3 @@ class Projects::RawController < Projects::ApplicationController
...
@@ -35,4 +35,3 @@ class Projects::RawController < Projects::ApplicationController
end
end
end
end
end
end
app/helpers/projects_helper.rb
View file @
d0434437
...
@@ -254,4 +254,3 @@ module ProjectsHelper
...
@@ -254,4 +254,3 @@ module ProjectsHelper
enabled_oauth_providers
.
include?
(
:github
)
enabled_oauth_providers
.
include?
(
:github
)
end
end
end
end
app/services/oauth2/access_token_validation_service.rb
View file @
d0434437
...
@@ -38,4 +38,4 @@ module Oauth2::AccessTokenValidationService
...
@@ -38,4 +38,4 @@ module Oauth2::AccessTokenValidationService
end
end
end
end
end
end
end
end
\ No newline at end of file
config/initializers/7_omniauth.rb
View file @
d0434437
...
@@ -9,4 +9,4 @@ if Gitlab::LDAP::Config.enabled?
...
@@ -9,4 +9,4 @@ if Gitlab::LDAP::Config.enabled?
server
=
Gitlab
.
config
.
ldap
.
servers
.
values
.
first
server
=
Gitlab
.
config
.
ldap
.
servers
.
values
.
first
alias_method
server
[
'provider_name'
],
:ldap
alias_method
server
[
'provider_name'
],
:ldap
end
end
end
end
\ No newline at end of file
config/initializers/gitlab_shell_secret_token.rb
View file @
d0434437
...
@@ -16,4 +16,4 @@ end
...
@@ -16,4 +16,4 @@ end
if
File
.
exist?
(
Gitlab
.
config
.
gitlab_shell
.
path
)
&&
!
File
.
exist?
(
gitlab_shell_symlink
)
if
File
.
exist?
(
Gitlab
.
config
.
gitlab_shell
.
path
)
&&
!
File
.
exist?
(
gitlab_shell_symlink
)
FileUtils
.
symlink
(
secret_file
,
gitlab_shell_symlink
)
FileUtils
.
symlink
(
secret_file
,
gitlab_shell_symlink
)
end
end
\ No newline at end of file
lib/gitlab/backend/shell_adapter.rb
View file @
d0434437
...
@@ -9,4 +9,3 @@ module Gitlab
...
@@ -9,4 +9,3 @@ module Gitlab
end
end
end
end
end
end
lib/gitlab/force_push_check.rb
View file @
d0434437
...
@@ -12,4 +12,3 @@ module Gitlab
...
@@ -12,4 +12,3 @@ module Gitlab
end
end
end
end
end
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