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
bdc48836
Commit
bdc48836
authored
Mar 16, 2018
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts
parent
f295d4d7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
10 deletions
+0
-10
doc/ci/examples/code_climate.md
doc/ci/examples/code_climate.md
+0
-4
lib/gitlab/database.rb
lib/gitlab/database.rb
+0
-3
spec/lib/gitlab/database_spec.rb
spec/lib/gitlab/database_spec.rb
+0
-3
No files found.
doc/ci/examples/code_climate.md
View file @
bdc48836
...
...
@@ -35,11 +35,7 @@ Starting with [GitLab Starter][ee] 9.3, this information will
be automatically extracted and shown right in the merge request widget. To do
so, the CI/CD job must be named
`codequality`
and the artifact path must be
`codeclimate.json`
.
<<<<<<< HEAD
[Learn more on code quality diffs in merge requests](../../user/project/merge_requests/code_quality_diff.md).
=======
[
Learn more on code quality diffs in merge requests
](
https://docs.gitlab.com/ee/user/project/merge_requests/code_quality_diff.html
)
.
>>>>>>> upstream/master
[
cli
]:
https://github.com/codeclimate/codeclimate
[
dind
]:
../docker/using_docker_build.md#use-docker-in-docker-executor
...
...
lib/gitlab/database.rb
View file @
bdc48836
...
...
@@ -203,14 +203,11 @@ module Gitlab
connection
.
schema_cache
.
columns_hash
(
table_name
).
has_key?
(
column_name
.
to_s
)
end
<<<<<<<
HEAD
=======
def
self
.
cached_table_exists?
(
table_name
)
# Rails 5 uses data_source_exists? instead of table_exists?
connection
.
schema_cache
.
table_exists?
(
table_name
)
end
>>>>>>>
upstream
/
master
private_class_method
:connection
def
self
.
database_version
...
...
spec/lib/gitlab/database_spec.rb
View file @
bdc48836
...
...
@@ -298,8 +298,6 @@ describe Gitlab::Database do
end
end
<<<<<<<
HEAD
=======
describe
'.cached_table_exists?'
do
it
'only retrieves data once per table'
do
expect
(
ActiveRecord
::
Base
.
connection
).
to
receive
(
:table_exists?
).
with
(
:projects
).
once
.
and_call_original
...
...
@@ -312,7 +310,6 @@ describe Gitlab::Database do
end
end
>>>>>>>
upstream
/
master
describe
'#true_value'
do
it
'returns correct value for PostgreSQL'
do
expect
(
described_class
).
to
receive
(
:postgresql?
).
and_return
(
true
)
...
...
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