BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
a7a7e2d8
Commit
a7a7e2d8
authored
Sep 15, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Rubocop offenses in YAML processor classes
parent
10a486b3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
yaml_processor.rb
lib/gitlab/ci/yaml_processor.rb
+0
-1
yaml_processor_spec.rb
spec/lib/gitlab/ci/yaml_processor_spec.rb
+1
-1
No files found.
lib/gitlab/ci/yaml_processor.rb
View file @
a7a7e2d8
...
@@ -21,7 +21,6 @@ module Gitlab
...
@@ -21,7 +21,6 @@ module Gitlab
raise
ValidationError
,
e
.
message
raise
ValidationError
,
e
.
message
end
end
def
builds
def
builds
@jobs
.
map
do
|
name
,
_
|
@jobs
.
map
do
|
name
,
_
|
build_attributes
(
name
)
build_attributes
(
name
)
...
...
spec/lib/gitlab/ci/yaml_processor_spec.rb
View file @
a7a7e2d8
...
@@ -1694,7 +1694,7 @@ EOT
...
@@ -1694,7 +1694,7 @@ EOT
end
end
def
pipeline
(
**
attributes
)
def
pipeline
(
**
attributes
)
build_stubbed
(
:ci_empty_pipeline
,
**
attributes
)
build_stubbed
(
:ci_empty_pipeline
,
**
attributes
)
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