summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-08-04 21:22:25 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-08-05 12:16:24 +0200
commit6d8482b11b38135cf2a72a3ac923dbc102c3e950 (patch)
tree570c6a76a53de3cfd87d8b076e9d70fe742bad87 /app/models
parent9cce83b1290826ad19acffb6e095a0e8b963c05f (diff)
downloadgitlab-ci-6d8482b11b38135cf2a72a3ac923dbc102c3e950.tar.gz
Satisfy rubocop
Diffstat (limited to 'app/models')
-rw-r--r--app/models/build.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/build.rb b/app/models/build.rb
index 133de8e..4f6bf32 100644
--- a/app/models/build.rb
+++ b/app/models/build.rb
@@ -251,7 +251,7 @@ class Build < ActiveRecord::Base
def yaml_variables
if commit.config_processor
commit.config_processor.variables.map do |key, value|
- {key: key, value: value, public: true}
+ { key: key, value: value, public: true }
end
else
[]
@@ -260,7 +260,7 @@ class Build < ActiveRecord::Base
def project_variables
project.variables.map do |variable|
- {key: variable.key, value: variable.value, public: false}
+ { key: variable.key, value: variable.value, public: false }
end
end
end