summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTino Wehe <tino.wehe@brandrockers.com>2015-04-01 17:28:52 +0200
committerTino Wehe <tino.wehe@brandrockers.com>2015-04-01 17:28:52 +0200
commit8fd382d1d17fddc5c7aa3924552fab5af849db7d (patch)
tree7ac7e64341269e9abed1b97ff1238eb71c1726c6
parent6b4148c8ca04ff3332be6452b8d6cfc6870bc780 (diff)
downloadgitlab-ci-8fd382d1d17fddc5c7aa3924552fab5af849db7d.tar.gz
fixed camelCase style
-rw-r--r--app/models/job.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/job.rb b/app/models/job.rb
index 756f1eb..005a778 100644
--- a/app/models/job.rb
+++ b/app/models/job.rb
@@ -34,8 +34,8 @@ class Job < ActiveRecord::Base
def run_for_ref?(ref)
if !refs.blank?
- refs.split(",").map(&:strip).each do |refsVal|
- return true if File.fnmatch(refsVal, ref)
+ refs.split(",").map(&:strip).each do |refs_val|
+ return true if File.fnmatch(refs_val, ref)
end
false